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: None

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

FastAPI Admin Dashboard based on FastAPI and Tortoise ORM.

470
75
97d
Apache-2.0

Auth

Auth for use with FastAPI

42
3
1y 4m
MIT

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

107
11
83d
MIT

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

34
7
6m
MIT

row level security for FastAPI framework

109
14
7m
n/a

Implements authentication and authorization as FastAPI dependencies

12
1
1y 92d
n/a

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

3
0
8m
MIT

Ready-to-use and customizable users management for FastAPI

643
66
94d
MIT

ORMs

Adds simple SQLAlchemy support to FastAPI

191
18
7m
MIT

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

2K
122
84d
n/a

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

186
22
8m
n/a

An async ORM. 🗃

1.19K
67
1y 36d
BSD-3-Clause

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

159
5
108d
MIT

Example projects built using Piccolo.

2
0
5m
n/a

A powerful web admin for your database.

11
2
109d
n/a

An example of the Tortoise-ORM FastAPI integration.

Query Builders

A wrapper around asyncpg for use with sqlalchemy

367
44
89d
Apache-2.0

Async database support for Python. 🗄

2.01K
139
5m
BSD-3-Clause

ODMs

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
5m
MIT

CamelCase JSON support for FastAPI utilizing Pydantic.

Accompanying blog post from the author of the extension.

Developer Tools

FastAPI client generator

135
12
90d
Apache-2.0

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

9
3
6m
MIT

api versioning for fastapi web applications

128
20
92d
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 42d
MIT

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

33
2
8m
MIT

Drop-in MessagePack support for ASGI applications and frameworks

47
1
8m
MIT

Email

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

42
6
6m
MIT

Utils

FastAPI simple cache

89
2
89d
MIT

Opinionated set of utilities on top of FastAPI

283
19
4m
MIT

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

38
0
4m
MIT

A request rate limiter for fastapi

11
0
4m
Apache-2.0

fastapi-mqtt is extension for MQTT protocol

18
9
4m
MIT

FastAPI pagination

17
2
4m
MIT

FastAPI framework plugins

93
3
5m
MIT

Utils for fastapi based services.

20
2
1y 5m
MIT

Easily integrate socket.io with your FastAPI app 🚀

19
0
5m
Apache-2.0

Reusable utilities for FastAPI

547
25
1y 66d
MIT

A fast and durable Pub/Sub channel over Websockets. FastAPI + WebSockets + PubSub == ⚡ 💪 ❤️

9
0
79d
MIT

⚡ FASTAPI Websocket RPC- A fast and durable bidirectional JSON RPC channel over Websockets.

12
0
79d
MIT

Starlette middleware for Prerender

13
0
1y 38d
MIT

Instrument your FastAPI app

33
5
4m
Apache-2.0

A rate limiter for Starlette and FastAPI

154
11
4m
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
6m
MIT

Prometheus exporter for Starlette and FastAPI

82
9
5m
Apache-2.0

Opentracing support for Starlette and FastApi

17
1
8m
Apache-2.0

Prometheus integration for Starlette.

125
18
8m
GPL-3.0

Official Resources

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

27.74K
1.89K
94d
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
92d
Apache-2.0

Serverless Python

11.69K
1.24K
81d
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
11m
MIT

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

44
6
1y 66d
MIT

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

142
41
9m
Apache-2.0

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

162
20
117d
MIT

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

83
11
4m
MIT

Generate modern Python clients from OpenAPI

115
26
85d
MIT

🐍Pywork is a Yeoman generator to scaffold a Bare-bone Python Application

4
1
9m
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
4m
MIT

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

186
22
8m
n/a

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

447
59
99d
MIT

🐍 Simple FastAPI template with factory pattern architecture

104
13
109d
MIT

Open Source Projects

https://bitcartcc.com

47
17
7m
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
9m
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
84d
Apache-2.0

Websocket 'broadcast' demo using FastAPI/Starlette

44
9
9m
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
9m
n/a

JSON-RPC server based on fastapi

79
10
4m
n/a

Dead-simple mailer micro-service for static websites

16
2
83d
AGPL-3.0

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

202
59
1y 11m
MIT

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

841
217
88d
MIT

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

47
9
10m
MIT

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

169
6
4m
MIT

Slack webhooks API served by FastAPI

28
7
5m
MIT

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

104
6
6m
MIT

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

32
4
9m
MIT