quart-cors
A Quart extension to provide Cross Origin Resource Sharing, access control, support
Decision gist · record as of 2026-08-14
Yes, if you are building a Quart application that needs CORS support and can tolerate dormant maintenance. The package is straightforward to install and use, carries no security vulnerabilities, and has permissive licensing. However, the 595-day gap since the last release and Alpha status mean you should verify compatibility with your Quart version and be prepared to maintain a fork if critical issues arise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Quart application already set up; CORS applies only to browser-initiated requests, not non-browser clients.
- Installation is straightforward with low friction—a pure-Python wheel with only two runtime dependencies (quart and typing_extensions).
- The package is dormant (595 days since last release) but carries an Alpha development status; stability is not guaranteed and maintenance is inactive.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.
last release 2024-12-27 (595 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 698,988 downloads/mo, #5,296 on PyPI
Alternatives
Verify before relying
pip install quart-cors
from quart_cors import cors
from quart import Quart
app = Quart(__name__)
app = cors(app, allow_origin="https://example.com")- Current compatibility with latest Quart versions beyond what the fact sheet indicates.
- Whether dormant status (595 days since release) reflects active maintenance or abandonment.
- Real-world performance and security implications of the preflight request handling.
What it is and what it does
Quart-CORS is an extension that handles Cross-Origin Resource Sharing (CORS) for Quart async web applications. It solves the problem of browser Same-Origin Policy restrictions by adding the necessary access-control headers that tell browsers which cross-origin requests are permitted. The extension works by intercepting HTTP requests and WebSocket connections, adding headers that specify allowed origins, methods, credentials, and other CORS parameters.
You can apply CORS globally to an entire application or blueprint, or selectively to individual routes and WebSocket handlers using decorators. Configuration can be set per-route or via application settings, with support for specific origins, wildcards, regex patterns, and credential sharing rules. The package handles both simple GET requests (which return CORS headers in the response) and complex requests (which require preflight OPTIONS requests).
Use it for
- Enable a frontend hosted on one domain to make API calls to a Quart backend on a different domain.
- Allow browser-based clients to access WebSocket endpoints from specific approved origins.
- Restrict cross-origin requests to a whitelist of domains using regex patterns for subdomains.
- Configure different CORS policies for different API routes (e.g., public endpoints vs. authenticated endpoints).
- Exempt specific WebSocket handlers from CORS checks using the cors_exempt decorator.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a Quart application that needs CORS support and can tolerate dormant maintenance.
The package is straightforward to install and use, carries no security vulnerabilities, and has permissive licensing. However, the 595-day gap since the last release and Alpha status mean you should verify compatibility with your Quart version and be prepared to maintain a fork if critical issues arise.
Install
quart-cors on PyPI
Before you install
Installation is straightforward with low friction—a pure-Python wheel with only two runtime dependencies (quart and typing_extensions). The package is dormant (595 days since last release) but carries an Alpha development status; stability is not guaranteed and maintenance is inactive.
Requires Quart application already set up; CORS applies only to browser-initiated requests, not non-browser clients.
License in practice
MIT license is permissive and places no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install quart-cors
from quart_cors import cors
from quart import Quart
app = Quart(__name__)
app = cors(app, allow_origin="https://example.com")
Verify before relying
- Current compatibility with latest Quart versions beyond what the fact sheet indicates.
- Whether dormant status (595 days since release) reflects active maintenance or abandonment.
- Real-world performance and security implications of the preflight request handling.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesquarttyping_extensions |
| Maintenance | Dormant 595 days since the last release |
| First released | |
| Downloads | 698,988 / month, #5,296 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.9Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: quart_cors-0.8.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 › “CORS support for Quart”
- quart-corsQuart-CORS adds Cross-Origin Resource Sharing (CORS) support to Quart…
- quart_babelAdds internationalization (i18n) and localization (l10n) support to…
- cherrypy-corsAdds Cross-Origin Resource Sharing (CORS) support to CherryPy…
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 aiohttp-cors · Quart · quart-auth · django-cors-headers · flask-cors · Sanic-Cors · cherrypy-cors · fastapi-cors · quart-schema · aiohttp-middlewares