Skip to content
Python
Branch: master
Clone or download
pgjones Bugfix handle logger targets equal to None
This should fully disable the logging (so as to improve performance).
Latest commit f3df286 Aug 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
artwork Add a Logo for Hypercorn Oct 2, 2018
compliance Structually refactor the codebase Jun 23, 2019
docs Update description in index.rst to include ASGI/3 Aug 4, 2019
hypercorn Bugfix handle logger targets equal to None Aug 19, 2019
tests Bugfix handle logger targets equal to None Aug 19, 2019
.gitignore Initial working Hypercorn May 27, 2018
.gitlab-ci.yml
CHANGELOG.rst Bump and release 0.7.2 Jul 28, 2019
LICENSE Initial working Hypercorn May 27, 2018
MANIFEST.in Update and improve tooling configuration Apr 19, 2019
README.rst Try make the README more welcoming May 7, 2019
pyproject.toml Initially support HTTP/3 Aug 11, 2019
setup.cfg Initially support HTTP/3 Aug 11, 2019
setup.py Initially support HTTP/3 Aug 11, 2019
tox.ini Initially support HTTP/3 Aug 11, 2019

README.rst

Hypercorn

Hypercorn logo

Build Status docs pypi http python license

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.

Quickstart

Hypercorn can be installed via pipenv or pip,

$ 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

Contributing

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.

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 searching stack overflow, if you still can't find an answer please open an issue.

You can’t perform that action at this time.