quart
An async Python micro framework for building web applications.
Quart is a Python framework for building web applications. It handles the common tasks involved in running a web server: serving HTML pages, building JSON APIs, handling WebSocket connections, and streaming data back and forth over the network. You install it with a single pip command, write your routes as Python functions, and run a built-in development server.
The defining characteristic of Quart compared to similar frameworks is that it is built around Python's async system. In practical terms, this means the server can handle many requests at the same time without waiting for each one to finish before starting the next. For applications that make a lot of external calls, like fetching from a database or calling another API, this can significantly improve how many users the server can handle at once.
Quart was designed as an async version of Flask, a widely used Python web framework. The two share the same API design, so if you are already familiar with Flask, Quart should feel immediately recognizable. The README notes that migrating an existing Flask application to Quart is often as simple as replacing the import names and adding async and await keywords to your handler functions. Many Flask extensions also work with Quart.
The framework supports the same extension ecosystem pattern as Flask, so more specific functionality like database integration, login handling, or form validation can be added through community packages.
Quart is maintained by the Pallets organization, which also maintains Flask, Jinja, and several other foundational Python web tools. Documentation, a cheatsheet, and community discussion forums are available through the project's official documentation site.