ASGI and WSGI web server for Python with HTTP/2, WebSockets and optional HTTP/3
open sourceMITself-hostablefree
Hypercorn is an ASGI and WSGI web server for Python, built on the sans-io h11, h2 and wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2 and WebSockets over both, and can run asyncio, uvloop or Trio workers. With the h3 extra and the aioquic library it can also serve the current draft of HTTP/3. It started inside the Quart web framework and was split out into a standalone server at Quart's 0.5.0, and it runs from the command line or programmatically.
Ways to install
Package managers
Problems it solves
- serve my async Python web app over HTTP/2
- run an ASGI app with Trio instead of asyncio
- try HTTP/3 for my Python web server
Features
- serves ASGI and WSGI apps
- HTTP/1, HTTP/2 and WebSockets over both
- optional HTTP/3 through aioquic
- asyncio, uvloop or Trio workers
- runs from the command line or from Python code
Alternatives
The same job
These do what Hypercorn does.
