Privacy Ratings

Open-source Python web frameworks

18 Python web frameworks whose code is public under an OSI-approved license, rated for privacy with evidence. Picks first, then by score.

  1. Bottle Grade B

    Single-file micro web framework for Python with no dependencies other than the standard library.

    MIT-licensed. Source code

  2. Django Grade B

    Batteries-included Python web framework with an ORM, admin interface, templates and authentication.

    BSD-3-Clause licensed. Source code

  3. Django REST framework Grade B

    Toolkit for building web APIs with Django, providing serializers, viewsets, authentication, permissions and a browsable API.

    BSD-3-Clause-licensed. Source code

  4. FastAPI Grade B

    Python framework for building APIs with type hints, based on Starlette and Pydantic, with automatic request validation and OpenAPI documentation.

    MIT-licensed. Source code

  5. Litestar Grade B

    ASGI web framework for Python for building APIs, with dependency injection, data validation, ORM integration and OpenAPI documentation.

    MIT-licensed. Source code

  6. Masonite Grade B

    Batteries-included Python web framework with an ORM, queues, mail, notifications and task scheduling, built around a service container.

    MIT-licensed. Source code

  7. NiceGUI Grade B

    Python framework for building web-based user interfaces that run in the browser or as a desktop app.

    MIT-licensed. Source code

  8. Sanic Grade B

    Asynchronous Python web server and framework built on asyncio.

    MIT-licensed. Source code

  9. Tornado Grade B

    Python web framework and asynchronous networking library, suited to long polling, WebSockets and other long-lived connections.

    Apache-2.0 licensed. Source code

  10. web2py Grade B

    Full-stack Python web framework with a database abstraction layer, a web-based development interface and security defaults, designed to run without installation.

    LGPL-3.0-licensed. Source code

  11. Falcon Grade C

    Minimal Python framework for building REST APIs and microservices, supporting both WSGI and ASGI.

    Apache-2.0 licensed. Source code

  12. Flask Grade C

    Lightweight WSGI web framework for Python, built on Werkzeug and Jinja, that leaves databases and other components to extensions.

    BSD-3-Clause licensed. Source code

  13. Gradio Grade C

    Python library from Hugging Face for building web interfaces and demos for machine learning models and other Python functions.

    Apache-2.0 licensed. Source code

  14. Quart Grade C

    Asynchronous Python web framework with the Flask API, built on ASGI.

    MIT-licensed. Source code

  15. Starlette Grade D

    Lightweight ASGI toolkit and framework for building asynchronous web services in Python.

    BSD-3-Clause licensed. Source code

  16. Streamlit Grade D

    Python framework from Snowflake for turning data scripts into interactive web apps and dashboards.

    Apache-2.0 licensed. Source code

  17. Pyramid Grade D

    Python web framework from the Pylons Project that scales from single-file apps to large applications, with a choice of templating and database layers.

    Licensed under the BSD-derived Repoze Public License. Source code

  18. Reflex Grade D

    Framework for building full-stack web apps in pure Python, which compiles the frontend to a React app.

    Apache-2.0 licensed. Source code

Compare all 18 Python web frameworks, open source or not.