FastAPI
Python web app framework.
Contents
Third-Party Extensions
Admin
Functional admin panel that provides a user interface for performing CRUD operations on your data. Currently only works with the Tortoise ORM.
A high-performance, efficient and easily extensible FastAPI admin framework.
Auth
Pluggable auth that supports the OAuth2 Password Flow with JWT access and refresh tokens.
Azure AD authentication for your APIs with single and multi tenant support.
Authorization which supports various access control models like RBAC, ReBAC and ABAC through Casbin.
Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
Implements authentication and authorization as dependencies in FastAPI.
CyberSecurity
Databases
SQLAlchemy extension for FastAPI with support for pagination, asyncio, and pytest.
Async SQLAlchemy 2.0+ extension for FastAPI with SQLModel support, built-in pagination & more.
A lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio.
An async ORM and query builder, supporting Postgres and SQLite, with batteries (migrations, security, etc).
Async SQL query builder that works on top of the SQLAlchemy Core expression language.
Asynchronous Python ODM for MongoDB, based on Motor and Pydantic, which supports data and schema migrations out of the box.
Dependency Injection
Developer Tools
Create a FastAPI app from an OpenAPI file, enabling schema-driven development.
Generate a mypy- and IDE-friendly API client from an OpenAPI spec.
A companion library to FastAPI designed to bring the development productivity of Ruby on Rails, Ember.js or Sails.js to the FastAPI ecosystem.
Developer productivity tool for making high-quality FastAPI production-ready APIs.
Utils
A tool to cache FastAPI response and function results, with support for Redis, Memcached, DynamoDB, and in-memory backends.
Adds integration of the Chameleon template language to FastAPI.
Opinionated set of utilities: pagination, auth middleware, permissions, custom exception handlers, MongoDB support, and Opentracing middleware.
Robust async CRUD operations and flexible endpoint creation utilities.
Asynchronous event dispatching/handling library for FastAPI and Starlette.
Use FastAPI's dependency injection outside route handlers in CLI tools, background tasks, workers, and more.
A library to design/build listing APIs using component-based architecture, inbuilt query paginator, sorter, django-admin like filters & much more.
Opentracing middleware and database tracing support for FastAPI.
General FastAPI library for writing any generic endpoint decorators capable of lazy dependencies injection.
Reusable utilities: class-based views, response inferring router, periodic tasks, timing middleware, SQLAlchemy session, OpenAPI spec simplification.
The classic pub/sub pattern made easily accessible and scalable over the web and across your cloud in realtime.
RPC (bidirectional JSON RPC) over Websockets made easy, robust, and production ready.
Library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework.
A configurable and modular Prometheus Instrumentator for your FastAPI application.
Hosting
Projects
Boilerplate
Boilerplate for API building with FastAPI, SQLModel, and Google Cloud Run.
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).
Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).
Skeleton app to serve machine learning models production-ready.
Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.
Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.
Template for a high-performance async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.
Flexible, lightweight FastAPI project generator. It includes support for SQLAlchemy, multiple databases, CI/CD, Docker, and Kubernetes.
Boilerplate for API building with FastAPI and Google Cloud Firestore.
This is a project template which uses FastAPI, Alembic, and async SQLModel as ORM.
A project template which uses FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI.
Docker Images
Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.7 and 3.6 with performance auto-tuning.
Open Source Projects
Platform for merchants, users and developers which offers easy setup and use.
A tiny social network built with FastAPI, React+RxJs, Neo4j, PostgreSQL, and Redis.
API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak.
Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.
API with high performance to create a simple blog and CRUD with OAuth2PasswordBearer.
Minimal example utilizing FastAPI and Celery with RabbitMQ for task queue, Redis for Celery backend, and Flower for monitoring the Celery tasks.
A REST and GraphQL playground built with best practices, providing WebSockets, SSE, callbacks, secret messages, and more.
API for generating thumbnails to embed into your markdown content.
Real-time authorization updates on top of Open-Policy; built with FastAPI, Typer, and FastAPI WebSocket pub/sub.
Type-safe FastAPI wrapper that provides middleware, HTTP event tracking, AWS Lambda integration, test utilities, and auto-conversion between Type_Safe, Pydantic, and dataclasses.
A funding and monetization platform for developers, built with FastAPI, SQLAlchemy, Alembic, and Arq.
A simple Redis Streams backed chat app using Websockets, Asyncio and FastAPI/Starlette.
Generate your personal 8-bit avatars using Cellular Automata.