User Experience on mobile might not be great yet, but I'm working on it.

Your first time on this page? Allow me to give some explanations.

Awesome FastAPI

A curated list of awesome things related to FastAPI

Here you can see meta information about this topic like the time we last updated this page, the original creator of the awesome list and a link to the original GitHub repository.

Last Update: Oct. 20, 2021, 9:08 a.m.

Thank you mjhea0 & contributors
View Topic on GitHub:
mjhea0/awesome-fastapi

Search for resources by name or description.
Simply type in what you are looking for and the results will be filtered on the fly.

Further filter the resources on this page by type (repository/other resource), number of stars on GitHub and time of last commit in months.

Admin

A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin

695
105
4m
Apache-2.0

Auth

Auth for use with FastAPI

42
3
1y 10m
MIT

Easy and secure implementation of Azure AD for your FastAPI APIs ๐Ÿ”’

46
1
63d
MIT

Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).

97
14
4m
MIT

FastAPI-Login tries to provide similar functionality as Flask-Login does.

107
11
8m
MIT

FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)

34
7
11m
MIT

row level security for FastAPI framework

109
14
1y 15d
n/a

Implements authentication and authorization as FastAPI dependencies

12
1
1y 8m
n/a

API-key based security utilities for FastAPI, focused on simplicity of use

3
0
1y 53d
MIT

Ready-to-use and customizable users management for FastAPI

1.22K
112
35d
MIT

ORMs

Adds simple SQLAlchemy support to FastAPI

191
18
1y 25d
MIT

FastAPI + PeeWee = <3

5
0
5m
MIT

GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.

2K
122
8m
n/a

High-performance Async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).

186
22
1y 63d
n/a

An async ORM. ๐Ÿ—ƒ

1.19K
67
1y 6m
BSD-3-Clause

A fast, user friendly ORM and query builder which supports asyncio.

159
5
8m
MIT

Example projects built using Piccolo.

2
0
10m
n/a

A powerful web admin for your database.

11
2
9m
n/a

A database migrations tool for Tortoise-ORM.

109
17
1y 34d
Apache-2.0

Query Builders

A wrapper around asyncpg for use with sqlalchemy

367
44
8m
Apache-2.0

Async database support for Python. ๐Ÿ—„

2.01K
139
10m
BSD-3-Clause

ODMs

Asynchronous Python ODM for MongoDB

148
10
4m
Apache-2.0

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

Asynchronous Python driver for MongoDB.

Other Tools

Tools to convert SQLAlchemy models to Pydantic models

349
14
11m
MIT

Developer Tools

This code generator creates FastAPI app from an openapi file.

238
21
4m
MIT

FastAPI client generator

135
12
8m
Apache-2.0

A FastAPI Middleware of joerick/pyinstrument to check your service performance.

9
3
11m
MIT

api versioning for fastapi web applications

128
20
8m
MIT

Run your jupyter notebooks as a REST API endpoint. This isn't a jupyter server but rather just a way to run your notebooks as a REST API Endpoint.

23
3
1y 6m
MIT

CLI tool for FastAPI. Generating new FastAPI projects & boilerplates made easy.

33
2
1y 51d
MIT

Drop-in MessagePack support for ASGI applications and frameworks

47
1
1y 51d
MIT

Email

Fastapi mail system sending mails(individual, bulk) attachments(individual, bulk)

42
6
12m
MIT

Utils

FastAPI simple cache

89
2
8m
MIT

Adds integration of the Chameleon template language to FastAPI.

67
20
5m
MIT

Opinionated set of utilities on top of FastAPI

283
19
10m
MIT

A dynamic FastAPI router that automatically creates CRUD routes for your models

38
0
9m
MIT

Adds integration of the Jinja template language to FastAPI.

32
6
5m
MIT

A request rate limiter for fastapi

11
0
9m
Apache-2.0

fastapi-mqtt is extension for MQTT protocol

18
9
9m
MIT

FastAPI pagination

17
2
9m
MIT

FastAPI framework plugins

93
3
10m
MIT

Utils for fastapi based services.

20
2
1y 10m
MIT

Easily integrate socket.io with your FastAPI app ๐Ÿš€

19
0
10m
Apache-2.0

Reusable utilities for FastAPI

547
25
1y 7m
MIT

A fast and durable Pub/Sub channel over Websockets. FastAPI + WebSockets + PubSub == โšก ๐Ÿ’ช โค๏ธ

9
0
8m
MIT

โšก FASTAPI Websocket RPC- A fast and durable bidirectional JSON RPC channel over Websockets.

12
0
8m
MIT

OpenTelemetry instrumentation for Python modules

94
82
4m
n/a

Starlette middleware for Prerender

13
0
1y 6m
MIT

Instrument your FastAPI app

33
5
10m
Apache-2.0

A rate limiter for Starlette and FastAPI

154
11
9m
MIT

Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.

100
6
12m
MIT

Prometheus exporter for Starlette and FastAPI

82
9
11m
Apache-2.0

Opentracing support for Starlette and FastApi

17
1
1y 57d
Apache-2.0

Prometheus integration for Starlette.

125
18
1y 50d
GPL-3.0

Official Resources

FastAPI framework, high performance, easy to learn, fast to code, ready for production

27.74K
1.89K
8m
MIT

Modern, fast (high-performance), web framework for building APIs with Python

Official tutorial showing you how to use FastAPI with most of its features, step by step.

Chat with other FastAPI users.

External Resources

Podcasts

In this episode of Podcast Init, the create of FastAPI, Sebastiรกn Ramirez, shares his motivations for building FastAPI and how it works under the hood.

Articles

Tutorials

This tutorial looks at how to develop and test an asynchronous API with FastAPI using Test-Driven Development (TDD).

Learn FastAPI with a side-by-side code comparison to Flask.

Use FastAPI to quickly and easily deploy and serve machine learning models in Python as a RESTful API.

Talks

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.

This talk shows how to build a simple REST API for a database from the ground up using FastAPI.

Videos

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.

Use FastAPI to build a web application programming interface (RESTful API).

Courses

PaaS

Documentation](https://devcenter.heroku.com/articles/getting-started-with-laravel))

Provides quick deployment and management of applications in the cloud.

Serverless application that completely abstracts away infrastructure so you focus only on code.

IaaS

Serverless

Python Serverless Microframework for AWS

7.64K
780
8m
Apache-2.0

Serverless Python

11.69K
1.24K
8m
MIT

formerly Zeit) (example).

Runs code in response to events and automatically manages EC2 instances.

Create single-purpose, stand-alone functions that respond to Cloud events without the need to manage a server or runtime environment

by Microsoft - same premise as Lambda on the Azure cloud

example](https://github.com/anthcor/cloudrun-fastapi))

Boilerplate

Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.

4.75K
761
1y 4m
MIT

The template for building scalable web APIs based on FastAPI, Tortoise ORM and other.

44
6
1y 7m
MIT

FastAPI Skeleton App to serve machine learning models production-ready.

142
41
1y 73d
Apache-2.0

Cookiecutter API for creating Custom Skills for Azure Search using Python and Docker

162
20
9m
MIT

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

83
11
9m
MIT

Generate modern Python clients from OpenAPI

175
39
4m
MIT

๐ŸPywork is a Yeoman generator to scaffold a Bare-bone Python Application

4
1
1y 89d
n/a

Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.6 and above with performance auto-tuning. Optionally with Alpine Linux.

945
110
10m
MIT

High-performance Async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).

186
22
1y 63d
n/a

๐Ÿš€ Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

447
59
8m
MIT

๐Ÿ Simple FastAPI template with factory pattern architecture

104
13
9m
MIT

๐Ÿšข Docker images and utilities to power your Python APIs and help you ship faster. With support for Uvicorn, Gunicorn, Starlette, and FastAPI.

50
8
4m
MIT

Robust FastAPI template

40
1
38d
n/a

Open Source Projects

https://bitcartcc.com

47
17
1y 31d
MIT

A tiny social network (for bunnies), built with FastAPI and React+RxJs

85
5
44d
MIT

API for tracking the global coronavirus (COVID-19, SARS-CoV-2) ๐Ÿฆ  outbreak in Togo. It's written in python using the FastAPI framework ๐Ÿ”ฅ. Supports government source!

5
2
1y 83d
GPL-3.0

All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!

2.76K
223
8m
Apache-2.0

API with high performance to create a simple blog and Crud with OAuth2PasswordBearer โ›

54
11
95d
MIT

Websocket 'broadcast' demo using FastAPI/Starlette

44
9
1y 82d
n/a

Minimal example utilizing fastapi and celery with RabbitMQ for task queue, Redis for celery backend and flower for monitoring the celery tasks.

140
40
1y 82d
n/a

fastAPI Simple authentication & Login API using GraphQL and JWT

9
3
94d
MIT

JSON-RPC server based on fastapi

79
10
9m
n/a

Dead-simple mailer micro-service for static websites

16
2
8m
AGPL-3.0

Policy and data administration, distribution, and real-time updates on top of Open Policy Agent

271
9
4m
Apache-2.0

Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI

202
59
2y 4m
MIT

Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI

841
217
8m
MIT

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

47
9
1y 104d
MIT

Generate your personal 8-bit avatars using Cellular Automata, a mathematical model that simulates life, survival, and extinction

169
6
9m
MIT

Slack webhooks API served by FastAPI

28
7
11m
MIT

View and control terminals from your browser with end-to-end encryption ๐Ÿ”’

104
6
1y 3d
MIT

Free & open source API service for obtaining information about +9600 universities worldwide.

32
4
1y 67d
MIT