awesome-fastapi
一个基于FastAPI的文档,包含数据库、网关等集成和项目分享,欢迎star或fork
https://github.com/yshan2028/awesome-fastapi
Last synced: 15 days ago
JSON representation
-
Hosting
-
IaaS
-
PaaS
- Heroku - by-step tutorial](https://tutlinks.com/create-and-deploy-fastapi-app-to-heroku/), [ML model on Heroku tutorial](https://testdriven.io/blog/fastapi-machine-learning/))
- AWS Elastic Beanstalk
- Microsoft Azure App Service
- Microsoft Azure App Service
- Deta - deta-ni5))
-
Serverless
- Mangum - Adapter for running ASGI applications with AWS Lambda and API Gateway.
- Vercel - (formerly Zeit) ([example](https://github.com/paul121/fastapi-zeit-now)).
- AWS Lambda - 01/deploy-fastapi-to-aws-lambda), [code](https://github.com/iwpnd/fastapi-aws-lambda-example))
- Google Cloud Run - fastapi))
- Chalice
- Azure Functions
-
-
Projects
-
Boilerplate
- FastAPI and Tortoise ORM - Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).
- FastAPI Model Server Skeleton - Skeleton app to serve machine learning models production-ready.
- cookiecutter-spacy-fastapi - Quick deployments of spaCy models with FastAPI.
- cookiecutter-fastapi - Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.
- openapi-python-client - Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.
- Pywork - [Yeoman](https://yeoman.io/) generator to scaffold a FastAPI app.
- FastAPI and React Template - Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.
- FastAPI Nano - Simple FastAPI template with factory pattern architecture.
- FastAPI template - Flexible, lightweight FastAPI project generator. It includes support for SQLAlchemy, multiple databases, CI/CD, Docker, and Kubernetes.
- FastAPI on Google Cloud Run - Boilerplate for API building with FastAPI, SQLModel, and Google Cloud Run.
- FastAPI with Firestore - Boilerplate for API building with FastAPI and Google Cloud Firestore.
- fastapi-alembic-sqlmodel-async - This is a project template which uses FastAPI, Alembic, and async SQLModel as ORM.
- fastapi-starter-project - A project template which uses FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI.
- Full Stack FastAPI and PostgreSQL - Base Project Generator - Full stack, modern web application generator, which includes FastAPI, PostgreSQL, Docker, Celery, Vue frontend, automatic HTTPS and more (developed by the creator of FastAPI, [Sebastián Ramírez](https://github.com/tiangolo)).
-
Docker Images
- inboard - Docker images to power your FastAPI apps and help you ship faster.
- uvicorn-gunicorn-fastapi-docker - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.7 and 3.6 with performance auto-tuning.
- uvicorn-gunicorn-poetry - This Docker image provides a platform to run FastAPI using Gunicorn with Uvicorn workers. It provides Poetry for managing dependencies and setting up a virtual environment in the container.
- uvicorn-poetry - This Docker image provides a platform to run FastAPI with Uvicorn on Kubernetes container orchestration system. It provides Poetry for managing dependencies and setting up a virtual environment in the container.
-
Open Source Projects
- Astrobase - Simple, fast, and secure deployments anywhere.
- Awesome FastAPI Projects - Organized list of projects that use FastAPI.
- Bali - Simplify Cloud Native Microservices development base on FastAPI and gRPC.
- Bunnybook - A tiny social network built with FastAPI, React+RxJs, Neo4j, PostgreSQL, and Redis.
- Coronavirus-tg-api - API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak.
- Dispatch - Manage security incidents.
- Async flavor
- Sync Flavor
- DogeAPI - API with high performance to create a simple blog and CRUD with OAuth2PasswordBearer.
- FastAPI Websocket Broadcast - Websocket 'broadcast' demo.
- FastAPI with Celery, RabbitMQ, and Redis - Minimal example utilizing FastAPI and Celery with RabbitMQ for task queue, Redis for Celery backend, and Flower for monitoring the Celery tasks.
- JeffQL - Simple authentication and login API using GraphQL and JWT.
- JSON-RPC Server - JSON-RPC server based on FastAPI.
- Mailer - Dead-simple mailer micro-service for static websites.
- Nemo - Be productive with Nemo.
- OPAL (Open Policy Administration Layer) - Real-time authorization updates on top of Open-Policy; built with FastAPI, Typer, and FastAPI WebSocket pub/sub.
- RealWorld Example App - mongo
- RealWorld Example App - postgres
- redis-streams-fastapi-chat - A simple Redis Streams backed chat app using Websockets, Asyncio and FastAPI/Starlette.
- Sprites as a service - Generate your personal 8-bit avatars using Cellular Automata.
- Slackers - Slack webhooks API.
- TermPair - View and control terminals from your browser with end-to-end encryption.
- Universities - API service for obtaining information about +9600 universities worldwide.
- Bitcart - Platform for merchants, users and developers which offers easy setup and use.
- JeffQL - Simple authentication and login API using GraphQL and JWT.
-
-
Resources
-
Articles
- FastAPI has Ruined Flask Forever for Me
- Why we switched from Flask to FastAPI for production machine learning - In-depth look at why you may want to move from Flask to FastAPI.
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
- FastAPI has Ruined Flask Forever for Me
-
Best Practices
- FastAPI Best Practices - Collection of best practices in a GitHub repo.
-
Courses
- Test-Driven Development with FastAPI and Docker - Learn how to build, test, and deploy a text summarization microservice with Python, FastAPI, and Docker.
- Modern APIs with FastAPI and Python - A course designed to get you creating new APIs running in the cloud with FastAPI quickly.
- Full Web Apps with FastAPI Course - You'll learn to build full web apps with FastAPI, equivalent to what you can do with Flask or Django.
- The Definitive Guide to Celery and FastAPI - Learn how to add Celery to a FastAPI application to provide asynchronous task processing.
- Modern APIs with FastAPI and Python - A course designed to get you creating new APIs running in the cloud with FastAPI quickly.
-
External Resources
- TestDriven.io FastAPI - Multiple FastAPI-specific articles that focus on developing and testing production-ready RESTful APIs, serving up machine learning models, and more.
-
Official Resources
- Documentation - Comprehensive documentation.
- Tutorial - Official tutorial showing you how to use FastAPI with most of its features, step by step.
- Discord - Chat with other FastAPI users.
- Source Code - Hosted on GitHub.
-
Podcasts
- Build The Next Generation Of Python Web Applications With FastAPI - In this episode of [Podcast Init](https://www.pythonpodcast.com/), the create of FastAPI, [Sebastián Ramirez](https://tiangolo.com/), shares his motivations for building FastAPI and how it works under the hood.
- FastAPI on PythonBytes - Nice overview of the project.
- Build The Next Generation Of Python Web Applications With FastAPI - In this episode of [Podcast Init](https://www.pythonpodcast.com/), the create of FastAPI, [Sebastián Ramirez](https://tiangolo.com/), shares his motivations for building FastAPI and how it works under the hood.
-
Talks
- PyConBY 2020: Serve ML models easily with FastAPI - From the talk by Sebastian Ramirez you will learn how to easily build a production-ready web (JSON) API for your ML models with FastAPI, including best practices by default.
- PyCon UK 2019: FastAPI from the ground up - This talk shows how to build a simple REST API for a database from the ground up using FastAPI.
-
Tutorials
- Async SQLAlchemy with FastAPI - Learn how to use SQLAlchemy asynchronously.
- Build and Secure an API in Python with FastAPI - Secure and maintain an API based on FastAPI and SQLAlchemy.
- 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.
- Deploy Machine Learning Models with Keras, FastAPI, Redis and Docker
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Developing and Testing an Asynchronous API with FastAPI and Pytest - Develop and test an asynchronous API with FastAPI, Postgres, Pytest, and Docker using Test-Driven Development.
- FastAPI for Flask Users - Learn FastAPI with a side-by-side code comparison to Flask.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- Getting started with GraphQL in Python with FastAPI and Ariadne - Generate a FullStack playground using FastAPI, GraphQL and Ariadne.
- How to monitor your FastAPI service - Explains how to implement Application Performance Monitoring (APM) using OpenTelemetry and Datadog/Jaeger.
- Introducing FARM Stack - FastAPI, React, and MongoDB - Getting started with a complete FastAPI web application stack.
- Multitenancy with FastAPI, SQLAlchemy and PostgreSQL - Learn how to make FastAPI applications multi-tenant ready.
- Porting Flask to FastAPI for ML Model Serving - Comparison of Flask vs FastAPI.
- 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.
- Serving Machine Learning Models with FastAPI in Python - Use FastAPI to quickly and easily deploy and serve machine learning models in Python as a RESTful API.
- Streaming video with FastAPI - Learn how to serve video streams.
- Using Hypothesis and Schemathesis to Test FastAPI - Apply property-based testing to FastAPI.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- 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.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- Local Development Environment - Skaffold, docker, kubectl and minikube in a nutshell.
- Service discovery in Container Orchestration Platforms - Enabling FastAPI service communication in Kubernetes explained.
- Asynchronous Communication - Enabling loosely coupled services with messaging.
- Application Monitoring - Application metric monitoring with Prometheus and Grafana.
- Serverless Deployment - About the current status of the compatibility between FastAPI and Kubernetes-native FaaS platforms.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
- 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.
-
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