Complete or upcoming implementations of ASGI - servers, frameworks, and other useful pieces.
Stable / http://github.com/django/daphne
The current ASGI reference server, written in Twisted and maintained as part of the Django Channels project. Supports HTTP/1, HTTP/2, and WebSockets.
Stable / https://www.uvicorn.org/
A fast ASGI server based on uvloop and httptools. Supports HTTP/1 and WebSockets.
Beta / https://pgjones.gitlab.io/hypercorn/index.html
An ASGI server based on the sans-io hyper, h11, h2, and wsproto libraries. Supports HTTP/1, HTTP/2, and WebSockets.
Beta / https://github.com/emmett-framework/granian
A Rust HTTP server for Python applications. Supports ASGI/3, RSGI and WSGI interface applications.
Stable / https://unit.nginx.org/configuration/#configuration-python
Unit is a lightweight and versatile open-source server that has three core capabilities: it is a web server for static media assets, an application server that runs code in multiple languages, and a reverse proxy.
Stable / http://channels.readthedocs.io
Channels is the Django project to add asynchronous support to Django and is the original driving force behind the ASGI project. Supports HTTP and WebSockets with Django integration, and any protocol with ASGI-native code.
Beta / https://github.com/tiangolo/fastapi
FastAPI is an ASGI web framework (made with Starlette) for building web APIs based on standard Python type annotations and standards like OpenAPI, JSON Schema, and OAuth2. Supports HTTP and WebSockets.
Beta / https://github.com/pgjones/quart
Quart is a Python ASGI web microframework. It is intended to provide the easiest way to use asyncio functionality in a web context, especially with existing Flask apps. Supports HTTP.
Beta / https://sanicframework.org
Sanic is an unopinionated and flexible web application server and framework that also has the ability to operate as an ASGI compatible framework. Therefore, it can be run using any of the ASGI web servers. Supports HTTP and WebSockets.
Beta / https://github.com/encode/starlette
Starlette is a minimalist ASGI library for writing against basic but powerful
Response classes. Supports HTTP and WebSockets.
Beta / https://github.com/abersheeran/rpc.py
An easy-to-use and powerful RPC framework. RPC server base on WSGI & ASGI, client base
httpx. Supports synchronous functions, asynchronous functions, synchronous
generator functions, and asynchronous generator functions. Optional use of Type hint
for type conversion. Optional OpenAPI document generation.
Stable / https://litestar.dev/
Litestar is a powerful, performant, flexible and opinionated ASGI framework, offering first class typing support and a full Pydantic integration. Effortlessly Build Performant APIs.
Stable / https://github.com/Neoteroi/BlackSheep
BlackSheep is typed, fast, minimal web framework. It has performant HTTP client, flexible dependency injection model, OpenID Connect integration, automatic OpenAPI documentation, dedicated test client and excellent authentication and authorization policy implementation. Supports HTTP and WebSockets.
Stable / https://github.com/abersheeran/a2wsgi
Convert WSGI application to ASGI application or ASGI application to WSGI application. Pure Python. Only depend on the standard library.