A ASGI Server based on Hyper libraries and inspired by Gunicorn.
Project description
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, and websockets and the ASGI 2 specification.
Hypercorn was initially part of Quart before being separated out into a standalone ASGI server. Hypercorn forked from version 0.5.0 of Quart.
Quickstart
Hypercorn can be installed via pipenv or pip,
$ pipenv install hypercorn
$ pip install hypercorn
and requires Python 3.6.1 or higher.
With hypercorn installed ASGI frameworks (or apps) can be served via Hypercorn via the command line,
$ hypercorn module:app
Contributing
Hypercorn is developed on GitLab. You are very welcome to open issues or propose merge requests.
Testing
The best way to test Hypercorn is with Tox,
$ pipenv install tox
$ tox
this will check the code style and run the tests.
Help
The Hypercorn documentation is the best place to start, after that try opening an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Hypercorn-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a56a2e56f157516ea95fa589ee72d996894efba0530b411752d16e461af62e0 |
|
MD5 | b422b5374826d8e3810a7df0f339e32e |
|
BLAKE2b-256 | 46400f02e87cc20bb257e22c1862ed6bba6cafa612b303d7f8de95c383cc12f1 |