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 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 .
The best way to test Hypercorn is with Tox,
$ pipenv install tox $ tox
this will check the code style and run the tests.