awesome-fastapi
一个基于FastAPI的文档,包含数据库、网关等集成和项目分享,欢迎star或fork
https://github.com/yshan2028/awesome-fastapi
Last synced: 16 days ago
JSON representation
-
Resources
-
Tutorials
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Async SQLAlchemy with FastAPI - Learn how to use SQLAlchemy asynchronously.
- Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Implementing FastAPI Services – Abstraction and Separation of Concerns - FastAPI application and service structure for a more maintainable codebase.
- Real-time data streaming using FastAPI and WebSockets - Learn how to stream data from FastAPI directly into a real-time chart.
- Running FastAPI applications in production - Use Gunicorn with systemd for production deployments.
- Streaming video with FastAPI - Learn how to serve video streams.
-
Videos
- Building a Stock Screener with FastAPI - A you build a web-based stock screener with FastAPI, you'll be introduced to many of FastAPI's features, including Pydantic models, dependency injection, background tasks, and SQLAlchemy integration.
- Building Web APIs Using FastAPI - Use FastAPI to build a web application programming interface (RESTful API).
- FastAPI - A Web Framework for Python - See how to do numeric validations with FastAPI.
- FastAPI vs. Django vs. Flask - Which framework is best for Python in 2020? Which uses async/await the best? Which is the fastest?
- Serving Machine Learning Models As API with FastAPI - Build a machine learning API with FastAPI.
-
-
Sponsors
-
Open Source Projects
-
-
Third-Party Extensions
-
Admin
- FastAPI Admin - Functional admin panel that provides a user interface for performing CRUD operations on your data. Currently only works with the Tortoise ORM.
- Piccolo Admin - A powerful and modern admin GUI, using the Piccolo ORM.
- SQLAlchemy Admin - Admin Panel for FastAPI/Starlette that works with SQLAlchemy models.
-
Auth
- AuthX - Customizable Authentications and Oauth2 management for FastAPI.
- FastAPI Auth - Pluggable auth that supports the OAuth2 Password Flow with JWT access and refresh tokens.
- FastAPI Azure Auth - Azure AD authentication for your APIs with single and multi tenant support.
- FastAPI Cloud Auth - Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
- FastAPI Login - Account management and authentication (based on [Flask-Login](https://github.com/maxcountryman/flask-login)).
- FastAPI JWT Auth - JWT auth (based on [Flask-JWT-Extended](https://github.com/vimalloc/flask-jwt-extended)).
- FastAPI Permissions - Row-level permissions.
- FastAPI Security - Implements authentication and authorization as dependencies in FastAPI.
- FastAPI Simple Security - Out-of-the-box API key security manageable through path operations.
- FastAPI Users - Account management, authentication, authorization.
-
Databases
- FastAPI Example - Using FastAPI with ormar.
- FastAPI Example
- FastAPI Example - An example of the Tortoise-ORM FastAPI integration.
- Tutorial: Setting up Tortoise ORM with FastAPI
- SQLModel - SQLModel (which is powered by Pydantic and SQLAlchemy) is a library for interacting with SQL databases from Python code, with Python objects.
- MongoEngine - A Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.
- CamelCase Models with FastAPI and Pydantic - Accompanying blog post from the author of the extension.
- FastAPI SQLAlchemy - Simple integration between FastAPI and [SQLAlchemy](https://www.sqlalchemy.org/).
- Fastapi-SQLA - SQLAlchemy extension for FastAPI with support for pagination, asyncio, and pytest.
- FastAPIwee - A simple way to create REST API based on [PeeWee](https://github.com/coleifer/peewee) models.
- GINO - A lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio.
- FastAPI Example
- ORM - An async ORM.
- ormar - Ormar is an async ORM that uses Pydantic validation and can be used directly in FastAPI requests and responses so you are left with only one set of models to maintain. Alembic migrations included.
- Piccolo - An async ORM and query builder, supporting Postgres and SQLite, with batteries (migrations, security, etc).
- FastAPI Examples - Using FastAPI with Piccolo.
- Prisma Client Python - An auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more.
- Aerich - Tortoise ORM migrations tools.
- asyncpgsa - A wrapper around [asyncpg](https://github.com/MagicStack/asyncpg) for use with [SQLAlchemy Core](https://docs.sqlalchemy.org/en/latest/core/).
- Databases - Async SQL query builder that works on top of the [SQLAlchemy Core](https://docs.sqlalchemy.org/en/latest/core/) expression language.
- Beanie - Asynchronous Python ODM for MongoDB, based on [Motor](https://motor.readthedocs.io/en/stable/) and [Pydantic](https://pydantic-docs.helpmanual.io/), which supports data and schema migrations out of the box.
- ODMantic - AsyncIO MongoDB ODM integrated with [Pydantic](https://pydantic-docs.helpmanual.io/).
- Pydantic-SQLAlchemy - Convert SQLAlchemy models to [Pydantic](https://pydantic-docs.helpmanual.io/) models.
- FastAPI-CamelCase - CamelCase JSON support for FastAPI utilizing [Pydantic](https://pydantic-docs.helpmanual.io/).
- MongoEngine - A Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.
-
Developer Tools
- FastAPI Code Generator - Create a FastAPI app from an OpenAPI file, enabling schema-driven development.
- FastAPI Client Generator - Generate a mypy- and IDE-friendly API client from an OpenAPI spec.
- FastAPI MVC - Developer productivity tool for making high-quality FastAPI production-ready APIs.
- FastAPI Profiler - A FastAPI Middleware of joerick/pyinstrument to check your service performance.
- FastAPI Versioning - API versioning.
- Jupyter Notebook REST API - Run your Jupyter notebooks as RESTful API endpoints.
- Manage FastAPI - CLI tool for generating and managing FastAPI projects.
- msgpack-asgi - Automatic [MessagePack](https://msgpack.org/) content negotiation.
-
Email
- FastAPI Mail - Lightweight mail system for sending emails and attachments (individual and bulk).
-
Utils
- OpenTelemetry FastAPI Instrumentation - Library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework.
- ASGI Correlation ID - Request ID logging middleware.
- FastAPI Cache - A simple lightweight cache system.
- FastAPI Cache - A tool to cache FastAPI response and function results, with support for Redis, Memcached, DynamoDB, and in-memory backends.
- FastAPI Chameleon - Adds integration of the Chameleon template language to FastAPI.
- FastAPI Contrib - Opinionated set of utilities: pagination, auth middleware, permissions, custom exception handlers, MongoDB support, and Opentracing middleware.
- FastAPI CRUDRouter - A FastAPI router that automatically creates and documents CRUD routes for your models.
- FastAPI Events - Asynchronous event dispatching/handling library for FastAPI and Starlette.
- FastAPI FeatureFlags - Simple implementation of feature flags for FastAPI.
- FastAPI Jinja - Adds integration of the Jinja template language to FastAPI.
- FastAPI Lazy - Lazy package to start your project using FastAPI.
- FastAPI Limiter - A request rate limiter for FastAPI.
- FastAPI MQTT - An extension for the MQTT protocol.
- FastAPI Opentracing - Opentracing middleware and database tracing support for FastAPI.
- FastAPI Pagination - Pagination for FastAPI.
- FastAPI Plugins - Redis and Scheduler plugins.
- FastAPI ServiceUtils - Generator for creating API services.
- FastAPI SocketIO - Easy integration for FastAPI and SocketIO.
- FastAPI Websocket Pub/Sub - The classic pub/sub pattern made easily accessible and scalable over the web and across your cloud in realtime.
- FastAPI Websocket RPC - RPC (bidirectional JSON RPC) over Websockets made easy, robust, and production ready.
- Prerender Python Starlette - Starlette middleware for Prerender.
- Prometheus FastAPI Instrumentator - A configurable and modular Prometheus Instrumentator for your FastAPI application.
- SlowApi - Rate limiter (based on [Flask-Limiter](https://flask-limiter.readthedocs.io)).
- Starlette Context - Allows you to store and access the request data anywhere in your project, useful for logging.
- Starlette Exporter - One more prometheus integration for FastAPI and Starlette.
- Starlette OpenTracing - Opentracing support for Starlette and FastAPI.
- Starlette Prometheus - Prometheus integration for FastAPI and Starlette.
- Strawberry GraphQL - Python GraphQL library based on dataclasses.
- FastAPI Utilities - Reusable utilities: class-based views, response inferring router, periodic tasks, timing middleware, SQLAlchemy session, OpenAPI spec simplification.
-
Programming Languages
Sub Categories
Keywords
fastapi
79
python
50
python3
26
starlette
22
asyncio
22
asgi
17
docker
15
pydantic
12
sqlalchemy
11
postgresql
10
async
9
openapi
8
uvicorn
8
orm
7
redis
6
sqlite
6
api
6
rest-api
5
mongodb
5
alembic
5
poetry
4
prometheus
4
mysql
4
jwt
4
fastapi-boilerplate
4
fastapi-sqlalchemy
4
fastapi-template
4
web
4
rest
4
openapi3
4
database
4
tortoise-orm
4
python-types
3
json
3
gunicorn
3
cookiecutter
3
docker-image
3
middleware
3
swagger-ui
3
postgres
3
asynchronous
3
graphql
3
docker-compose
3
swagger
3
kubernetes
3
websocket
3
generator
3
google-cloud
3
serverless
3
boilerplate
3