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

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • fastapi

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

    Hey! FastAPI creator here

    Nice surprise to find this shared on HN!

    It's also great to see so many products/projects and companies using it successfuly in production!

    I see a bunch of questions related to "how FastAPI compares to X", FastAPI was built from the learnings from other awesome tools, and is built on top of great packages. You can read a lot more about it here:

    If you have questions or problems, you can ask in GitHub issues:

    There's also an official Discord chat:

    And finally, if you use FastAPI, I would love your input in the first user survey (you could win stickers ):

  • full-stack-fastapi-postgresql

    Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Docker, automatic HTTPS and more.

    I'm glad you're liking FastAPI!

    You could check the official project generator, it includes a simple Vue.js front end:

    Although I'm currently using React with TypeScript and hooks, and it's a great development experience. I plan on adding it to the project generator later.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • fastapi-users

    Ready-to-use and customizable users management for FastAPI

    I'd recommend you check out FastAPI-Users if you haven't already:

    It provides a users framework with OAuth2 integration, support for different ORM backends, and routes for authentication, verification, etc.

    Full disclosure: I am a contributor to this project.

  • fastapi_cache

    FastAPI simple cache

    We are using FastAPI in production.

    Some useful links:

    - Cookiecutter:

    - Cache:

  • fastapi-crudrouter

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

    Thanks, that's a really helpful example.

    Where I think this could be taken to the next level of reusability is in modularising the front-end into API-specific components. For example, the login behaviour could depend on FastAPI-Users, with a sibling frontend library containing components that implement the same login flow. Adding user behaviour is then a matter of using the same third-party library on the front and back end.

    This approach could be extended to other components such as an admin panel (perhaps using, or a blogging component.

  • aiosql

    Simple SQL in Python

    I've been using FastAPI for some time, and now I'm using it as a full web framework (not just for REST APIs). I like writing SQL without ORMs, so the combination of aiosql[0] + FastAPI + Jinja2 works great. Add HTMX[1] and even interactive websites become easy.

    That's in fact the stack I am using to build and I couldn't enjoy it more.

    Thanks Sebastián for creating it!


  • EteSync Server

    The Etebase server (so you can run your own) (by etesync)

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • docker-flask-example

    A production ready example Flask app that's using Docker and Docker Compose.

    I still happily use Flask with mostly Jinja rendered templates. With things like Hotwire and htmx you can build very nice feeling apps without going all-in with an API back-end and JS front-end.

    I released as a starter kit for what I use. It wires up things like SQLAlchemy, Celery, Flask, gunicorn, Webpack, etc. with Docker.

  • mangum

    AWS Lambda support for ASGI applications

    It does when paired with mangum

  • databases

    Async database support for Python. 🗄

    Thoughts on aiosql vs encode/databases[0]? Same creator as starlette (under the hood of FastAPI)


  • openapi-generator

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

    I use openapi-generator with FastAPI to do this. It has a lot of languages and libraries you can choose from to generate your clients side code in.

  • admin

    A beautiful and fully-featured administration interface builder for hypermedia APIs (by api-platform)

    I think the idea is that FastAPI does one thing and does it well. You can mix in other parts of what you need, in the same way FastAPI itself leans on great projects.

    SQLAlchemy + Alembic are standard because they're robust and well-know, but there are alternatives (particularly with async)[0][1]

    For admin you can FE it with something like react-admin which has pluggable data providers, or api-admin[3]




NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts