Hypercorn
A ASGI Server based on Hyper libraries and inspired by Gunicorn
Decision gist · record as of 2026-08-14
Yes, if you need an ASGI/WSGI server with HTTP/2 and WebSocket support. Hypercorn is stable and supports current Python versions, but its aging maintenance status (279 days since last release) means slower issue response. Suitable for production if you can tolerate slower upstream updates; consider alternatives if you need active, rapid development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; an ASGI or WSGI application must be provided.
- Low install friction with a pure-Python wheel distribution.
- Maintenance status is aging—last release was 279 days ago—so expect slower response to issues, though the package remains functional for current Python versions (3.10–3.14).
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or redistribution in proprietary or open-source projects.
last release 2025-11-08 (279 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,847,681 downloads/mo, #1,431 on PyPI
Alternatives
Verify before relying
pip install hypercorn
import asyncio
from hypercorn.config import Config
from hypercorn.asyncio import serve
asyncio.run(serve(app, Config()))- Performance characteristics (throughput, latency) compared to other ASGI servers under typical workloads.
- Production readiness and stability guarantees given the aging maintenance status.
- Whether HTTP/3 support via the h3 extra is production-ready or experimental.
What it is and what it does
Hypercorn is a web server for running ASGI and WSGI applications asynchronously. It supports modern HTTP protocols (HTTP/1, HTTP/2, WebSockets, and optionally HTTP/3 via aioquic) and can use different async backends—asyncio, uvloop, or trio—depending on your concurrency needs. The package was inspired by Gunicorn and was originally part of the Quart framework before being extracted as a standalone server.
You can run Hypercorn from the command line or embed it programmatically in your application using its async API. It has 8 core runtime dependencies (h11, h2, wsproto, priority, taskgroup, exceptiongroup, tomli, typing_extensions) that handle the low-level protocol work, keeping the package itself focused on server orchestration and request handling.
Use it for
- Serve ASGI frameworks with HTTP/2 and WebSocket support.
- Run WSGI applications alongside modern async code in a single server.
- Deploy applications requiring WebSocket communication over HTTP/1 or HTTP/2.
- Use alternative async backends (uvloop, trio) to optimize for specific workload patterns.
- Serve HTTP/3 traffic when aioquic is installed and QUIC bindings are configured.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need an ASGI/WSGI server with HTTP/2 and WebSocket support.
Hypercorn is stable and supports current Python versions, but its aging maintenance status (279 days since last release) means slower issue response. Suitable for production if you can tolerate slower upstream updates; consider alternatives if you need active, rapid development.
Install
hypercorn on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Maintenance status is aging—last release was 279 days ago—so expect slower response to issues, though the package remains functional for current Python versions (3.10–3.14).
Requires Python 3.10 or later; an ASGI or WSGI application must be provided.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or redistribution in proprietary or open-source projects.
Quickstart
pip install hypercorn
import asyncio
from hypercorn.config import Config
from hypercorn.asyncio import serve
asyncio.run(serve(app, Config()))
Verify before relying
- Performance characteristics (throughput, latency) compared to other ASGI servers under typical workloads.
- Production readiness and stability guarantees given the aging maintenance status.
- Whether HTTP/3 support via the h3 extra is production-ready or experimental.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesexceptiongrouph11h2prioritytaskgrouptomlityping_extensionswsproto |
| Maintenance | Aging 279 days since the last release |
| First released | |
| Downloads | 10,847,681 / month, #1,431 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: 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: hypercorn-0.18.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 › “http2 websocket server”
- HypercornHypercorn is an ASGI and WSGI web server supporting HTTP/1, HTTP/2,…
- granianGranian is a Rust-based HTTP server that runs ASGI, RSGI, and WSGI…
- daphneDaphne is an ASGI server that handles HTTP, HTTP/2, and WebSocket…
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 uvicorn · gunicorn · granian · gunicorn_h1c · hyper · uvicorn-worker · hyper-up · h11 · peppercorn · trio-websocket