/awesome-fastapi

A curated list of awesome things related to FastAPI

Creative Commons Zero v1.0 UniversalCC0-1.0

Awesome FastAPI Awesome

A curated list of awesome things related to FastAPI.

FastAPI is a modern, high-performance, batteries-included Python web framework that's perfect for building RESTful APIs.

Contents

Third-Party Extensions

Admin

  • FastAPI Admin - Functional admin panel that provides a user interface for performing CRUD operations on your data.

Auth

Databases

ORMs

Query Builders

ODMs

  • Beanie - Asynchronous Python ODM for MongoDB, based on Motor and Pydantic, which supports data and schema migrations out of the box.
  • MongoEngine - A Document-Object Mapper (think ORM, but for document databases) for working with MongoDB from Python.
  • Motor - Asynchronous Python driver for MongoDB.
  • ODMantic - AsyncIO MongoDB ODM integrated with Pydantic.

Other Tools

Developer Tools

Email

  • FastAPI Mail - Lightweight mail system for sending emails and attachments (individual and bulk).

Utils

Resources

Official Resources

  • Documentation - Comprehensive documentation.
  • Tutorial - Official tutorial showing you how to use FastAPI with most of its features, step by step.
  • Source Code - Hosted on GitHub.
  • Gitter Chat - Chat with other FastAPI users.

External Resources

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

Podcasts

Articles

Tutorials

Talks

Videos

Courses

Hosting

PaaS

(Platforms-as-a-Service)

IaaS

(Infrastructure-as-a-Service)

Serverless

Frameworks:

Compute:

Projects

Boilerplate

  • Full Stack FastAPI and PostgreSQL - Base Project Generator - Full stack, modern web application generator, which includes FastAPI, PostgreSQL, Docker, Celery, Vue frontend, automatic HTTPS and more (developed by the creator of FastAPI, Sebastián Ramírez).
  • 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).
  • FastAPI Model Server Skeleton - Skeleton app to serve machine learning models production-ready.
  • cookiecutter-spacy-fastapi - Quick deployments of spaCy models with FastAPI.
  • cookiecutter-fastapi - Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.
  • openapi-python-client - Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.
  • Pywork - Yeoman generator to scaffold a FastAPI app.
  • 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.
  • fastapi-gino-arq-uvicorn - Template for a high-performance async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
  • FastAPI and React Template - Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.
  • FastAPI Nano - Simple FastAPI template with factory pattern architecture.
  • inboard - Docker images to power your FastAPI apps and help you ship faster.
  • FastAPI Cookiecutter Template for building Python 3.9+ FastAPI REST API applications using best practices and design patterns: Async database access (Encode Databases), Correct ASGI Lifespan events management, Docker image for deployment based on multi-stage builds, Session management, Cache using Redis (aioredis), Asynchronous tests based on httpx and alt-pytest-asyncio, creates Mercurial/Git hooks for pre-commit and pre-push events, etc.

Open Source Projects



NOTE: This project is powered by TestDriven.io. Please support this open source project by purchasing our FastAPI course: Test-Driven Development with FastAPI and Docker.