--- id: quart version: "0.21.0" license: MIT license_treatment: permissive maintenance: active --- # Quart — A Python ASGI web framework with the same API as Flask License: permissive · Maintenance: active · Downloads: 3.7M/mo ## What it is and what it does Quart is an async reimplementation of Flask that lets you build modern Python web applications using async/await syntax. It handles HTTP requests, WebSocket connections, template rendering, and JSON APIs using an ASGI server (Hypercorn by default). If you know Flask, Quart's API will feel familiar—the main difference is that route handlers and related functions are async, allowing non-blocking I/O throughout your application. Quart sits in the top 5000 PyPI packages by download volume and has been actively maintained since 2017. It depends on Flask, Werkzeug, Jinja2, and other stable libraries from the Pallets ecosystem, plus Hypercorn for async serving. The framework is typed and targets current Python versions (3.11+), making it suitable for new projects that need async capabilities without learning an entirely different web framework. Use it for: - Build async REST APIs that handle concurrent requests efficiently without blocking. - Serve real-time WebSocket connections for chat, notifications, or live data feeds. - Migrate existing Flask applications to async by adding await keywords and using Quart's compatible API. - Render HTML templates asynchronously in a web application with async database or I/O operations. - Stream large request or response bodies without loading them entirely into memory. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Quart is an async Python web framework that mirrors Flask's API, enabling you to build async HTTP and WebSocket applications with template rendering, JSON APIs, and streaming support. Yes. Quart is actively maintained, has low install friction, carries no security vulnerabilities, and uses a permissive MIT license. It's a solid choice if you need async web capabilities and prefer Flask's familiar API over learning a different framework. The main constraint is the Python 3.11+ requirement. ## Install pip install quart uv add quart poetry add quart ## Installing Quart Before you install: Low friction install with a pure-Python wheel. Active maintenance with a recent release (22 days ago) and steady repository activity. Depends on established web libraries like Flask, Werkzeug, and Hypercorn, all of which are well-maintained. License in practice: MIT license is permissive and imposes no significant restrictions on use, modification, or distribution in most contexts. Quickstart: pip install quart from quart import Quart, render_template app = Quart(__name__) @app.route("/") async def hello(): return await render_template("index.html") if __name__ == "__main__": app.run() Requires Python 3.11 or later. Verify before relying: - Extent of Flask extension compatibility beyond what the description states. - Performance characteristics and scalability limits compared to other async frameworks. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 3.7M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags async python web framework, flask-like async web server, python asgi framework, async websocket server, async rest api framework, python async http framework, async template rendering web app, async-web-framework, websocket-support, flask-compatible [View on SkillFed](https://skillfed.io/packages/quart) · [View on PyPI](https://pypi.org/project/quart/)