A curated list of awesome Python Web Frameworks (micro, full-stack, REST, etc.)
- Django ★59862 - a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Includes ORM, templatting engine, etc.
- Flask ★56742 - a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications.
- Pyramid ★3594 - a small, fast, down-to-earth, open source Python web framework. It makes real-world web application development and deployment more fun, more predictable, and more productive.
- Falcon ★8574 - a reliable, high-performance Python web framework for building large-scale app backends and microservices. It encourages the REST architectural style, and tries to do as little as possible while remaining highly effective.
- Bottle ★7363 - a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
- Hug ★6561 - aims to make developing Python driven APIs as simple as possible, but no simpler. As a result, it drastically simplifies Python API development.
- Molten ★965 - A minimal, extensible, fast and productive framework for building HTTP APIs with Python 3.6 and later.
- Morepath ★390 - "web microframework with super powers". An application consists of models. Each type of model is published on a URL path. Content is exposed to the web using views.
- FastAPI ★36223 - a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
- Sanic ★15462 - a Python 3.7+ web server and web framework that's written to go fast. It allows the usage of the async/await syntax added in Python 3.5, which makes your code non-blocking and speedy. Based on Starlette.
- Aiohttp ★11679 - Asynchronous HTTP client/server framework for asyncio and Python
- Starlette ★6076 - a lightweight ASGI framework/toolkit, which is ideal for building high performance asyncio services.
- BlackSheep ★667 - BlackSheep is an asynchronous web framework to build event based web applications with Python.
-
Django Rest Framework ★21932 - a powerful and flexible toolkit for building Web APIs.
-
Eve ★6386 - an open source Python REST API framework based on Flask. It allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services. Eve offers native support for MongoDB, and SQL backends via community extensions.
-
Flask-Restful ★6171 - Simple framework for creating REST APIs.
-
API star ★5590 - a framework-agnostic toolkit for working with OpenAPI or Swagger schemas.
-
Connexion ★3799 - Swagger/OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 support.
-
Flask-Restx ★1302 - Fully featured framework for fast, easy and documented API development with Flask.
-
Flask Smorest ★380 - a REST API framework built upon Flask and marshmallow.
-
Ripozo ★195 - A tool for quickly creating REST/HATEOAS/Hypermedia APIs in python. [Dead]
See the "Frameworks and Libraries" section in the Python Developers Survey 2020.
- Hello to the World in 8 Web Frameworks (Micro, Batteries Included & Async) - presentation by Aaron Bassett at PyCon AU (2018)
- Awesome Python has some web frameworks, in two sections: Web Frameworks and RESTful API but it's not very thorough.