repowisepallets/quart

pallets / quart

An async Python micro framework for building web applications.

Python★ 3,678

github.com/pallets/quartIndexed at 29d339cUp to date with upstreamRefreshes on every push

What is quart?

quart is an async Python web application framework for building web applications. It provides an asyncio-based approach to handling HTTP and WebSocket protocols, including templates, JSON APIs, WebSockets, and streamed data. quart is written in Python.

Written by a model from the README and the source

97 files and 858 symbols in 4 modules, led by Python (72 files) and Makefile (1).

Code health

5.5out of 10Fair

This codebase scores 5.5 out of 10 for code health, which we rate fair. It also scores maintainability 7.0 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 6 of 97 files are git hotspots, and they average 2.7 — which is where the fixes pay off most.

Use pallets/quart in your agent

Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.

  1. 1.In Claude, open Customize → Connectors, click +, then Add custom connector. On a Team or Enterprise plan an owner adds it first under Organization settings → Connectors.
  2. 2.Paste the server URL below as the Remote MCP server URL, then click Add.
  3. 3.Click Connect. A Repowise sign-in window opens. Approve access.
  4. 4.Repowise's tools are now available in your Claude chats.

Connect with one click. Sign in with Repowise (OAuth), no API key to copy. Works in Claude on the web, desktop, and mobile.

Docs
bash
https://api.repowise.dev/mcp/pallets/quart
Editors need an API key: sign in to create one.Sign in to connect

This repo is public, so anyone with a Repowise account and an API key can connect.

Try asking

  • get_overview()
  • get_answer("how is quart put together?")
  • get_why("why is quart structured this way?")

Explore quart

Key features of quart

  • quart renders and serves HTML templates.
  • quart supports RESTful JSON APIs.
  • quart serves WebSockets.
  • quart streams request and response data.
  • quart supports HTTP and WebSocket protocols.

How pallets/quart works

Applications enter through the Quart application object in src/quart/app.py, which coordinates web application behavior. The ASGI integration in src/quart/asgi.py connects Quart applications to asynchronous servers. Incoming HTTP data is represented through src/quart/wrappers/request.py, while src/quart/helpers.py provides application helper functions. Type definitions and interfaces are collected in src/quart/typing.py. The examples directory provides application examples, and the tests directory exercises the implementation.

The codebase has 97 files and 858 symbols in 4 modules, led by Python and Makefile. Code health is 5.5 out of 10, rated fair.

Getting started with quart

  1. Install quart with pip.
    pip install quart
  2. Run the application with the Quart command.
    quart run

Commands copied from the README

pallets/quart FAQ

What is quart?

quart is an async Python web application framework for building web applications. It supports HTTP and WebSocket applications.

How does quart work?

quart uses an asyncio-based application architecture connected through ASGI. Its application, request wrapper, helper, and WebSocket components handle web traffic and responses.

How do I install quart?

Install quart from PyPI with pip, then run a Quart application with the quart run command.

What language is quart written in?

quart is written in Python. Its codebase also includes a Makefile.

How is the quart code organized?

quart is organized under src, with examples and tests in separate directories. Core files include src/quart/app.py, src/quart/asgi.py, src/quart/wrappers/request.py, src/quart/helpers.py, and src/quart/typing.py.

Who is quart for?

quart is for developers building async Python web applications. It supports templates, JSON APIs, WebSockets, and streamed request or response data.

What license does quart use?

quart uses the MIT license.

The summary, features and answers on this page are written by a model from the README and the source, and refreshed with each index.

About this page

Get a page like this for your own codebase

Repowise built this map of pallets/quart from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Index your repo freeSee how Repowise worksFree for 2 public repos, with a page like this one.

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.