asgiref
ASGI spec implementation and utilities for building async Python web applications.
HTTP servers and APIs PyPI BSD-3-Clause
Used in agent projects
30
0.2% of 12,697 public repos built with AI coding agents
Rank in http servers and apis
#26 of 30
by use in those projects
Downloads
31.2M
PyPI, last 7 days, asgiref
GitHub stars
1,631
last push Sep 28, 2026
How asgiref is used
asgiref is a dependency in 30 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #26 of 30 in http servers and apis. The most used alternative there is Express. Projects that use it most often also use Requests (90.0%), urllib3 (73.3%), charset-normalizer (70.0%).
Often used with asgiref
| Requests | 90.0% of asgiref projects · 16.9× more than average |
|---|---|
| urllib3 | 73.3% of asgiref projects · 48.2× more than average |
| charset-normalizer | 70.0% of asgiref projects · 56.3× more than average |
| Django | 70.0% of asgiref projects · 197.5× more than average |
| packaging | 70.0% of asgiref projects · 61.7× more than average |
| AnyIO | 66.7% of asgiref projects · 45.5× more than average |
By coding agent
| GitHub Copilot | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list asgiref as a dependency.
Install
| Package | pip install asgiref |
|---|---|
| Main stacks | Python (29), Next.js (1) |
| Example projects | FeatureFactory-io/mimir, ManojINaik/manimAnimationAgent |
Alternatives to asgiref
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Express npm Fast, unopinionated minimalist web framework for Node.js. |
822 (6.5%) | 142M | 69.6K | MIT |
| Uvicorn pypi Lightning-fast ASGI server for running async Python web applications. |
544 (4.3%) | 13M | 11K | — |
| FastAPI pypi High-performance Python web framework with automatic API docs and async support. |
537 (4.2%) | 107M | 103K | — |
| cors npm Express/Node.js middleware for handling Cross-Origin Resource Sharing. |
422 (3.3%) | 86.8M | 6,195 | MIT |
| python-multipart pypi Streaming multipart parser for handling file uploads in Python web frameworks. |
217 (1.7%) | 92.8M | 536 | — |
| Flask pypi Lightweight Python web framework for building web applications and APIs. |
174 (1.4%) | 40.9M | 75K | — |
| Hono npm Ultrafast web framework for edge runtimes built on Web Standards. |
136 (1.1%) | 73.9M | 32.5K | MIT |
| express-rate-limit npm Express middleware for rate limiting API requests by IP address. |
105 (0.8%) | 57.6M | 3,311 | MIT |