Flask vs FastAPI?

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

Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • 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.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

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

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • 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