ASGI Application Frameworks
mainVarious frameworks are built on top of ASGI for building web applications and APIs. Notable options include:
- BlackSheep: Typed, fast, minimal framework with dependency injection and OpenAPI support.
- Connexion: Spec-first/API-first framework using OpenAPI specifications. Can be used standalone or with other ASGI/WSGI frameworks.
- Django/Channels: Adds asynchronous support to Django; the original driver for the ASGI project.
- Esmerald: Modular and pluggable framework for scalable applications.
- Falcon: Reliable, high-performance microservices framework. Supports both WSGI and ASGI.
- FastAPI: Built on Starlette; uses Python type annotations for OpenAPI and JSON Schema.
- Flama: Data-science oriented framework for deploying ML APIs.
- Litestar: Opinionated framework with first-class typing and Pydantic integration.
- Quart: A microframework intended to provide asyncio functionality similar to Flask.
- Sanic: Unopinionated server and framework that can operate as an ASGI-compatible framework.
- rpc.py: RPC framework supporting sync/async functions and generators.
- Starlette: A minimalist ASGI library providing
RequestandResponseclasses. - MicroPie: Lightweight framework designed for high-concurrency and simplicity.