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, and websockets and the ASGI 2 specification. 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.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


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.5.0.tar.gz (84.0 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.5.0-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for Hypercorn-0.5.0.tar.gz
Algorithm Hash digest
SHA256 2c4f630f4f84fb0016ad4ff0d05fb22354917a6823efca7286e49b74fa261ace
MD5 d5c3740fd8c5275820788d5b34fcbf2f
BLAKE2b-256 645bb8c0a9d4d7c56124ca13a85e77781ee9a2ce8eee687448493d292c76151b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Hypercorn-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6bb6fab4c14299d8358ac0cee3c7e88991c9a1c9e4262ab98c9b3606547284
MD5 0f33445601dd74034dff83e561c7c995
BLAKE2b-256 9469f9c42534223b1d5bf0928a4ba7ea3ffe8f5a89da8cf967e781d550ea144b

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