fastapi-cache
FastAPI-boilerplate
fastapi-cache | FastAPI-boilerplate | |
---|---|---|
1 | 2 | |
1,137 | 357 | |
- | - | |
8.3 | 9.1 | |
about 2 months ago | 22 days ago | |
Python | Python | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fastapi-cache
-
Caching Api route response in redis/in-memory/memcache other methods to reduce db/external api calls?
Recently I had been working with a stock/derivatve market indicator platform for a client. It requires us to fetch data from timescaledb and then perform computation on it and display results. Now db call is expensive since ton of data and computation is also expensive. So waht we did was used Sveltekit woth sveltequery configured with auto refetch in frontend and used fastapi for creating apis which return the data pre computed. We used a https://github.com/long2ice/fastapi-cache library with it to make sure that computation happens only once and all the clients get cached response. I wonder if there is any library like this one which is easy to plug directly in sveltekit API route. So that we can move completely to sveltekit rather than maintaining seperate servers. (We would be using Danfo.js as replacement to pandas for computations)
FastAPI-boilerplate
-
πFastAPI boilerplate (starter project)
Yet another FastAPI Boilerplate (starter project) to help you productizing Machine Learning or just creating an API π https://github.com/igorbenav/FastAPI-boilerplate
Yet another FastAPI Boilerplate (starter project) to help you productizing Machine Learning or just creating an API π https://github.com/igorbenav/FastAPI-boilerplate
What are some alternatives?
aiocache - Asyncio cache manager for redis, memcached and memory
uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python with performance auto-tuning.
fastapi-mvc - Developer productivity tool for making high-quality FastAPI production-ready APIs.
fastapi-starter - A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress
fastapi-redis-cache - A simple and robust caching solution for FastAPI that interprets request header values and creates proper response header values (powered by Redis)
fastapi-boilerplate - FastAPI boilerplate for real world production
fastapi-microservice-template - A template for a FastAPI based Serverless Framework microservice running on AWS Lambda
fastapi-microservices - Fully Python async FastAPI project! π
FastAPI-Backend-Template - A backend project template with FastAPI, PostgreSQL with asynchronous SQLAlchemy 2.0, Alembic for asynchronous database migration, and Docker.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
diator - Diator is a Python library for implementing CQRS pattern in your Python applications.
fastapi-alembic-sqlmodel-async - This is a project template which uses FastAPI, Pydantic 2.0, Alembic and async SQLModel as ORM. It shows a complete async CRUD using authentication and role base access control.