Track Awesome Fastapi Updates Daily
A curated list of awesome things related to FastAPI
🏠 Home · 🔍 Search · 🔥 Feed · 📮 Subscribe · ❤️ Sponsor · 😺 mjhea0/awesome-fastapi · ⭐ 8.2K · 🏷️ Back-End Development
Aug 13, 2024
Databases / ORMs
- Edgy ORM (⭐142) - Complex databases made simple.
Official Resources / Other Tools
- Source Code (⭐75k) - Hosted on GitHub.
PaaS / Other Tools
Boilerplate / Other Tools
- Full Stack FastAPI and PostgreSQL - Base Project Generator (⭐25k) - Full Stack FastAPI Template , which includes FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS, and more (developed by the creator of FastAPI, Sebastián Ramírez).
May 03, 2024
Databases / ORMs
- Saffier ORM (⭐54) - The only Python ORM you will ever need.
Databases / ODMs
- Beanie (⭐2k) - Asynchronous Python ODM for MongoDB, based on Motor and Pydantic, which supports data and schema migrations out of the box.
Developer Tools / Other Tools
- FastAPI Cruddy Framework (⭐15) - A companion library to FastAPI designed to bring the development productivity of Ruby on Rails, Ember.js or Sails.js to the FastAPI ecosystem.
Utils / Other Tools
- FastAPI CloudEvents (⭐30) - CloudEvents integration for FastAPI.
- FastAPI Lazy (⭐114) - Lazy package to start your project using FastAPI.
Tutorials / Other Tools
- FastAPI for Flask Users - Learn FastAPI with a side-by-side code comparison to Flask.
Boilerplate / Other Tools
- Full Stack FastAPI and MongoDB - Base Project Generator (⭐417) - Full stack, modern web application generator, which includes FastAPI, MongoDB, Docker, Celery, React frontend, automatic HTTPS and more.
Dec 03, 2023
Tutorials / Other Tools
- Implementing FastAPI Services – Abstraction and Separation of Concerns - FastAPI application and service structure for a more maintainable codebase.
Jul 12, 2023
Admin
- FastAPI Amis Admin (⭐1k) - A high-performance, efficient and easily extensible FastAPI admin framework.
Open Source Projects / Other Tools
- FastAPI with Observability (⭐547) - Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.
- Markdown-Videos (⭐71) - API for generating thumbnails to embed into your markdown content.
Jul 11, 2023
Admin
- Starlette Admin (⭐555) - Admin framework for FastAPI/Starlette, supporting SQLAlchemy, SQLModel, MongoDB, and ODMantic.
Open Source Projects / Other Tools
- Bitcart (⭐515) - Platform for merchants, users and developers which offers easy setup and use.
Feb 26, 2023
Databases / ODMs
- PynamoDB (⭐2.4k) - A pythonic interface to Amazon's DynamoDB.
Nov 02, 2022
Databases / ORMs
- Fastapi-SQLA (⭐177) - SQLAlchemy extension for FastAPI with support for pagination, asyncio, and pytest.
Developer Tools / Other Tools
- FastAPI MVC (⭐608) - Developer productivity tool for making high-quality FastAPI production-ready APIs.
Articles / Other Tools
- 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.
PaaS / Other Tools
Serverless / Other Tools
Sep 07, 2022
Best Practices / Other Tools
- FastAPI Best Practices (⭐8.2k) - Collection of best practices in a GitHub repo.
PaaS / Other Tools
Jul 17, 2022
Boilerplate / Other Tools
- fastapi-starter-project (⭐110) - A project template which uses FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI.
Jul 10, 2022
Open Source Projects / Other Tools
- Astrobase (⭐63) - Simple, fast, and secure deployments anywhere.
Jun 01, 2022
Tutorials / Other Tools
- Introducing FARM Stack - FastAPI, React, and MongoDB - Getting started with a complete FastAPI web application stack.
Boilerplate / Other Tools
- fastapi-gino-arq-uvicorn (⭐413) - Template for a high-performance async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
- fastapi-alembic-sqlmodel-async (⭐921) - This is a project template which uses FastAPI, Alembic, and async SQLModel as ORM.
May 24, 2022
Tutorials / Other Tools
- Multitenancy with FastAPI, SQLAlchemy and PostgreSQL - Learn how to make FastAPI applications multi-tenant ready.
May 17, 2022
Open Source Projects / Other Tools
- Bali (⭐251) - Simplify Cloud Native Microservices development base on FastAPI and gRPC.
May 04, 2022
Open Source Projects / Other Tools
- Nemo (⭐12) - Be productive with Nemo.
May 01, 2022
Boilerplate / Other Tools
- FastAPI on Google Cloud Run (⭐192) - Boilerplate for API building with FastAPI, SQLModel, and Google Cloud Run.
- FastAPI with Firestore (⭐46) - Boilerplate for API building with FastAPI and Google Cloud Firestore.
Mar 29, 2022
Utils / Other Tools
- FastAPI FeatureFlags (⭐52) - Simple implementation of feature flags for FastAPI.
Mar 01, 2022
Admin
- FastAPI Admin (⭐2.8k) - Functional admin panel that provides a user interface for performing CRUD operations on your data. Currently only works with the Tortoise ORM.
- Piccolo Admin (⭐308) - A powerful and modern admin GUI, using the Piccolo ORM.
Feb 26, 2022
Admin
- SQLAlchemy Admin (⭐1.8k) - Admin Panel for FastAPI/Starlette that works with SQLAlchemy models.
Utils / Other Tools
- FastAPI Opentracing (⭐23) - Opentracing middleware and database tracing support for FastAPI.
Official Resources / Other Tools
- Discord - Chat with other FastAPI users.
Docker Images / Other Tools
- inboard (⭐176) - Docker images to power your FastAPI apps and help you ship faster.
- uvicorn-gunicorn-fastapi-docker (⭐2.7k) - 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 (⭐43) - 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 (⭐50) - 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 / Other Tools
- FastAPI Websocket Broadcast (⭐129) - Websocket 'broadcast' demo.
Dec 28, 2021
Databases / ORMs
- Prisma Client Python (⭐1.8k) - An auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more.
Serverless / Other Tools
Dec 13, 2021
Utils / Other Tools
- FastAPI Events (⭐410) - Asynchronous event dispatching/handling library for FastAPI and Starlette.
Dec 11, 2021
Auth
- AuthX (⭐762) - Customizable Authentications and Oauth2 management for FastAPI.
- FastAPI Security (⭐138) - Implements authentication and authorization as dependencies in FastAPI.
Utils / Other Tools
- ASGI Correlation ID (⭐387) - Request ID logging middleware.
- FastAPI Cache (⭐1.2k) - A tool to cache FastAPI response and function results, with support for Redis, Memcached, DynamoDB, and in-memory backends.
Tutorials / Other Tools
- Getting started with GraphQL in Python with FastAPI and Ariadne - Generate a FullStack playground using FastAPI, GraphQL and Ariadne.
Oct 03, 2021
Utils / Other Tools
- Strawberry GraphQL (⭐3.9k) - Python GraphQL library based on dataclasses.
Sep 13, 2021
Auth
- FastAPI Azure Auth (⭐423) - Azure AD authentication for your APIs with single and multi tenant support.
- FastAPI Users (⭐4.4k) - Account management, authentication, authorization.
Boilerplate / Other Tools
- FastAPI template (⭐1.9k) - Flexible, lightweight FastAPI project generator. It includes support for SQLAlchemy, multiple databases, CI/CD, Docker, and Kubernetes.
Open Source Projects / Other Tools
- Bunnybook (⭐268) - A tiny social network built with FastAPI, React+RxJs, Neo4j, PostgreSQL, and Redis.
Sep 11, 2021
Databases / ORMs
- Tortoise ORM - An easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.
- FastAPI Example - An example of the Tortoise-ORM FastAPI integration.
- Tutorial: Setting up Tortoise ORM with FastAPI
- Aerich (⭐816) - Tortoise ORM migrations tools.
- SQLModel - SQLModel (which is powered by Pydantic and SQLAlchemy) is a library for interacting with SQL databases from Python code, with Python objects.
Open Source Projects / Other Tools
- Universities (⭐61) - API service for obtaining information about +9600 universities worldwide.
Aug 27, 2021
Videos / Other Tools
- 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.
Aug 20, 2021
Databases / ODMs
Videos / Other Tools
- FastAPI vs. Django vs. Flask - Which framework is best for Python in 2020? Which uses async/await the best? Which is the fastest?
Jul 26, 2021
Courses / Other Tools
- The Definitive Guide to Celery and FastAPI - Learn how to add Celery to a FastAPI application to provide asynchronous task processing.
Jul 20, 2021
Tutorials / Other Tools
- Build and Secure an API in Python with FastAPI - Secure and maintain an API based on FastAPI and SQLAlchemy.
Open Source Projects / Other Tools
- DogeAPI (⭐144) - API with high performance to create a simple blog and CRUD with OAuth2PasswordBearer.
- JeffQL (⭐30) - Simple authentication and login API using GraphQL and JWT.
Jun 16, 2021
Databases / ORMs
- 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.
- FastAPI Example - Using FastAPI with ormar.
Boilerplate / Other Tools
- openapi-python-client (⭐1.2k) - Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.
Jun 04, 2021
Databases / ORMs
- FastAPIwee (⭐18) - A simple way to create REST API based on PeeWee (⭐11k) models.
Utils / Other Tools
- FastAPI Chameleon (⭐138) - Adds integration of the Chameleon template language to FastAPI.
- FastAPI Jinja (⭐67) - Adds integration of the Jinja template language to FastAPI.
Tutorials / Other Tools
- Async SQLAlchemy with FastAPI - Learn how to use SQLAlchemy asynchronously.
- Running FastAPI applications in production - Use Gunicorn with systemd for production deployments.
- Streaming video with FastAPI - Learn how to serve video streams.
Apr 21, 2021
Utils / Other Tools
- OpenTelemetry FastAPI Instrumentation (⭐680) - Library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework.
Apr 19, 2021
Open Source Projects / Other Tools
- OPAL (Open Policy Administration Layer) (⭐14) - Real-time authorization updates on top of Open-Policy; built with FastAPI, Typer, and FastAPI WebSocket pub/sub.
Mar 23, 2021
Developer Tools / Other Tools
- FastAPI Code Generator (⭐988) - Create a FastAPI app from an OpenAPI file, enabling schema-driven development.
Courses / Other Tools
- Modern APIs with FastAPI and Python - A course designed to get you creating new APIs running in the cloud with FastAPI quickly.
Mar 19, 2021
Courses / Other Tools
- 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.
Mar 04, 2021
Auth
- FastAPI Cloud Auth (⭐326) - Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
Feb 23, 2021
Utils / Other Tools
- FastAPI Websocket Pub/Sub (⭐13) - The classic pub/sub pattern made easily accessible and scalable over the web and across your cloud in realtime.
- FastAPI Websocket RPC (⭐7) - RPC (bidirectional JSON RPC) over Websockets made easy, robust, and production ready.
Jan 23, 2021
Databases / ORMs
- Piccolo (⭐1.4k) - An async ORM and query builder, supporting Postgres and SQLite, with batteries (migrations, security, etc).
- FastAPI Examples (⭐20) - Using FastAPI with Piccolo.
Jan 19, 2021
Tutorials / Other Tools
- 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.
Jan 17, 2021
Developer Tools / Other Tools
- FastAPI Profiler (⭐223) - A FastAPI Middleware of joerick/pyinstrument to check your service performance.
Utils / Other Tools
- FastAPI Limiter (⭐461) - A request rate limiter for FastAPI.
- FastAPI Pagination (⭐1.1k) - Pagination for FastAPI.
Jan 16, 2021
Open Source Projects / Other Tools
- Coronavirus-tg-api (⭐14) - API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak.
Jan 15, 2021
External Resources / Other Tools
- TestDriven.io FastAPI - Multiple FastAPI-specific articles that focus on developing and testing production-ready RESTful APIs, serving up machine learning models, and more.
Jan 07, 2021
Utils / Other Tools
- FastAPI MQTT (⭐251) - An extension for the MQTT protocol.
- Starlette Context (⭐433) - Allows you to store and access the request data anywhere in your project, useful for logging.
- Starlette OpenTracing (⭐66) - Opentracing support for Starlette and FastAPI.
- Starlette Prometheus (⭐272) - Prometheus integration for FastAPI and Starlette.
Jan 05, 2021
Utils / Other Tools
- FastAPI CRUDRouter (⭐1.4k) - A FastAPI router that automatically creates and documents CRUD routes for your models.
Tutorials / Other Tools
- Using Hypothesis and Schemathesis to Test FastAPI - Apply property-based testing to FastAPI.
Dec 21, 2020
Utils / Other Tools
- Prometheus FastAPI Instrumentator (⭐899) - A configurable and modular Prometheus Instrumentator for your FastAPI application.
Dec 19, 2020
Tutorials / Other Tools
- 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.
Dec 16, 2020
Articles / Other Tools
Dec 03, 2020
Utils / Other Tools
- FastAPI SocketIO (⭐327) - Easy integration for FastAPI and SocketIO.
Nov 09, 2020
Tutorials / Other Tools
- Real-time data streaming using FastAPI and WebSockets - Learn how to stream data from FastAPI directly into a real-time chart.
Oct 30, 2020
Auth
- FastAPI JWT Auth (⭐634) - JWT auth (based on Flask-JWT-Extended (⭐1.5k)).
Developer Tools / Other Tools
- Manage FastAPI (⭐1.6k) - CLI tool for generating and managing FastAPI projects.
PaaS / Other Tools
Serverless / Other Tools
- Mangum - Adapter for running ASGI applications with AWS Lambda and API Gateway.
Oct 26, 2020
Open Source Projects / Other Tools
- Awesome FastAPI Projects (⭐1.3k) - Organized list of projects that use FastAPI.
Oct 21, 2020
Email / Other Tools
- FastAPI Mail (⭐664) - Lightweight mail system for sending emails and attachments (individual and bulk).
Sep 23, 2020
Auth
- FastAPI Simple Security (⭐316) - Out-of-the-box API key security manageable through path operations.
Jul 28, 2020
Utils / Other Tools
- FastAPI Cache (⭐214) - A simple lightweight cache system.
Jul 06, 2020
Databases / Other Tools
- FastAPI-CamelCase - CamelCase JSON support for FastAPI utilizing Pydantic.
- CamelCase Models with FastAPI and Pydantic - Accompanying blog post from the author of the extension.
Jul 01, 2020
Databases / ODMs
- MongoEngine - A Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.
Developer Tools / Other Tools
- msgpack-asgi (⭐156) - Automatic MessagePack content negotiation.
Official Resources / Other Tools
- Tutorial - Official tutorial showing you how to use FastAPI with most of its features, step by step.
Podcasts / Other Tools
- FastAPI on PythonBytes - Nice overview of the project.
Tutorials / Other Tools
- Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
- Porting Flask to FastAPI for ML Model Serving - Comparison of Flask vs FastAPI.
- 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.
Talks / Other Tools
- 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.
Videos / Other Tools
- 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.
- Serving Machine Learning Models As API with FastAPI - Build a machine learning API with FastAPI.
Boilerplate / Other Tools
- FastAPI and Tortoise ORM (⭐125) - Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).
- cookiecutter-fastapi (⭐449) - Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.
- FastAPI and React Template (⭐2.2k) - Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.
Open Source Projects / Other Tools
- FastAPI with Celery, RabbitMQ, and Redis (⭐508) - Minimal example utilizing FastAPI and Celery with RabbitMQ for task queue, Redis for Celery backend, and Flower for monitoring the Celery tasks.
- JSON-RPC Server (⭐284) - JSON-RPC server based on FastAPI.
- redis-streams-fastapi-chat (⭐206) - A simple Redis Streams backed chat app using Websockets, Asyncio and FastAPI/Starlette.
- TermPair (⭐1.6k) - View and control terminals from your browser with end-to-end encryption.
Jun 14, 2020
Boilerplate / Other Tools
- FastAPI Nano (⭐832) - Simple FastAPI template with factory pattern architecture.
Jun 09, 2020
Auth
- FastAPI Auth (⭐140) - Pluggable auth that supports the OAuth2 Password Flow with JWT access and refresh tokens.
- FastAPI Login (⭐628) - Account management and authentication (based on Flask-Login (⭐3.5k)).
- FastAPI Permissions (⭐466) - Row-level permissions.
Databases / ORMs
- FastAPI SQLAlchemy (⭐600) - Simple integration between FastAPI and SQLAlchemy.
- ORM (⭐1.8k) - An async ORM.
Databases / Query Builders
- asyncpgsa (⭐417) - A wrapper around asyncpg (⭐6.8k) for use with SQLAlchemy Core.
- Databases (⭐3.8k) - Async SQL query builder that works on top of the SQLAlchemy Core expression language.
Databases / ODMs
- Motor - Asynchronous Python driver for MongoDB.
Databases / Other Tools
- Pydantic-SQLAlchemy (⭐1.1k) - Convert SQLAlchemy models to Pydantic models.
Developer Tools / Other Tools
- FastAPI Client Generator (⭐331) - Generate a mypy- and IDE-friendly API client from an OpenAPI spec.
- FastAPI Versioning (⭐640) - API versioning.
- Jupyter Notebook REST API (⭐77) - Run your Jupyter notebooks as RESTful API endpoints.
Utils / Other Tools
- FastAPI Contrib (⭐611) - Opinionated set of utilities: pagination, auth middleware, permissions, custom exception handlers, MongoDB support, and Opentracing middleware.
- FastAPI Plugins (⭐358) - Redis and Scheduler plugins.
- FastAPI ServiceUtils (⭐33) - Generator for creating API services.
- FastAPI Utilities (⭐1.9k) - Reusable utilities: class-based views, response inferring router, periodic tasks, timing middleware, SQLAlchemy session, OpenAPI spec simplification.
- Prerender Python Starlette (⭐15) - Starlette middleware for Prerender.
- SlowApi (⭐1.1k) - Rate limiter (based on Flask-Limiter).
- Starlette Exporter (⭐305) - One more prometheus integration for FastAPI and Starlette.
Official Resources / Other Tools
- Documentation - Comprehensive documentation.
Podcasts / Other Tools
- Build The Next Generation Of Python Web Applications With FastAPI - In this episode of Podcast Init, the creator of FastAPI, Sebastián Ramirez, shares his motivations for building FastAPI and how it works under the hood.
Courses / Other Tools
- Test-Driven Development with FastAPI and Docker - Learn how to build, test, and deploy a text summarization microservice with Python, FastAPI, and Docker.
Serverless / Other Tools
- Vercel - (formerly Zeit) (example (⭐71)).
Boilerplate / Other Tools
- FastAPI Model Server Skeleton (⭐377) - Skeleton app to serve machine learning models production-ready.
- cookiecutter-spacy-fastapi (⭐505) - Quick deployments of spaCy models with FastAPI.
- Pywork (⭐11) - Yeoman generator to scaffold a FastAPI app.
Open Source Projects / Other Tools
- Dispatch (⭐4.9k) - Manage security incidents.
- Mailer (⭐57) - Dead-simple mailer micro-service for static websites.
- Sprites as a service (⭐304) - Generate your personal 8-bit avatars using Cellular Automata.
- Slackers (⭐79) - Slack webhooks API.
Jun 08, 2020
Databases / ORMs
- GINO (⭐2.7k) - A lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio.
May 18, 2020
Open Source Projects / Other Tools
May 03, 2020
PaaS / Other Tools
IaaS / Other Tools
Serverless / Other Tools
Open Source Projects / Other Tools
- FastAPI CRUD Example: