Flask vs FastAPI?

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

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • 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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • pydantic

    Data parsing and 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 API

    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)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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