Top 50 Awesome List

mjhea0/awesome-fastapi

Back-End Development  23 days ago  4.5k
A curated list of awesome things related to FastAPI
View byDAY/WEEK/README
View on Github

Sep 7th

Resources

Best Practices

  • FastAPI Best Practicesstars1.6k - Collection of best practices in a GitHub repo.
  • Hosting

    PaaS

  • Heroku (Step-by-step tutorial, ML model on Heroku tutorial)
  • Jul 17th

    Projects

    Boilerplate

  • fastapi-starter-projectstars23 - A project template which uses FastAPI, SQLModel, Alembic, Pytest, Docker, GitHub Actions CI.
  • Jul 10th

    Third-Party Extensions

    Developer Tools

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

    Open Source Projects

  • Astrobasestars46 - Simple, fast, and secure deployments anywhere.
  • Jun 1st

    Projects

    Boilerplate

  • fastapi-gino-arq-uvicornstars331 - Template for a high-performance async REST API, in Python. FastAPI + GINO + Arq + Uvicorn (w/ Redis and PostgreSQL).
  • fastapi-alembic-sqlmodel-asyncstars140 - This is a project template which uses FastAPI, Alembic, and async SQLModel as ORM.
  • Resources

    Tutorials

  • Introducing FARM Stack - FastAPI, React, and MongoDB - Getting started with a complete FastAPI web application stack.
  • May 24th

    Resources

    Tutorials

  • Multitenancy with FastAPI, SQLAlchemy and PostgreSQL - Learn how to make FastAPI applications multi-tenant ready.
  • May 17th

    Projects

    Open Source Projects

  • Balistars86 - Simplify Cloud Native Microservices development base on FastAPI and gRPC.
  • May 4th

    Projects

    Open Source Projects

  • Nemostars1 - Be productive with Nemo.
  • May 1st

    Projects

    Boilerplate

  • FastAPI on Google Cloud Runstars132 - Boilerplate for API building with FastAPI, SQLModel, and Google Cloud Run.
  • FastAPI with Firestorestars20 - Boilerplate for API building with FastAPI and Google Cloud Firestore.
  • Mar 29th

    Third-Party Extensions

    Utils

  • FastAPI FeatureFlagsstars17 - Simple implementation of feature flags for FastAPI.
  • Mar 1st

    Third-Party Extensions

    Admin

  • FastAPI Adminstars1.5k - Functional admin panel that provides a user interface for performing CRUD operations on your data. Currently only works with the Tortoise ORM.
  • Piccolo Adminstars163 - A powerful and modern admin GUI, using the Piccolo ORM.
  • Feb 26th

    Third-Party Extensions

    Utils

  • FastAPI Opentracingstars19 - Opentracing middleware and database tracing support for FastAPI.
  • Third-Party Extensions

    Admin

  • SQLAlchemy Adminstars583 - Admin Panel for FastAPI/Starlette that works with SQLAlchemy models.
  • Projects

    Docker Images

  • inboardstars108 - Docker images to power your FastAPI apps and help you ship faster.
  • uvicorn-gunicorn-fastapi-dockerstars2k - Docker image with Uvicorn managed by Gunicorn for high-performance FastAPI web applications in Python 3.7 and 3.6 with performance auto-tuning.
  • uvicorn-gunicorn-poetrystars16 - This Docker image provides a platform to run FastAPI using Gunicorn with Uvicorn workers. It provides Poetry for managing dependencies and setting up a virtual environment in the container.
  • uvicorn-poetrystars13 - This Docker image provides a platform to run FastAPI with Uvicorn on Kubernetes container orchestration system. It provides Poetry for managing dependencies and setting up a virtual environment in the container.
  • Resources

    Official Resources

  • Discord - Chat with other FastAPI users.
  • Resources

    Tutorials

  • How to monitor your FastAPI service - Explains how to implement Application Performance Monitoring (APM) using OpenTelemetry and Datadog/Jaeger.
  • Projects

    Open Source Projects

  • FastAPI Websocket Broadcaststars105 - Websocket 'broadcast' demo.
  • Dec 28th, 2021

    Third-Party Extensions

    ORMs

  • Prisma Client Pythonstars818 - An auto-generated, fully type safe ORM powered by Pydantic and tailored specifically for your schema - supports SQLite, PostgreSQL, MySQL, MongoDB, MariaDB and more.
  • Dec 13th, 2021

    Third-Party Extensions

    Utils

  • FastAPI Eventsstars207 - Asynchronous event dispatching/handling library for FastAPI and Starlette.
  • Dec 11th, 2021

    Third-Party Extensions

    Utils

  • FastAPI Cachestars478 - A tool to cache FastAPI response and function results, with support for Redis, Memcached, DynamoDB, and in-memory backends.
  • ASGI Correlation IDstars136 - Request ID logging middleware.
  • FastAPI Lazystars92 - Lazy package to start your project using FastAPI.
  • Third-Party Extensions

    Auth

  • AuthXstars370 - Customizable Authentications and Oauth2 management for FastAPI.
  • FastAPI Securitystars100 - Implements authentication and authorization as dependencies in FastAPI.
  • Resources

    Tutorials

  • Getting started with GraphQL in Python with FastAPI and Ariadne - Generate a FullStack playground using FastAPI, GraphQL and Ariadne.
  • Third-Party Extensions

    Other Tools

  • FastAPI-CamelCase - CamelCase JSON support for FastAPI utilizing Pydantic.
  • Hosting

    PaaS

  • Microsoft Azure App Service
  • Oct 3rd, 2021

    Third-Party Extensions

    Utils

  • Strawberry GraphQLstars2.6k - Python GraphQL library based on dataclasses.
  • Sep 13th, 2021

    Projects

    Boilerplate

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

    Open Source Projects

  • Bunnybookstars174 - A tiny social network built with FastAPI, React+RxJs, Neo4j, PostgreSQL, and Redis.
  • Third-Party Extensions

    Auth

  • FastAPI Azure Authstars193 - Azure AD authentication for your APIs with single and multi tenant support.
  • FastAPI Usersstars2.2k - Account management, authentication, authorization.
  • Sep 11th, 2021

    Third-Party Extensions

    ORMs

  • Tortoise ORM - An easy-to-use asyncio ORM (Object Relational Mapper) inspired by Django.
  • 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

    ODMs

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

    Open Source Projects

  • Universitiesstars57 - API service for obtaining information about +9600 universities worldwide.
  • Aug 27th, 2021

    Third-Party Extensions

    ORMs

  • 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.
  • Resources

    Videos

  • 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.
  • Aug 20th, 2021

    Third-Party Extensions

    ODMs

  • ODMantic - AsyncIO MongoDB ODM integrated with Pydantic.
  • Resources

    Videos

  • FastAPI vs. Django vs. Flask - Which framework is best for Python in 2020? Which uses async/await the best? Which is the fastest?
  • Jul 26th, 2021

    Resources

    Courses

  • The Definitive Guide to Celery and FastAPI - Learn how to add Celery to a FastAPI application to provide asynchronous task processing.
  • Jul 20th, 2021

    Resources

    Tutorials

  • Build and Secure an API in Python with FastAPI - Secure and maintain an API based on FastAPI and SQLAlchemy.
  • Projects

    Open Source Projects

  • DogeAPIstars101 - API with high performance to create a simple blog and CRUD with OAuth2PasswordBearer.
  • JeffQLstars25 - Simple authentication and login API using GraphQL and JWT.
  • Jun 16th, 2021

    Projects

    Boilerplate

  • openapi-python-clientstars475 - Generate modern FastAPI Python clients (via FastAPI) from OpenAPI.
  • Jun 4th, 2021

    Third-Party Extensions

    ORMs

  • FastAPIweestars16 - A simple way to create REST API based on PeeWeestars9.5k models.
  • Resources

    Tutorials

  • Async SQLAlchemy with FastAPI - Learn how to use SQLAlchemy asynchronously.
  • Running FastAPI applications in production - Use Gunicorn with systemd for production deployments.
  • Streaming video with FastAPI - Learn how to serve video streams.
  • Third-Party Extensions

    Utils

  • FastAPI Chameleonstars121 - Adds integration of the Chameleon template language to FastAPI.
  • FastAPI Jinjastars56 - Adds integration of the Jinja template language to FastAPI.
  • Apr 21st, 2021

    Third-Party Extensions

    Utils

  • OpenTelemetry FastAPI Instrumentation - Library provides automatic and manual instrumentation of FastAPI web frameworks, instrumenting http requests served by applications utilizing the framework.
  • Apr 19th, 2021

    Projects

    Open Source Projects

  • OPAL (Open Policy Administration Layer)stars6 - Real-time authorization updates on top of Open-Policy; built with FastAPI, Typer, and FastAPI WebSocket pub/sub.
  • Mar 23rd, 2021

    Third-Party Extensions

    Developer Tools

  • FastAPI Code Generatorstars562 - Create a FastAPI app from an OpenAPI file, enabling schema-driven development.
  • Resources

    Courses

  • Modern APIs with FastAPI and Python - A course designed to get you creating new APIs running in the cloud with FastAPI quickly.
  • Mar 19th, 2021

    Resources

    Courses

  • 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.
  • Mar 4th, 2021

    Third-Party Extensions

    Auth

  • FastAPI Cloud Authstars238 - Simple integration between FastAPI and cloud authentication services (AWS Cognito, Auth0, Firebase Authentication).
  • Feb 23rd, 2021

    Third-Party Extensions

    Utils

  • FastAPI Websocket Pub/Substars7 - The classic pub/sub pattern made easily accessible and scalable over the web and across your cloud in realtime.
  • FastAPI Websocket RPCstars4 - RPC (bidirectional JSON RPC) over Websockets made easy, robust, and production ready.
  • Jan 28th, 2021

    Resources

    Tutorials

  • FastAPI Microservice Patterns - Blog post series with exemplary implementations of microservice patterns.
  • Jan 23rd, 2021

    Third-Party Extensions

    ORMs

  • Piccolostars847 - An async ORM and query builder, supporting Postgres and SQLite, with batteries (migrations, security, etc).
  • Jan 19th, 2021

    Resources

    Tutorials

  • Deploy a Dockerized FastAPI App to Google Cloud Platform - A short guide to deploying a Dockerized Python app to Google Cloud Platform using Cloud Run and a SQL instance.
  • Jan 17th, 2021

    Third-Party Extensions

    Developer Tools

  • FastAPI Profilerstars81 - A FastAPI Middleware of joerick/pyinstrument to check your service performance.
  • Third-Party Extensions

    Utils

  • FastAPI Paginationstars465 - Pagination for FastAPI.
  • FastAPI Limiterstars167 - A request rate limiter for FastAPI.
  • Jan 16th, 2021

    Projects

    Open Source Projects

  • Coronavirus-tg-apistars13 - API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak.
  • Resources

    Tutorials

  • Implementing FastAPI Services – Abstraction and Separation of Concerns - FastAPI application and service structure for a more maintainable codebase.
  • Jan 15th, 2021

    Resources

    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.
  • Jan 7th, 2021

    Third-Party Extensions

    Utils

  • FastAPI MQTTstars133 - An extension for the MQTT protocol.
  • Starlette Contextstars281 - Allows you to store and access the request data anywhere in your project, useful for logging.
  • Starlette OpenTracingstars62 - Opentracing support for Starlette and FastAPI.
  • Starlette Prometheusstars220 - Prometheus integration for FastAPI and Starlette.
  • Jan 5th, 2021

    Third-Party Extensions

    Utils

  • FastAPI CRUDRouterstars875 - A FastAPI router that automatically creates and documents CRUD routes for your models.
  • Resources

    Tutorials

  • Using Hypothesis and Schemathesis to Test FastAPI - Apply property-based testing to FastAPI.
  • Dec 21st, 2020

    Third-Party Extensions

    Utils

  • Prometheus FastAPI Instrumentatorstars384 - A configurable and modular Prometheus Instrumentator for your FastAPI application.
  • Dec 19th, 2020

    Resources

    Tutorials

  • Deploy Machine Learning Models with Keras, FastAPI, Redis and Docker
  • Developing and Testing an Asynchronous API with FastAPI and Pytest - Develop and test an asynchronous API with FastAPI, Postgres, Pytest, and Docker using Test-Driven Development.
  • Dec 16th, 2020

    Dec 3rd, 2020

    Third-Party Extensions

    Utils

  • FastAPI SocketIOstars191 - Easy integration for FastAPI and SocketIO.
  • Nov 9th, 2020

    Resources

    Tutorials

  • Real-time data streaming using FastAPI and WebSockets - Learn how to stream data from FastAPI directly into a real-time chart.
  • Oct 30th, 2020

    Hosting

    Serverless

  • Mangum - Adapter for running ASGI applications with AWS Lambda and API Gateway.
  • Hosting

    PaaS

  • Deta (example)
  • Third-Party Extensions

    Developer Tools

  • Manage FastAPIstars918 - CLI tool for generating and managing FastAPI projects.
  • Third-Party Extensions

    Auth

  • FastAPI JWT Authstars419 - JWT auth (based on Flask-JWT-Extendedstars1.4k).
  • Oct 26th, 2020

    Projects

    Open Source Projects

  • Awesome FastAPI Projectsstars654 - Organized list of projects that use FastAPI.
  • Oct 21st, 2020

    Third-Party Extensions

    Email

  • FastAPI Mailstars365 - Lightweight mail system for sending emails and attachments (individual and bulk).
  • Sep 23rd, 2020

    Third-Party Extensions

    Auth

  • FastAPI Simple Securitystars135 - Out-of-the-box API key security manageable through path operations.
  • Sep 20th, 2020

    Projects

    Open Source Projects

  • Bitcartstars167 - Platform for merchants, users and developers which offers easy setup and use.
  • Aug 8th, 2020

    Resources

    Tutorials

  • FastAPI for Flask Users - Learn FastAPI with a side-by-side code comparison to Flask.
  • Jul 28th, 2020

    Third-Party Extensions

    Utils

  • FastAPI Cachestars186 - A simple lightweight cache system.
  • Jul 1st, 2020

    Third-Party Extensions

    ODMs

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

    Developer Tools

  • msgpack-asgistars114 - Automatic MessagePack content negotiation.
  • Resources

    Official Resources

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

    Podcasts

  • FastAPI on PythonBytes - Nice overview of the project.
  • Resources

    Articles

  • Why we switched from Flask to FastAPI for production machine learning - In-depth look at why you may want to move from Flask to FastAPI.
  • Resources

    Tutorials

  • Deploying Iris Classifications with FastAPI and Docker - Dockerizing a FastAPI application.
  • Porting Flask to FastAPI for ML Model Serving - Comparison of Flask vs FastAPI.
  • Serving Machine Learning Models with FastAPI in Python - Use FastAPI to quickly and easily deploy and serve machine learning models in Python as a RESTful API.
  • Resources

    Talks

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

    Videos

  • Building Web APIs Using FastAPI - Use FastAPI to build a web application programming interface (RESTful API).
  • FastAPI - A Web Framework for Python - See how to do numeric validations with FastAPI.
  • Serving Machine Learning Models As API with FastAPI - Build a machine learning API with FastAPI.
  • Projects

    Boilerplate

  • FastAPI and Tortoise ORMstars91 - Powerful but simple template for web APIs w/ FastAPI (as web framework) and Tortoise-ORM (for working via database without headache).
  • cookiecutter-fastapistars195 - Cookiecutter template for FastAPI projects using: Machine Learning, Poetry, Azure Pipelines and pytest.
  • FastAPI and React Templatestars1.3k - Full stack cookiecutter boilerplate using FastAPI, TypeScript, Docker, PostgreSQL, and React.
  • Projects

    Open Source Projects

  • FastAPI with Celery, RabbitMQ, and Redisstars340 - Minimal example utilizing FastAPI and Celery with RabbitMQ for task queue, Redis for Celery backend, and Flower for monitoring the Celery tasks.
  • JSON-RPC Serverstars187 - JSON-RPC server based on FastAPI.
  • redis-streams-fastapi-chatstars125 - A simple Redis Streams backed chat app using Websockets, Asyncio and FastAPI/Starlette.
  • TermPairstars1.5k - View and control terminals from your browser with end-to-end encryption.
  • Jun 14th, 2020

    Projects

    Boilerplate

  • FastAPI Nanostars500 - Simple FastAPI template with factory pattern architecture.
  • Jun 9th, 2020

    Third-Party Extensions

    Auth

  • FastAPI Authstars92 - Pluggable auth that supports the OAuth2 Password Flow with JWT access and refresh tokens.
  • FastAPI Loginstars373 - Account management and authentication (based on Flask-Loginstars3.1k).
  • FastAPI Permissionsstars290 - Row-level permissions.
  • Third-Party Extensions

    ORMs

  • FastAPI SQLAlchemystars435 - Simple integration between FastAPI and SQLAlchemy.
  • GINOstars2.5k - A lightweight asynchronous ORM built on top of SQLAlchemy core for Python asyncio.
  • ORMstars1.6k - An async ORM.
  • Third-Party Extensions

    Query Builders

  • asyncpgsastars404 - A wrapper around asyncpgstars5.6k for use with SQLAlchemy Core.
  • Databasesstars3.1k - Async SQL query builder that works on top of the SQLAlchemy Core expression language.
  • Third-Party Extensions

    ODMs

  • Motor - Asynchronous Python driver for MongoDB.
  • Third-Party Extensions

    Other Tools

  • Pydantic-SQLAlchemystars855 - Convert SQLAlchemy models to Pydantic models.
  • Third-Party Extensions

    Developer Tools

  • FastAPI Client Generatorstars260 - Generate a mypy- and IDE-friendly API client from an OpenAPI spec.
  • FastAPI Versioningstars427 - API versioning.
  • Jupyter Notebook REST APIstars52 - Run your Jupyter notebooks as RESTful API endpoints.
  • Third-Party Extensions

    Utils

  • FastAPI Contribstars531 - Opinionated set of utilities: pagination, auth middleware, permissions, custom exception handlers, MongoDB support, and Opentracing middleware.
  • FastAPI Pluginsstars228 - Redis and Scheduler plugins.
  • FastAPI ServiceUtilsstars31 - Generator for creating API services.
  • FastAPI Utilitiesstars1.2k - Reusable utilities: class-based views, response inferring router, periodic tasks, timing middleware, SQLAlchemy session, OpenAPI spec simplification.
  • Prerender Python Starlettestars14 - Starlette middleware for Prerender.
  • SlowApistars503 - Rate limiter (based on Flask-Limiter).
  • Starlette Exporterstars208 - One more prometheus integration for FastAPI and Starlette.
  • Resources

    Official Resources

  • Documentation - Comprehensive documentation.
  • Source Codestars50k - Hosted on GitHub.
  • Resources

    Podcasts

  • Build The Next Generation Of Python Web Applications With FastAPI - 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.
  • Resources

    Courses

  • Test-Driven Development with FastAPI and Docker - Learn how to build, test, and deploy a text summarization microservice with Python, FastAPI, and Docker.
  • Hosting

    Serverless

  • Vercel - (formerly Zeit) (examplestars24).
  • Projects

    Boilerplate

  • Full Stack FastAPI and PostgreSQL - Base Project Generatorstars9.9k - 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 Model Server Skeletonstars252 - Skeleton app to serve machine learning models production-ready.
  • cookiecutter-spacy-fastapistars354 - Quick deployments of spaCy models with FastAPI.
  • Pyworkstars9 - Yeoman generator to scaffold a FastAPI app.
  • Projects

    Open Source Projects

  • Dispatchstars3.5k - Manage security incidents.
  • Mailerstars37 - Dead-simple mailer micro-service for static websites.
  • Sprites as a servicestars257 - Generate your personal 8-bit avatars using Cellular Automata.
  • Slackersstars64 - Slack webhooks API.
  • May 3rd, 2020

    Hosting

    PaaS

  • AWS Elastic Beanstalk
  • Google App Engine
  • Hosting

    IaaS

  • AWS EC2
  • Google Compute Engine
  • Digital Ocean
  • Linode
  • Hosting

    Serverless

  • Chalicestars9.2k
  • Projects

    Open Source Projects

  • FastAPI CRUD Example:
  • Last Checked At: 2022-09-30T06:11:04.940Z
    Previous
    ucg8j/awesome-dash
    Next
    kalaiser/awesome-cdk

    About

    Track your favorite github awesome repo, not just star it. trackawesomelist.com provides website, newsletter, RSS for tracking the popular awesome list by daily and weekly.
    Contact us: [email protected]
    Track Awesome List - Track your favorite Github awesome repos, not just star them | Product Hunt

    Subscribe

    Subscribe to our weekly newsletter to receive the awesome updates! We never send spam and you can unsubscribe instantly with one click. Here's past issues.

    Links

    Follow us on TwitterSubscribe us on TelegramSubmit awesome list repoNewsletterDonateSitemap