{"adoption": {"forks": 258, "observed_at": "2026-08-28T04:05:13.986597+00:00", "stars": 1630}, "canonical_url": "https://ross.abutalabs.com/products/asgiref", "card": {"archived": false, "artifact_type": "library", "description": "ASGI specification and utilities", "domain": ["web-development", "backend", "developer-tools"], "enriched": true, "function": ["middleware", "http-server", "concurrency"], "health_score": 78, "homepage": "https://asgi.readthedocs.io/en/latest/", "language": "Python", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["django/asgiref"], "name": "django/asgiref", "platform": ["python", "cross-platform"], "pushed_at": "2026-08-10T09:04:53+00:00", "repo": "django/asgiref", "stars": 1630, "tags": ["asgi", "asyncio", "wsgi", "sync-async-bridging", "web-servers"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/asgiref", "repo": "django/asgiref", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:13.986597+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:47:55.374585+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e4855a33cab0dedf11a11fe0b8b61d847e03715c9e64027fecd3bb76fdf5806", "fetched_at": "2026-08-28T04:05:13.986597+00:00", "kind": "readme", "missing": false, "url": "https://github.com/django/asgiref"}, {"content_hash": "ac3c511f75634465abc7c3aae1bc5810c92499f1ce2f5a097af57b3756503c3b", "fetched_at": "2026-08-29T11:21:08.629126+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/asgiref/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3906, "days_push": 23, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}