A ASGI Server based on Hyper libraries and inspired by Gunicorn.
Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. Hypercorn supports HTTP/1, HTTP/2, WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. Hypercorn can utilise asyncio, uvloop, or trio worker types.
Hypercorn can optionally serve the current draft of the HTTP/3 specification using the aioquic library. To enable this install the h3 optional extra, pip install hypercorn[h3] and then choose a quic binding e.g. hypercorn --quic-bind localhost:4433 ....
Hypercorn was initially part of Quart before being separated out into a standalone ASGI server. Hypercorn forked from version 0.5.0 of Quart.
$ pipenv install hypercorn $ pip install hypercorn
and requires Python 3.7.0 or higher.
With hypercorn installed ASGI frameworks (or apps) can be served via Hypercorn via the command line,
$ hypercorn module:app
Hypercorn is developed on GitLab. If you come across an issue, or have a feature request please open an issue. If you want to contribute a fix or the feature-implementation please do (typo fixes welcome), by proposing a merge request.
The best way to test Hypercorn is with Tox,
$ pipenv install tox $ tox
this will check the code style and run the tests.
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size Hypercorn-0.9.0-py3-none-any.whl (47.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size Hypercorn-0.9.0.tar.gz (92.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for Hypercorn-0.9.0-py3-none-any.whl