FastAPI

Python web app framework.

190 resources4 categoriesView Original

Projects(49 items)

A

Astrobase

Simple, fast, and secure deployments anywhere.

Projects
A

Async flavor

Projects
A

Awesome FastAPI Projects

Organized list of projects that use FastAPI.

Projects
B

Bali

Simplify Cloud Native Microservices development base on FastAPI and gRPC.

Projects
B

Bitcart

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

Projects
B

Bunnybook

A tiny social network built with FastAPI, React+RxJs, Neo4j, PostgreSQL, and Redis.

Projects
C

cookiecutter-fastapi

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

Projects
C

cookiecutter-spacy-fastapi

Quick deployments of spaCy models with FastAPI.

Projects
C

Coronavirus-tg-api

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

Projects
D

Dispatch

Manage security incidents.

Projects
D

DogeAPI

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

Projects
F

FastAPI and React Template

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

Projects
F

FastAPI and Tortoise ORM

Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).

Projects
F

FastAPI Model Server Skeleton

Skeleton app to serve machine learning models production-ready.

Projects
F

FastAPI Nano

Simple FastAPI template with factory pattern architecture.

Projects
F

FastAPI on Google Cloud Run

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

Projects
F

FastAPI template

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

Projects
F

FastAPI Websocket Broadcast

Websocket 'broadcast' demo.

Projects
F

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.

Projects
F

FastAPI with Firestore

Boilerplate for API building with FastAPI and Google Cloud Firestore.

Projects
F

FastAPI with Observability

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

Projects
F

fastapi-alembic-sqlmodel-async

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

Projects
F

fastapi-gino-arq-uvicorn

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

Projects
F

fastapi-starter-project

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

Projects
F

Full Stack FastAPI and MongoDB - Base Project G...

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

Projects
F

Full Stack FastAPI and PostgreSQL - Base Projec...

Full Stack FastAPI Template

Projects
F

FuturamaAPI

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

Projects
I

inboard

Docker images to power your FastAPI apps and help you ship faster.

Projects
J

JeffQL

Simple authentication and login API using GraphQL and JWT.

Projects
J

JSON-RPC Server

JSON-RPC server based on FastAPI.

Projects
M

Mailer

Dead-simple mailer micro-service for static websites.

Projects
M

Markdown-Videos

API for generating thumbnails to embed into your markdown content.

Projects
N

Nemo

Be productive with Nemo.

Projects
O

OPAL (Open Policy Administration Layer)

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

Projects
O

openapi-python-client

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

Projects
P

Polar

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

Projects
P

Pywork

Yeoman generator to scaffold a FastAPI app.

Projects
R

RealWorld Example App - mongo

Projects
R

RealWorld Example App - postgres

Projects
R

redis-streams-fastapi-chat

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

Projects
S

Slackers

Slack webhooks API.

Projects
S

Sprites as a service

Generate your personal 8-bit avatars using Cellular Automata.

Projects
S

Sync Flavor

Projects
T

TermPair

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

Projects
U

Universities

API service for obtaining information about +9600 universities worldwide.

Projects
U

Uvicorn Poetry FastAPI Project Template

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.

Projects
U

uvicorn-gunicorn-fastapi-docker

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

Projects
U

uvicorn-gunicorn-poetry

Docker image with Gunicorn using Uvicorn workers for running Python web applications. Uses Poetry for managing dependencies and setting up a virtual environment. Supports AMD64 and ARM64 CPU architectures.

Projects
U

uvicorn-poetry

Docker image with Uvicorn ASGI server for running Python web applications on Kubernetes. Uses Poetry for managing dependencies and setting up a virtual environment. Supports AMD64 and ARM64 CPU architectures.

Projects

Resources(36 items)

A

Async SQLAlchemy with FastAPI

Learn how to use SQLAlchemy asynchronously.

Resources
B

Build and Secure an API in Python with FastAPI

Secure and maintain an API based on FastAPI and SQLAlchemy.

Resources
B

Build The Next Generation Of Python Web Applica...

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.

Resources
B

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.

Resources
B

Building Web APIs Using FastAPI

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

Resources
D

Deploy Machine Learning Models with Keras, Fast...

Resources
D

Developing and Testing an Asynchronous API with...

Develop and test an asynchronous API with FastAPI, Postgres, Pytest, and Docker using Test-Driven Development.

Resources
D

Discord

Chat with other FastAPI users.

Resources
D

Documentation

Comprehensive documentation.

Resources
F

FastAPI - A Web Framework for Python

See how to do numeric validations with FastAPI.

Resources
F

FastAPI Best Practices

Collection of best practices in a GitHub repo.

Resources
F

FastAPI for Flask Users

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

Resources
F

FastAPI has Ruined Flask Forever for Me

Resources
F

FastAPI on PythonBytes

Nice overview of the project.

Resources
F

FastAPI vs. Django vs. Flask

Which framework is best for Python in 2020? Which uses async/await the best? Which is the fastest?

Resources
F

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.

Resources
G

Getting started with GraphQL in Python with Fas...

Generate a FullStack playground using FastAPI, GraphQL and Ariadne.

Resources
I

Implementing FastAPI Services – Abstraction and...

FastAPI application and service structure for a more maintainable codebase.

Resources
I

Introducing FARM Stack - FastAPI, React, and Mo...

Getting started with a complete FastAPI web application stack.

Resources
M

Modern APIs with FastAPI and Python

A course designed to get you creating new APIs running in the cloud with FastAPI quickly.

Resources
M

Multitenancy with FastAPI, SQLAlchemy and Postg...

Learn how to make FastAPI applications multi-tenant ready.

Resources
P

Porting Flask to FastAPI for ML Model Serving

Comparison of Flask vs FastAPI.

Resources
P

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.

Resources
P

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.

Resources
R

Real-time data streaming using FastAPI and WebS...

Learn how to stream data from FastAPI directly into a real-time chart.

Resources
R

Running FastAPI applications in production

Use Gunicorn with systemd for production deployments.

Resources
S

Serving Machine Learning Models As API with Fas...

Build a machine learning API with FastAPI.

Resources
S

Serving Machine Learning Models with FastAPI in...

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

Resources
S

Source Code

Hosted on GitHub.

Resources
S

Streaming video with FastAPI

Learn how to serve video streams.

Resources
T

Test-Driven Development with FastAPI and Docker

Learn how to build, test, and deploy a text summarization microservice with Python, FastAPI, and Docker.

Resources
T

TestDriven.io FastAPI

Multiple FastAPI-specific articles that focus on developing and testing production-ready RESTful APIs, serving up machine learning models, and more.

Resources
T

The Definitive Guide to Celery and FastAPI

Learn how to add Celery to a FastAPI application to provide asynchronous task processing.

Resources
T

Tutorial

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

Resources
U

Using Hypothesis and Schemathesis to Test FastAPI

Apply property-based testing to FastAPI.

Resources
W

Why we switched from Flask to FastAPI for produ...

In-depth look at why you may want to move from Flask to FastAPI.

Resources

Third-Party Extensions(88 items)

A

Aerich

Tortoise ORM migrations tools.

Third-Party Extensions
A

Apitally

API analytics, monitoring, and request logging for FastAPI.

Third-Party Extensions
A

ASGI Correlation ID

Request ID logging middleware.

Third-Party Extensions
A

asyncpgsa

A wrapper around asyncpg for use with SQLAlchemy Core.

Third-Party Extensions
A

AuthX

Customizable Authentications and Oauth2 management for FastAPI.

Third-Party Extensions
B

Beanie

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

Third-Party Extensions
C

CamelCase Models with FastAPI and Pydantic

Accompanying blog post from the author of the extension.

Third-Party Extensions
D

Databases

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

Third-Party Extensions
E

Edgy ORM

Complex databases made simple.

Third-Party Extensions
F

FastAPI Admin

Functional admin panel that provides a user interface for performing CRUD operations on your data. Currently only works with the Tortoise ORM.

Third-Party Extensions
F

FastAPI Amis Admin

A high-performance, efficient and easily extensible FastAPI admin framework.

Third-Party Extensions
F

FastAPI Auth

Pluggable auth that supports the OAuth2 Password Flow with JWT access and refresh tokens.

Third-Party Extensions
F

FastAPI Azure Auth

Azure AD authentication for your APIs with single and multi tenant support.

Third-Party Extensions
F

FastAPI Cache

A simple lightweight cache system.

Third-Party Extensions
F

FastAPI Cache

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

Third-Party Extensions
F

FastAPI Chameleon

Adds integration of the Chameleon template language to FastAPI.

Third-Party Extensions
F

FastAPI Client Generator

Generate a mypy- and IDE-friendly API client from an OpenAPI spec.

Third-Party Extensions
F

FastAPI Cloud Auth

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

Third-Party Extensions
F

FastAPI CloudEvents

CloudEvents integration for FastAPI.

Third-Party Extensions
F

FastAPI Code Generator

Create a FastAPI app from an OpenAPI file, enabling schema-driven development.

Third-Party Extensions
F

FastAPI Contrib

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

Third-Party Extensions
F

FastAPI Cruddy Framework

A companion library to FastAPI designed to bring the development productivity of Ruby on Rails, Ember.js or Sails.js to the FastAPI ecosystem.

Third-Party Extensions
F

FastAPI Events

Asynchronous event dispatching/handling library for FastAPI and Starlette.

Third-Party Extensions
F

FastAPI Example

Third-Party Extensions
F

FastAPI Example

Using FastAPI with ormar.

Third-Party Extensions
F

FastAPI Example

Third-Party Extensions
F

FastAPI Example

An example of the Tortoise-ORM FastAPI integration.

Third-Party Extensions
F

FastAPI Examples

Using FastAPI with Piccolo.

Third-Party Extensions
F

FastAPI FastCRUD

) - Robust async CRUD operations and flexible endpoint creation utilities.

Third-Party Extensions
F

FastAPI FeatureFlags

Simple implementation of feature flags for FastAPI.

Third-Party Extensions
F

FastAPI Injectable

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

Third-Party Extensions
F

FastAPI Jinja

Adds integration of the Jinja template language to FastAPI.

Third-Party Extensions
F

FastAPI JWT Auth

JWT auth (based on Flask-JWT-Extended).

Third-Party Extensions
F

FastAPI Lazy

Lazy package to start your project using FastAPI.

Third-Party Extensions
F

FastAPI Limiter

A request rate limiter for FastAPI.

Third-Party Extensions
F

FastAPI Listing

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

Third-Party Extensions
F

FastAPI Login

Account management and authentication (based on Flask-Login).

Third-Party Extensions
F

FastAPI Mail

Lightweight mail system for sending emails and attachments (individual and bulk).

Third-Party Extensions
F

FastAPI MQTT

An extension for the MQTT protocol.

Third-Party Extensions
F

FastAPI MVC

Developer productivity tool for making high-quality FastAPI production-ready APIs.

Third-Party Extensions
F

FastAPI Opentracing

Opentracing middleware and database tracing support for FastAPI.

Third-Party Extensions
F

FastAPI Pagination

Pagination for FastAPI.

Third-Party Extensions
F

FastAPI Permissions

Row-level permissions.

Third-Party Extensions
F

FastAPI Plugins

Redis and Scheduler plugins.

Third-Party Extensions
F

FastAPI Profiler

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

Third-Party Extensions
F

FastAPI Security

Implements authentication and authorization as dependencies in FastAPI.

Third-Party Extensions
F

FastAPI ServiceUtils

Generator for creating API services.

Third-Party Extensions
F

FastAPI Simple Security

Out-of-the-box API key security manageable through path operations.

Third-Party Extensions
F

FastAPI SocketIO

Easy integration for FastAPI and SocketIO.

Third-Party Extensions
F

FastAPI SQLAlchemy

Simple integration between FastAPI and SQLAlchemy.

Third-Party Extensions
F

FastAPI Users

Account management, authentication, authorization.

Third-Party Extensions
F

FastAPI Utilities

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

Third-Party Extensions
F

FastAPI Versioning

API versioning.

Third-Party Extensions
F

FastAPI Websocket Pub/Sub

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

Third-Party Extensions
F

FastAPI Websocket RPC

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

Third-Party Extensions
F

FastAPI-CamelCase

CamelCase JSON support for FastAPI utilizing Pydantic.

Third-Party Extensions
F

Fastapi-SQLA

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

Third-Party Extensions
F

FastAPIwee

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

Third-Party Extensions
G

GINO

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

Third-Party Extensions
J

Jupyter Notebook REST API

Run your Jupyter notebooks as RESTful API endpoints.

Third-Party Extensions
M

Manage FastAPI

CLI tool for generating and managing FastAPI projects.

Third-Party Extensions
M

MongoEngine

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

Third-Party Extensions
M

Motor

Asynchronous Python driver for MongoDB.

Third-Party Extensions
M

msgpack-asgi

Automatic MessagePack content negotiation.

Third-Party Extensions
O

ODMantic

AsyncIO MongoDB ODM integrated with Pydantic.

Third-Party Extensions
O

OpenTelemetry FastAPI Instrumentation

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

Third-Party Extensions
O

ORM

An async ORM.

Third-Party Extensions
O

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.

Third-Party Extensions
P

Piccolo

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

Third-Party Extensions
P

Piccolo Admin

A powerful and modern admin GUI, using the Piccolo ORM.

Third-Party Extensions
P

Prerender Python Starlette

Starlette middleware for Prerender.

Third-Party Extensions
P

Prisma Client Python

An auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more.

Third-Party Extensions
P

Prometheus FastAPI Instrumentator

A configurable and modular Prometheus Instrumentator for your FastAPI application.

Third-Party Extensions
P

Pydantic-SQLAlchemy

Convert SQLAlchemy models to Pydantic models.

Third-Party Extensions
P

PynamoDB

A pythonic interface to Amazon's DynamoDB.

Third-Party Extensions
P

PyPika

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

Third-Party Extensions
S

Saffier ORM

The only Python ORM you will ever need.

Third-Party Extensions
S

SlowApi

Rate limiter (based on Flask-Limiter).

Third-Party Extensions
S

SQLAlchemy Admin

Admin Panel for FastAPI/Starlette that works with SQLAlchemy models.

Third-Party Extensions
S

SQLModel

SQLModel (which is powered by Pydantic and SQLAlchemy) is a library for interacting with SQL databases from Python code, with Python objects.

Third-Party Extensions
S

Starlette Admin

Admin framework for FastAPI/Starlette, supporting SQLAlchemy, SQLModel, MongoDB, and ODMantic.

Third-Party Extensions
S

Starlette Context

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

Third-Party Extensions
S

Starlette Exporter

One more prometheus integration for FastAPI and Starlette.

Third-Party Extensions
S

Starlette OpenTracing

Opentracing support for Starlette and FastAPI.

Third-Party Extensions
S

Starlette Prometheus

Prometheus integration for FastAPI and Starlette.

Third-Party Extensions
S

Strawberry GraphQL

Python GraphQL library based on dataclasses.

Third-Party Extensions
T

Tortoise ORM

An easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.

Third-Party Extensions
T

Tutorial: Setting up Tortoise ORM with FastAPI

Third-Party Extensions