quart-auth
A Quart extension to provide secure cookie authentication
Decision gist · record as of 2026-08-14
Yes, if you are building a Quart application and need straightforward session-based authentication. The low install friction, permissive license, and support for current Python versions make it a reasonable choice. However, the 596-day gap since the last release signals dormancy; verify that the package meets your security and maintenance expectations before adopting it in a new project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Quart to be installed and configured; you must set a secret key on the app before initializing QuartAuth.
- Low install friction with only two runtime dependencies (quart and typing_extensions).
- The package is dormant—no release in 596 days—which may indicate limited active maintenance, though it does support current Python versions (3.9–3.13).
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use this package freely in most projects.
last release 2024-12-26 (596 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,452 downloads/mo, #12,804 on PyPI
Alternatives
Verify before relying
pip install quart-auth
from quart import Quart
from quart_auth import QuartAuth, login_required
app = Quart(__name__)
app.secret_key = "your-secret-key"
QuartAuth(app)
@app.route("/protected")
@login_required
async def protected():
return "Authenticated"
if __name__ == "__main__":
app.run()- Whether the 596-day gap since last release indicates active maintenance or planned stability.
- Security audit status and whether the package has undergone formal security review.
- Real-world production usage patterns and any known limitations in session handling.
What it is and what it does
Quart-Auth is a session management extension for the Quart async web framework that handles user authentication via secure cookies. It provides decorators and utility functions to protect routes, log users in and out, and access the current user's authentication state throughout your application.
The package integrates directly with Quart's initialization pattern and works with async route handlers. It stores session data in signed cookies, requiring only a secret key to be configured. You decorate routes with @login_required to enforce authentication, catch Unauthorized exceptions to redirect unauthenticated users, and use login_user() and logout_user() functions to manage sessions programmatically.
Use it for
- Protect admin or user-only routes in a Quart web application by decorating them with @login_required.
- Build a login form that calls login_user(AuthUser(id)) after credential verification to start a session.
- Display user-specific content in templates by accessing the current_user global variable.
- Implement a logout endpoint that calls logout_user() to end the current session.
- Redirect unauthenticated users to a login page by catching the Unauthorized exception.
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 and need straightforward session-based authentication.
The low install friction, permissive license, and support for current Python versions make it a reasonable choice. However, the 596-day gap since the last release signals dormancy; verify that the package meets your security and maintenance expectations before adopting it in a new project.
Install
quart-auth on PyPI
Before you install
Low install friction with only two runtime dependencies (quart and typing_extensions). The package is dormant—no release in 596 days—which may indicate limited active maintenance, though it does support current Python versions (3.9–3.13).
Requires Quart to be installed and configured; you must set a secret key on the app before initializing QuartAuth.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use this package freely in most projects.
Quickstart
pip install quart-auth
from quart import Quart
from quart_auth import QuartAuth, login_required
app = Quart(__name__)
app.secret_key = "your-secret-key"
QuartAuth(app)
@app.route("/protected")
@login_required
async def protected():
return "Authenticated"
if __name__ == "__main__":
app.run()
Verify before relying
- Whether the 596-day gap since last release indicates active maintenance or planned stability.
- Security audit status and whether the package has undergone formal security review.
- Real-world production usage patterns and any known limitations in session 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 596 days since the last release |
| First released | |
| Downloads | 103,452 / month, #12,804 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_auth-0.11.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 session authentication”
- quart-authQuart-Auth provides session-based authentication for Quart web…
- identityProvides a high-level authentication and authorization API for Python…
- quart_babelAdds internationalization (i18n) and localization (l10n) support to…
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 quart-cors · Flask-Login · Flask-HTTPAuth · Quart · dj-rest-auth · quart-schema · streamlit-authenticator · macaroonbakery · fastapi-sessions · django-user-sessions