Project Awesome project awesome

FastAPI

Python web app framework.

Collection 11.2k stars GitHub

Third-Party Extensions

Databases

Edgy ORM 424 updated 19d ago

Complex databases made simple.

FastAPI SQLAlchemy

Simple integration between FastAPI and SQLAlchemy.

Fastapi-SQLA 442 updated today

SQLAlchemy extension for FastAPI with support for pagination, asyncio, and pytest.

FastAPIwee 107 updated 4y ago

A simple way to create REST API based on PeeWee models.

FastSQLA 82 updated 26d ago

Async SQLAlchemy 2.0+ extension for FastAPI with SQLModel support, built-in pagination & more.

GINO 2.8k updated 4y ago

A lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio.

ORM 1.9k (archived)

An async ORM.

Piccolo 1.9k updated yesterday

An async ORM and query builder, supporting Postgres and SQLite, with batteries (migrations, security, etc).

Aerich 1.1k updated 7d ago

Tortoise ORM migrations tools.

Saffier ORM 151 updated 2d ago

The only Python ORM you will ever need.

asyncpgsa 511 updated 2y ago

A wrapper around asyncpg for use with SQLAlchemy Core.

Databases

Async SQL query builder that works on top of the SQLAlchemy Core expression language.

PyPika 2.9k updated 1mo ago

A SQL query builder that exposes the full richness of the SQL language.

Beanie 2.7k updated yesterday

Asynchronous Python ODM for MongoDB, based on Motor and Pydantic, which supports data and schema migrations out of the box.

MongoEngine 4.3k updated 15d ago

A Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.

ODMantic 1.2k updated 24d ago

AsyncIO MongoDB ODM integrated with Pydantic.

PynamoDB 2.6k updated 2mo ago

A pythonic interface to Amazon's DynamoDB.

Pydantic-SQLAlchemy 1.4k updated 4mo ago

Convert SQLAlchemy models to Pydantic models.

FastAPI-CamelCase 73 updated 2y ago

CamelCase JSON support for FastAPI utilizing Pydantic.

Utils

Apitally 218 updated 4d ago

API analytics, monitoring, and request logging for FastAPI.

ASGI Correlation ID 636 updated 1y ago

Request ID logging middleware.

FastAPI Cache 307 updated 4y ago

A simple lightweight cache system.

FastAPI Cache 1.8k updated 8mo ago

A tool to cache FastAPI response and function results, with support for Redis, Memcached, DynamoDB, and in-memory backends.

FastAPI Chameleon 229 updated 11mo ago

Adds integration of the Chameleon template language to FastAPI.

FastAPI CloudEvents

CloudEvents integration for FastAPI.

FastAPI Contrib 745 updated 3y ago

Opinionated set of utilities: pagination, auth middleware, permissions, custom exception handlers, MongoDB support, and Opentracing middleware.

FastAPI FastCRUD 1.5k updated 13d ago

Robust async CRUD operations and flexible endpoint creation utilities.

FastAPI Events 611 updated 1y ago

Asynchronous event dispatching/handling library for FastAPI and Starlette.

FastAPI FeatureFlags 157 updated 1y ago

Simple implementation of feature flags for FastAPI.

FastAPI Injectable 288 updated 4d ago

Use FastAPI's dependency injection outside route handlers in CLI tools, background tasks, workers, and more.

FastAPI Jinja 159 updated 1y ago

Adds integration of the Jinja template language to FastAPI.

FastAPI Lazy 203 updated 1y ago

Lazy package to start your project using FastAPI.

FastAPI Limiter 758 updated 1mo ago

A request rate limiter for FastAPI.

FastAPI Listing 141 updated 1y ago

A library to design/build listing APIs using component-based architecture, inbuilt query paginator, sorter, django-admin like filters & much more.

FastAPI MQTT

An extension for the MQTT protocol.

FastAPI Opentracing 111 updated 3y ago

Opentracing middleware and database tracing support for FastAPI.

FastAPI Pagination 1.6k updated 2d ago

Pagination for FastAPI.

FastAPI Plugins

Redis and Scheduler plugins.

FastAPI ServiceUtils 120 updated 4y ago

Generator for creating API services.

FastAPI Shield 18 updated 2mo ago

General FastAPI library for writing any generic endpoint decorators capable of lazy dependencies injection.

FastAPI SocketIO 425 (archived)

Easy integration for FastAPI and SocketIO.

FastAPI Utilities 2.3k updated 1y ago

Reusable utilities: class-based views, response inferring router, periodic tasks, timing middleware, SQLAlchemy session, OpenAPI spec simplification.

FastAPI Websocket Pub/Sub 103 updated 4y ago

The classic pub/sub pattern made easily accessible and scalable over the web and across your cloud in realtime.

FastAPI Websocket RPC 93 updated 4y ago

RPC (bidirectional JSON RPC) over Websockets made easy, robust, and production ready.

OpenTelemetry FastAPI Instrumentation 1.0k updated today

Library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework.

Prerender Python Starlette 102 (archived)

Starlette middleware for Prerender.

Prometheus FastAPI Instrumentator 1.4k updated 5mo ago

A configurable and modular Prometheus Instrumentator for your FastAPI application.

SlowApi 1.9k updated yesterday

Rate limiter (based on Flask-Limiter).

Starlette Context 610 updated 25d ago

Allows you to store and access the request data anywhere in your project, useful for logging.

Starlette Exporter 412 updated 1y ago

One more prometheus integration for FastAPI and Starlette.

Starlette OpenTracing 152 updated 4y ago

Opentracing support for Starlette and FastAPI.

Starlette Prometheus 379 updated 1y ago

Prometheus integration for FastAPI and Starlette.

Strawberry GraphQL 4.6k updated yesterday

Python GraphQL library based on dataclasses.

Pydantic Resolve 317 updated 2d ago

Turns pydantic class into a powerful composable computing container by introducing resolve and post-process hooks.

Projects

Boilerplate

FastAPI on Google Cloud Run 288 updated 1y ago

Boilerplate for API building with FastAPI, SQLModel, and Google Cloud Run.

Full Stack FastAPI and PostgreSQL - Base Project Generator

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).

FastAPI and Tortoise ORM 223 updated 1y ago

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 601 updated 2mo ago

Skeleton app to serve machine learning models production-ready.

cookiecutter-spacy-fastapi 621 updated 3y ago

Quick deployments of spaCy models with FastAPI.

cookiecutter-fastapi 707 updated 7mo ago

Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.

openapi-python-client 1.9k updated 9d ago

Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.

Pywork 97 (archived)

Yeoman generator to scaffold a FastAPI app.

fastapi-gino-arq-uvicorn 561 updated 3y ago

Template for a high-performance async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).

FastAPI and React Template 2.6k updated 2y ago

Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.

FastAPI Nano 1.0k updated 1y ago

Simple FastAPI template with factory pattern architecture.

FastAPI template 2.8k updated 3mo ago

Flexible, lightweight FastAPI project generator. It includes support for SQLAlchemy, multiple databases, CI/CD, Docker, and Kubernetes.

FastAPI with Firestore 135 updated 1y ago

Boilerplate for API building with FastAPI and Google Cloud Firestore.

fastapi-alembic-sqlmodel-async 1.3k updated 16d ago

This is a project template which uses FastAPI, Alembic, and async SQLModel as ORM.

fastapi-starter-project 217 updated 3y ago

A project template which uses FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI.

Full Stack FastAPI and MongoDB - Base Project Generator 813 updated 10mo ago

Full stack, modern web application generator, which includes FastAPI, MongoDB, Docker, Celery, React frontend, automatic HTTPS and more.

Uvicorn Poetry FastAPI Project Template 106 updated 5mo ago

Cookiecutter project template for starting a FastAPI application. Runs in a Docker container with Uvicorn ASGI server on Kubernetes. Supports AMD64 and ARM64 CPU architectures.

Open Source Projects

Astrobase 159 updated 3y ago

Simple, fast, and secure deployments anywhere.

Awesome FastAPI Projects 1.6k updated 15d ago

Organized list of projects that use FastAPI.

Bitcart 917 updated 2d ago

Platform for merchants, users and developers which offers easy setup and use.

Bali 372 updated 6mo ago

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 101 updated 3y ago

API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak.

Dispatch 6.4k (archived)

Manage security incidents.

Async flavor 564 updated 2y ago
Sync Flavor 164 updated 2y ago
FastAPI with Observability 1.1k updated 10mo ago

Observe FastAPI app with three pillars of observability: Traces (Tempo), Metrics (Prometheus), Logs (Loki) on Grafana through OpenTelemetry and OpenMetrics.

DogeAPI 246 updated 1y ago

API with high performance to create a simple blog and CRUD with OAuth2PasswordBearer.

FastAPI Websocket Broadcast 227 updated 11mo ago

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.

FuturamaAPI 375 updated 14d ago

A REST and GraphQL playground built with best practices, providing WebSockets, SSE, callbacks, secret messages, and more.

JeffQL

Simple authentication and login API using GraphQL and JWT.

JSON-RPC Server 420 updated 1mo ago

JSON-RPC server based on FastAPI.

Mailer 150 updated today

Dead-simple mailer micro-service for static websites.

Markdown-Videos 177 updated 4mo ago

API for generating thumbnails to embed into your markdown content.

Nemo 101 updated 1y ago

Be productive with Nemo.

OPAL (Open Policy Administration Layer) 102 updated 1y ago

Real-time authorization updates on top of Open-Policy; built with FastAPI, Typer, and FastAPI WebSocket pub/sub.

OSBot-Fast-API 88 updated 1mo ago

Type-safe FastAPI wrapper that provides middleware, HTTP event tracking, AWS Lambda integration, test utilities, and auto-conversion between Type_Safe, Pydantic, and dataclasses.

Polar 9.6k updated today

A funding and monetization platform for developers, built with FastAPI, SQLAlchemy, Alembic, and Arq.

RealWorld Example App - mongo 534 updated 3y ago
RealWorld Example App - postgres 3.1k (archived)
redis-streams-fastapi-chat 351 updated 4mo ago

A simple Redis Streams backed chat app using Websockets, Asyncio and FastAPI/Starlette.

Sprites as a service 400 updated 2y ago

Generate your personal 8-bit avatars using Cellular Automata.

Slackers 165 (archived)

Slack webhooks API.

TermPair 1.7k updated today

View and control terminals from your browser with end-to-end encryption.

Universities 163 updated 4y ago

API service for obtaining information about +9600 universities worldwide.