Flask vs FastAPI?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • fastapi

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

  • He has been maintaining it. Saying there's been no work on it or that it's been unmaintained for over a year is false. Perhaps he project isn't moving as quickly as *you* want, but that doesn't matter. It's not your project. He's releasing new versions and hasn't disappeared from the community whatsoever. Your opinion of whether his releases are "fake" or not isn't that valuable either. Documentation and translation is important work as well. The list of releases is available here: https://github.com/tiangolo/fastapi/releases

  • pydantic-core

    Core validation logic for pydantic written in rust

  • Also Pydantic will move to Rust with Pydantic-core, this is just another reason to support the project.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pydantic

    Data validation using Python type hints

  • Yea everything is built from inspect up.Pydantic takes that and builds a class out of it. There are some strange side effects from that process that are non obvious especially when paired with how fastapi does their dependency injection creates some non obvious items. These items are very hard to modify.

  • falcon

    The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.

  • I prefer Falcon for kicking up an API.

  • flama

    Fire up your models with the flame 🔥

  • Flama (Starlette, Marshmallow instead of Pydantic)

  • django-ninja

    💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

  • Django Ninja (Django, but minimal like flask + Pydantic)

  • apiflask

    A lightweight Python web API framework.

  • APIFlask (Flask with Pydantic and all the other good stuff)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • aiohttp-apispec

    Build and document REST APIs with aiohttp and apispec

  • Here https://github.com/maximdanilchenko/aiohttp-apispec

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