quart-schema
A Quart extension to provide schema validation
Decision gist · record as of 2026-08-14
Yes. Quart-Schema is actively maintained, has no known vulnerabilities, and offers genuine value for async REST API development: it eliminates manual schema and documentation management while providing flexible validation. The low install friction and permissive MIT license make it a straightforward add-on. Install it if you're building Quart applications and want schema validation with auto-generated API docs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Quart must be installed as a runtime dependency.
- Low friction installation with three runtime dependencies.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-08-04 (10 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 233,959 downloads/mo, #9,030 on PyPI
Alternatives
Verify before relying
pip install quart-schema
from quart import Quart
from quart_schema import QuartSchema
app = Quart(__name__)
QuartSchema(app)- Performance characteristics when validating large request/response payloads
- Compatibility matrix between msgspec and pydantic versions supported
- WebSocket validation limitations or known issues beyond the 'no documentation standard' note
What it is and what it does
Quart-Schema is a Quart extension that layers schema validation and automatic API documentation onto async web applications. It decorates route handlers with validators for query strings, request bodies, and responses, using either msgspec or pydantic as the validation backend. The extension automatically generates OpenAPI-compliant documentation served at standard endpoints (swagger UI at /docs, redoc at /redocs, Scalar at /scalar, and raw JSON at /openapi.json), making it straightforward to document and validate RESTful APIs without manual schema management.
The package is designed for developers building async REST APIs with Quart who want schema enforcement and self-documenting endpoints without boilerplate. It handles both HTTP request/response validation and WebSocket message validation through dedicated methods. With low install friction (three dependencies: pyhumps, quart, and typing_extensions) and active maintenance, it integrates cleanly into existing Quart projects.
Use it for
- Validate incoming JSON payloads and query parameters in REST endpoints using decorators
- Auto-generate Swagger UI and OpenAPI documentation from dataclass or pydantic schemas
- Enforce type safety on WebSocket messages sent and received over persistent connections
- Build RESTful APIs with minimal boilerplate by combining validation and documentation
- Switch between msgspec and pydantic validators without changing application code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Quart-Schema is actively maintained, has no known vulnerabilities, and offers genuine value for async REST API development: it eliminates manual schema and documentation management while providing flexible validation. The low install friction and permissive MIT license make it a straightforward add-on. Install it if you're building Quart applications and want schema validation with auto-generated API docs.
Install
quart-schema on PyPI
Before you install
Low friction installation with three runtime dependencies. Actively maintained with a release within the last 10 days. Supports current Python versions (3.10 through 3.14).
Requires Python 3.10 or later. Quart must be installed as a runtime dependency.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
pip install quart-schema
from quart import Quart
from quart_schema import QuartSchema
app = Quart(__name__)
QuartSchema(app)
Verify before relying
- Performance characteristics when validating large request/response payloads
- Compatibility matrix between msgspec and pydantic versions supported
- WebSocket validation limitations or known issues beyond the 'no documentation standard' note
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespyhumpsquarttyping_extensions |
| Maintenance | Actively maintained 10 days since the last release |
| First released | |
| Downloads | 233,959 / month, #9,030 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: quart_schema-0.24.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “quart api schema validation”
- quart-schemaQuart-Schema adds schema validation and auto-generated OpenAPI…
- spectreeGenerates OpenAPI documents and validates HTTP requests and responses…
- strawberry-graphqlStrawberry GraphQL is a Python library for building GraphQL APIs…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also spectree · Quart · flask-openapi3 · flask-pydantic-spec · quart-auth · litestar · json-schema-to-pydantic · datamodel-code-generator · quart-cors · schemathesis