Django or Flask and why?

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

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

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

    For example it took 3 months to get a simple dependency upgrade fixed that was causing unusable tracebacks and other issues: https://github.com/tiangolo/fastapi/pull/4145

  • sqlalchemy-mixins

    Active Record, Django-like queries, nested eager load and beauty __repr__ for SQLAlchemy

    it is more low level, but there are several projects that build Django (active record style) abstraction on top of it. https://github.com/absent1706/sqlalchemy-mixins

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

  • Werkzeug

    The comprehensive WSGI web application library.

    Flask doesn’t support ASGI; neither does Werkzeug. The official guidance for running Flask with an ASGI server is to wrap it in middleware. The open GitHub issue for Werkzeug to support ASGI is #1322.

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