Skip to content

List of automatically rated Python packages for FastAPI.

License

Notifications You must be signed in to change notification settings

fkromer/best-of-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

best-of-fastapi

πŸ†Β  A ranked list of awesome projects. Updated weekly.

This curated list contains 39 awesome open-source projects with a total of 87K stars grouped into 11 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to open an issue, submit a pull request, or directly edit the projects.yaml. Contributions are very welcome!

πŸ§™β€β™‚οΈ Discover other best-of lists or create your own.

Contents

Explanation

  • πŸ₯‡πŸ₯ˆπŸ₯‰Β  Combined project-quality score
  • ⭐️  Star count from GitHub
  • 🐣  New project (less than 6 months old)
  • πŸ’€Β  Inactive project (12 months no activity)
  • πŸ’€Β  Dead project (60 months no activity)
  • πŸ“ˆπŸ“‰Β  Project is trending up or down
  • βž•Β  Project was recently added
  • ❗️  Warning (e.g. missing/risky license)
  • πŸ‘¨β€πŸ’»Β  Contributors count from GitHub
  • πŸ”€Β  Fork count from GitHub
  • πŸ“‹Β  Issue count from GitHub
  • ⏱️  Last update timestamp on package manager
  • πŸ“₯Β  Download count from package manager
  • πŸ“¦Β  Number of dependent projects

Admin Interface

Back to top

sqladmin (πŸ₯‡31 Β· ⭐ 1.9K) - SQLAlchemy Admin for FastAPI and Starlette. BSD-3
  • GitHub (πŸ‘¨β€πŸ’» 63 Β· πŸ”€ 190 Β· πŸ“¦ 1.2K Β· πŸ“‹ 240 - 17% open Β· ⏱️ 04.11.2024):

     git clone https://github.com/aminalaee/sqladmin
    
  • PyPi (πŸ“₯ 120K / month):

     pip install sqladmin
    
fastapi-admin (πŸ₯‰25 Β· ⭐ 2.9K) - A fast admin dashboard based on FastAPI and TortoiseORM with.. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 16 Β· πŸ”€ 370 Β· πŸ“¦ 400 Β· πŸ“‹ 120 - 41% open Β· ⏱️ 05.09.2024):

     git clone https://github.com/fastapi-admin/fastapi-admin
    
  • PyPi (πŸ“₯ 8K / month):

     pip install fastapi-admin
    
piccolo-admin (πŸ₯‰21 Β· ⭐ 320) - A powerful web admin for your database. MIT
  • GitHub (πŸ‘¨β€πŸ’» 18 Β· πŸ”€ 38 Β· πŸ“‹ 170 - 23% open Β· ⏱️ 15.11.2024):

     git clone https://github.com/piccolo-orm/piccolo_admin
    
  • PyPi (πŸ“₯ 10K / month):

     pip install piccolo-admin
    

CRUD

Back to top

FastCRUD (πŸ₯‡20 Β· ⭐ 690 Β· πŸ“‰) - FastCRUD is a Python package for FastAPI, offering robust async CRUD.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 13 Β· πŸ”€ 58 Β· πŸ“¦ 110 Β· πŸ“‹ 76 - 34% open Β· ⏱️ 21.10.2024):

     git clone https://github.com/igorbenav/fastcrud
    

Database - ODMs

Back to top

mongoengine (πŸ₯‡40 Β· ⭐ 4.2K) - A Python Object-Document-Mapper for working with MongoDB. MIT
  • GitHub (πŸ‘¨β€πŸ’» 400 Β· πŸ”€ 1.2K Β· πŸ“¦ 26K Β· πŸ“‹ 1.7K - 17% open Β· ⏱️ 09.10.2024):

     git clone https://github.com/MongoEngine/mongoengine
    
  • PyPi (πŸ“₯ 1.6M / month):

     pip install mongoengine
    
motor (πŸ₯ˆ35 Β· ⭐ 2.4K) - Motor - the async Python driver for MongoDB and Tornado or asyncio. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 54 Β· πŸ”€ 200 Β· πŸ“₯ 33 Β· πŸ“¦ 100K Β· ⏱️ 20.11.2024):

     git clone https://github.com/mongodb/motor
    
  • PyPi (πŸ“₯ 3M / month):

     pip install motor
    
pymongo (πŸ₯‰33 Β· ⭐ 4.2K) - PyMongo - the Official MongoDB Python driver. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 220 Β· πŸ”€ 1.1K Β· πŸ“₯ 510 Β· ⏱️ 20.11.2024):

     git clone https://github.com/mongodb/mongo-python-driver
    
  • PyPi (πŸ“₯ 38M / month):

     pip install pymongo
    
beanie (πŸ₯‰31 Β· ⭐ 2.1K) - Asynchronous Python ODM for MongoDB. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 97 Β· πŸ”€ 220 Β· πŸ“¦ 3K Β· πŸ“‹ 440 - 19% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/roman-right/beanie
    
  • PyPi (πŸ“₯ 250K / month):

     pip install beanie
    
odmantic (πŸ₯‰23 Β· ⭐ 1.1K) - Sync and Async ODM (Object Document Mapper) for MongoDB based on python.. ISC
  • GitHub (πŸ‘¨β€πŸ’» 19 Β· πŸ”€ 90 Β· πŸ“¦ 3.4K Β· πŸ“‹ 170 - 47% open Β· ⏱️ 26.04.2024):

     git clone https://github.com/art049/odmantic
    
  • PyPi (πŸ“₯ 32K / month):

     pip install odmantic
    

Database - ORMs

Back to top

sqlalchemy (πŸ₯‡45 Β· ⭐ 9.7K) - The Database Toolkit for Python. MIT
  • GitHub (πŸ‘¨β€πŸ’» 740 Β· πŸ”€ 1.4K Β· πŸ“₯ 51K Β· πŸ“¦ 910K Β· πŸ“‹ 7.9K - 2% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/sqlalchemy/sqlalchemy
    
  • PyPi (πŸ“₯ 150M / month):

     pip install sqlalchemy
    
tortoise-orm (πŸ₯ˆ35 Β· ⭐ 4.7K) - Familiar asyncio ORM for python, built with relations in mind. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 150 Β· πŸ”€ 390 Β· πŸ“₯ 16 Β· πŸ“¦ 8.7K Β· πŸ“‹ 1.1K - 44% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/tortoise/tortoise-orm
    
  • PyPi (πŸ“₯ 260K / month):

     pip install tortoise-orm
    
piccolo (πŸ₯ˆ30 Β· ⭐ 1.5K) - A fast, user friendly ORM and query builder which supports asyncio. MIT
  • GitHub (πŸ‘¨β€πŸ’» 46 Β· πŸ”€ 90 Β· πŸ“¦ 410 Β· πŸ“‹ 430 - 28% open Β· ⏱️ 07.11.2024):

     git clone https://github.com/piccolo-orm/piccolo
    
  • PyPi (πŸ“₯ 160K / month):

     pip install piccolo
    
ormar (πŸ₯‰29 Β· ⭐ 1.7K) - python async orm with fastapi in mind and pydantic validation. MIT
  • GitHub (πŸ‘¨β€πŸ’» 38 Β· πŸ”€ 87 Β· πŸ“¦ 1.1K Β· πŸ“‹ 270 - 27% open Β· ⏱️ 02.10.2024):

     git clone https://github.com/collerek/ormar
    
  • PyPi (πŸ“₯ 150K / month):

     pip install ormar
    
prisma (πŸ₯‰25 Β· ⭐ 1.9K) - Prisma Client Python is an auto-generated and fully type-safe.. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 31 Β· πŸ”€ 80 Β· πŸ“‹ 400 - 48% open Β· ⏱️ 06.09.2024):

     git clone https://github.com/RobertCraigie/prisma-client-py
    
  • PyPi (πŸ“₯ 1.1M / month):

     pip install prisma
    
gino (πŸ₯‰24 Β· ⭐ 2.7K Β· πŸ’€) - GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core. ❗Unlicensed
  • GitHub (πŸ‘¨β€πŸ’» 45 Β· πŸ”€ 150 Β· πŸ“¦ 2.5K Β· πŸ“‹ 310 - 14% open Β· ⏱️ 12.02.2022):

     git clone https://github.com/python-gino/gino
    
  • PyPi (πŸ“₯ 26K / month):

     pip install gino
    
orm (πŸ₯‰22 Β· ⭐ 1.8K Β· πŸ’€) - An async ORM. BSD-3
  • GitHub (πŸ‘¨β€πŸ’» 18 Β· πŸ”€ 95 Β· πŸ“¦ 540 Β· πŸ“‹ 81 - 20% open Β· ⏱️ 30.08.2022):

     git clone https://github.com/encode/orm
    
  • PyPi (πŸ“₯ 4.2K / month):

     pip install orm
    

Database - ORM Integrations

Back to top

sqlmodel (πŸ₯‡37 Β· ⭐ 15K) - SQL databases in Python, designed for simplicity, compatibility, and.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 81 Β· πŸ”€ 620 Β· πŸ“¦ 18K Β· πŸ“‹ 340 - 52% open Β· ⏱️ 08.11.2024):

     git clone https://github.com/tiangolo/sqlmodel
    
  • PyPi (πŸ“₯ 2.5M / month):

     pip install sqlmodel
    
fastapi-sqlalchemy (πŸ₯‰18 Β· ⭐ 620) - Adds simple SQLAlchemy support to FastAPI. MIT
  • GitHub (πŸ‘¨β€πŸ’» 7 Β· πŸ”€ 38 Β· πŸ“¦ 3 Β· πŸ“‹ 23 - 43% open Β· ⏱️ 09.04.2024):

     git clone https://github.com/mfreeborn/fastapi-sqlalchemy
    
  • PyPi (πŸ“₯ 73K / month):

     pip install fastapi-sqlalchemy
    

GraphQL API

Back to top

graphene (πŸ₯‡38 Β· ⭐ 8.1K) - GraphQL framework for Python. MIT
  • GitHub (πŸ‘¨β€πŸ’» 210 Β· πŸ”€ 810 Β· πŸ“¦ 24K Β· πŸ“‹ 1K - 8% open Β· ⏱️ 09.11.2024):

     git clone https://github.com/graphql-python/graphene
    
  • PyPi (πŸ“₯ 13M / month):

     pip install graphene
    
ariadne (πŸ₯ˆ33 Β· ⭐ 2.2K Β· πŸ“ˆ) - Python library for implementing GraphQL servers using schema-first.. BSD-3
  • GitHub (πŸ‘¨β€πŸ’» 78 Β· πŸ”€ 180 Β· πŸ“¦ 1.7K Β· πŸ“‹ 320 - 9% open Β· ⏱️ 19.11.2024):

     git clone https://github.com/mirumee/ariadne
    
  • PyPi (πŸ“₯ 450K / month):

     pip install ariadne
    
strawberry (πŸ₯‰27 Β· ⭐ 4K) - A GraphQL library for Python that leverages type annotations. MIT
  • GitHub (πŸ‘¨β€πŸ’» 260 Β· πŸ”€ 520 Β· πŸ“₯ 580 Β· πŸ“‹ 1K - 37% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/strawberry-graphql/strawberry
    
  • PyPi (πŸ“₯ 710 / month):

     pip install strawberry
    
tartiflette (πŸ₯‰20 Β· ⭐ 860 Β· πŸ’€) - GraphQL Engine built with Python 3.6+ / asyncio. MIT
  • GitHub (πŸ‘¨β€πŸ’» 27 Β· πŸ”€ 37 Β· πŸ“‹ 140 - 8% open Β· ⏱️ 20.01.2022):

     git clone https://github.com/tartiflette/tartiflette
    
  • PyPi (πŸ“₯ 5.6K / month):

     pip install tartiflette
    

RESTful API - Authentication

Back to top

fastapi-users (πŸ₯‡33 Β· ⭐ 4.7K) - Ready-to-use and customizable users management for FastAPI. MIT
  • GitHub (πŸ‘¨β€πŸ’» 69 Β· πŸ”€ 380 Β· πŸ“₯ 300 Β· πŸ“¦ 4.2K Β· πŸ“‹ 280 - 3% open Β· ⏱️ 18.11.2024):

     git clone https://github.com/fastapi-users/fastapi-users
    
  • PyPi (πŸ“₯ 160K / month):

     pip install fastapi-users
    
fastapi-azure-auth (πŸ₯ˆ25 Β· ⭐ 470) - Easy and secure implementation of Azure Entra ID.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 28 Β· πŸ”€ 67 Β· πŸ“¦ 92 Β· πŸ“‹ 100 - 1% open Β· ⏱️ 03.11.2024):

     git clone https://github.com/Intility/fastapi-azure-auth
    
  • PyPi (πŸ“₯ 130K / month):

     pip install fastapi-azure-auth
    
authx (πŸ₯ˆ24 Β· ⭐ 820 Β· πŸ“‰) - Ready-to-use and customizable Authentications and Oauth2 management.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 17 Β· πŸ”€ 49 Β· πŸ“¦ 37 Β· πŸ“‹ 54 - 9% open Β· ⏱️ 12.11.2024):

     git clone https://github.com/yezz123/AuthX
    
  • PyPi (πŸ“₯ 7.6K / month):

     pip install authx
    
fastapi-login (πŸ₯ˆ24 Β· ⭐ 640) - FastAPI-Login tries to provide similar functionality as.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 14 Β· πŸ”€ 57 Β· πŸ“₯ 8 Β· πŸ“¦ 1K Β· ⏱️ 18.09.2024):

     git clone https://github.com/MushroomMaula/fastapi_login
    
  • PyPi (πŸ“₯ 50K / month):

     pip install fastapi-login
    
fastapi-cloudauth (πŸ₯‰19 Β· ⭐ 340 Β· πŸ’€) - Simple integration between FastAPI and cloud.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 6 Β· πŸ”€ 35 Β· πŸ“¦ 92 Β· πŸ“‹ 48 - 62% open Β· ⏱️ 12.05.2022):

     git clone https://github.com/tokusumi/fastapi-cloudauth
    
  • PyPi (πŸ“₯ 36K / month):

     pip install fastapi-cloudauth
    
fastapi-jwt-auth (πŸ₯‰18 Β· ⭐ 660 Β· πŸ’€) - FastAPI extension that provides JWT Auth support.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 3 Β· πŸ”€ 120 Β· πŸ“‹ 83 - 56% open Β· ⏱️ 11.11.2020):

     git clone https://github.com/IndominusByte/fastapi-jwt-auth
    
  • PyPi (πŸ“₯ 86K / month):

     pip install fastapi-jwt-auth
    
fastapi-security (πŸ₯‰16 Β· ⭐ 140 Β· πŸ’€) - Implements authentication and authorization as.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 3 Β· πŸ”€ 7 Β· πŸ“₯ 70 Β· πŸ“¦ 82 Β· πŸ“‹ 4 - 25% open Β· ⏱️ 15.05.2022):

     git clone https://github.com/jacobsvante/fastapi-security
    
  • PyPi (πŸ“₯ 13K / month):

     pip install fastapi-security
    
fastapi-simple-security (πŸ₯‰14 Β· ⭐ 330 Β· πŸ’€) - Drop-in API-key based security for FastAPI. MIT
  • GitHub (πŸ‘¨β€πŸ’» 7 Β· πŸ”€ 32 Β· πŸ“‹ 11 - 9% open Β· ⏱️ 18.07.2023):

     git clone https://github.com/mrtolkien/fastapi_simple_security
    
  • PyPi (πŸ“₯ 1.3K / month):

     pip install fastapi-simple-security
    
fastapi-auth (πŸ₯‰7 Β· ⭐ 140 Β· πŸ’€) - Auth for use with FastAPI. MIT
  • GitHub (πŸ”€ 8 Β· πŸ“‹ 2 - 50% open Β· ⏱️ 18.12.2019):

     git clone https://github.com/dmontagu/fastapi-auth
    
  • PyPi (πŸ“₯ 290 / month):

     pip install fastapi-auth
    

RESTful API - Rate Limiting

Back to top

SlowApi (πŸ₯‡26 Β· ⭐ 1.2K) - A rate limiter for Starlette and FastAPI. MIT
  • GitHub (πŸ‘¨β€πŸ’» 26 Β· πŸ”€ 79 Β· πŸ“¦ 3.3K Β· πŸ“‹ 94 - 34% open Β· ⏱️ 27.06.2024):

     git clone https://github.com/laurentS/slowapi
    
  • PyPi (πŸ“₯ 640K / month):

     pip install slowapi
    
fastapi-limiter (πŸ₯‰22 Β· ⭐ 510) - A request rate limiter for fastapi. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 12 Β· πŸ”€ 52 Β· πŸ“¦ 1.8K Β· πŸ“‹ 42 - 66% open Β· ⏱️ 05.01.2024):

     git clone https://github.com/long2ice/fastapi-limiter
    
  • PyPi (πŸ“₯ 92K / month):

     pip install fastapi-limiter
    

RESTful API - Pagination

Back to top

fastapi-pagination (πŸ₯‡33 Β· ⭐ 1.2K) - FastAPI pagination. MIT
  • GitHub (πŸ‘¨β€πŸ’» 48 Β· πŸ”€ 140 Β· πŸ“¦ 3K Β· πŸ“‹ 230 - 4% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/uriyyo/fastapi-pagination
    
  • PyPi (πŸ“₯ 810K / month):

     pip install fastapi-pagination
    

RESTful API - Observability

Back to top

opentelemetry-instrumentation-fastapi (πŸ₯‡35 Β· ⭐ 740) - OpenTelemetry instrumentation for Python modules. Apache-2
  • GitHub (πŸ‘¨β€πŸ’» 310 Β· πŸ”€ 600 Β· πŸ“¦ 2.3K Β· πŸ“‹ 1.2K - 35% open Β· ⏱️ 21.11.2024):

     git clone https://github.com/open-telemetry/opentelemetry-python-contrib
    
  • PyPi (πŸ“₯ 7.2M / month):

     pip install opentelemetry-instrumentation-fastapi
    
prometheus-fastapi-instrumentator (πŸ₯‰26 Β· ⭐ 980) - Instrument your FastAPI with Prometheus metrics. ISC
  • GitHub (πŸ‘¨β€πŸ’» 28 Β· πŸ”€ 81 Β· πŸ“¦ 2.8K Β· πŸ“‹ 98 - 37% open Β· ⏱️ 13.03.2024):

     git clone https://github.com/trallnag/prometheus-fastapi-instrumentator
    
  • PyPi (πŸ“₯ 1.8M / month):

     pip install prometheus-fastapi-instrumentator
    
fastapi-opentracing (πŸ₯‰9 Β· ⭐ 24 Β· πŸ’€) - fastapi opentracing middleware works on k8s. MIT
  • GitHub (πŸ‘¨β€πŸ’» 5 Β· πŸ”€ 7 Β· πŸ“‹ 6 - 83% open Β· ⏱️ 19.01.2022):

     git clone https://github.com/wesdu/fastapi-opentracing
    
  • PyPi (πŸ“₯ 400 / month):

     pip install fastapi-opentracing
    

RESTful API - Templating

Back to top

fastapi-chameleon (πŸ₯‡13 Β· ⭐ 140) - Adds integration of the Chameleon template language to.. MIT
  • GitHub (πŸ‘¨β€πŸ’» 8 Β· πŸ”€ 27 Β· πŸ“‹ 14 - 7% open Β· ⏱️ 10.11.2024):

     git clone https://github.com/mikeckennedy/fastapi-chameleon
    
  • PyPi (πŸ“₯ 750 / month):

     pip install fastapi-chameleon
    
fastapi-jinja (πŸ₯‰9 Β· ⭐ 69) - Adds integration of the Jinja template language to FastAPI. MIT
  • GitHub (πŸ‘¨β€πŸ’» 5 Β· πŸ”€ 11 Β· ⏱️ 16.11.2024):

     git clone https://github.com/AGeekInside/fastapi-jinja
    
  • PyPi (πŸ“₯ 370 / month):

     pip install fastapi-jinja
    

Related Resources

  • Best-of lists: Discover other best-of lists with awesome open-source projects on all kinds of topics.

Contribution

Contributions are encouraged and always welcome! If you like to add or update projects, choose one of the following ways:

  • Open an issue by selecting one of the provided categories from the issue page and fill in the requested information.
  • Modify the projects.yaml with your additions or changes, and submit a pull request. This can also be done directly via the Github UI.

If you like to contribute to or share suggestions regarding the project metadata collection or markdown generation, please refer to the best-of-generator repository. If you like to create your own best-of list, we recommend to follow this guide.

For more information on how to add or update projects, please read the contribution guidelines. By participating in this project, you agree to abide by its Code of Conduct.

License

CC0

About

List of automatically rated Python packages for FastAPI.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published