django/asgiref
ASGI specification and utilities observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3906
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
1630 stars · 258 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
asgiref is the reference library for the ASGI (Asynchronous Server Gateway Interface) specification, providing base utilities for Python async web apps and servers. It includes sync-to-async and async-to-sync function wrappers, a WSGI-to-ASGI adapter, server base classes, and a thread/task-aware threadlocal replacement.
Use cases
- call async functions from synchronous code in python
- run sync django views inside an asgi server
- adapt a wsgi app to run on an asgi server
- write a stateless async server that consumes external sockets
- share thread-local state across asyncio tasks and threadpools
- bridge sync and async code during a gradual asyncio migration
When to avoid
- you need a full web framework or production ASGI server rather than base utilities
- your project is purely synchronous with no asyncio involvement
- you need HTTP routing, templating, or ORM features - asgiref provides none
Facets
library · maturity stable
middleware http-server concurrency web-development backend developer-tools python cross-platform asgi asyncio wsgi sync-async-bridging web-servers
2 sources
- readme: https://github.com/django/asgiref · fetched 2026-08-28 · 3e4855a33cab
- registry_pypi: https://pypi.org/pypi/asgiref/json · fetched 2026-08-29 · ac3c511f7563
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| django/asgiref | main | 76 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem