Quart is an async Python web framework for building web applications.
Quart addresses the need to build high-concurrency web applications in Python by providing an asyncio-based alternative to synchronous frameworks. It allows developers to write asynchronous request handlers, render HTML templates, build RESTful JSON APIs, serve WebSockets, and stream request and response data. The framework is built on ASGI and uses async/await syntax throughout, enabling efficient handling of concurrent connections without blocking.
Quart suits projects that require handling many simultaneous connections or performing I/O-bound operations concurrently. It is particularly valuable for applications involving WebSocket communication, streaming responses, or integrating with async libraries. Developers familiar with Flask will find Quart's API and structure immediately recognizable, as it is an asyncio reimplementation of Flask. The framework supports Flask's extension ecosystem, and many Flask extensions work with Quart directly. Migration from Flask is straightforward, typically requiring only find-and-replace of import statements and addition of async/await keywords.
The project maintains active engagement with its community through multiple channels including a Discussions tab, Discord chat, and a documented contributing guide. Development follows a structured approach with clear documentation for deployment, migration, and feature implementation, supported by a cheatsheet and comprehensive guides for common tasks.