Skip to main content

A ASGI Server based on Hyper libraries and inspired by Gunicorn.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Hypercorn-0.7.0.tar.gz (83.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Hypercorn-0.7.0-py3-none-any.whl (38.7 kB view details)

Uploaded Python 3

File details

Details for the file Hypercorn-0.7.0.tar.gz.

File metadata

  • Download URL: Hypercorn-0.7.0.tar.gz
  • Upload date:
  • Size: 83.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for Hypercorn-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0562810a44f3e5aa0b28d42adacbbf7185f2975bb305733e6de71d6a927c8d7b
MD5 cb9e5b86360eb9dbf5a8822c33a97ff2
BLAKE2b-256 ab847e72d76726bcd60d3b4a6929221e5fbee073e0c4222bdaf0e370e92d8a87

See more details on using hashes here.

File details

Details for the file Hypercorn-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: Hypercorn-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 38.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for Hypercorn-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e9ee14deb34215907364adb62694b36abc471b8eaaf22d812eb85757e5479ad
MD5 d2f16d59a1635e1f9a7c1a23274602db
BLAKE2b-256 5b32fa1c07100545ca2d3995b4b34debaef90412f1ee151aa6503e7a7737a6e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page