# pallets/quart

> Quart is an async Python web application framework for rendering and serving HTML templates, writing RESTful JSON APIs, serving WebSockets and streaming request and response data. It is an asyncio reimplementation of the Flask framework, so code written for Flask maps closely to Quart with async and await added. The project is written in Python.

Source: https://github.com/pallets/quart
Indexed: commit 29d339c on 2026-09-12 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Type: Command-line tool
- Language: Python
- Stars: 3,682 at index time
- License: MIT
- Code health: 5.5/10, Fair
- Last commit: 2026-09-12
- Contributors: 124

## Install

From the README: https://github.com/pallets/quart#quickstart

Install Quart from PyPI using pip.
    pip install quart

Save an app.py file, then run it with the quart run command.
    quart run

## How it works

Incoming HTTP and WebSocket traffic enters through src/quart/asgi.py, which provides the ASGI interface that serves a Quart application. src/quart/app.py is an entry point and one of the central files, so it is the main place to look for how the application object is built. Request objects are handled in src/quart/wrappers/request.py, and src/quart/helpers.py holds helper functions used across the package. The quart run command is implemented in src/quart/cli.py, and src/quart/testing/app.py provides support for testing applications.

- src/quart/__main__.py: entry point
- src/quart/app.py: entry point
- src/quart/asgi.py: entry point
- src/quart/cli.py: entry point
- src/quart/testing/app.py: entry point
Modules: src, examples, tests, .github, root, docs. 97 files, 11,287 lines, 858 symbols.

## Code health

- Score: 5.5/10 (Fair)
- Rank: not ranked (leaderboards need 100+ files)
- Hotspots: src/quart/app.py, src/quart/asgi.py, src/quart/typing.py, src/quart/wrappers/request.py, src/quart/helpers.py
- Lowest file: src/quart/app.py
- Dead code: 4 findings

## Maintenance

- Last commit 2026-09-12, first commit 2017-05-14, 1,213 commits
- 124 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/pallets/quart/security

## More

- Page: https://repowise.dev/repo/pallets/quart
- Ask this codebase: https://repowise.dev/repo/pallets/quart/chat
- Docs: https://repowise.dev/repo/pallets/quart/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/pallets/quart
