{
 "kind": "tool",
 "slug": "asgiref",
 "path": "tools/asgiref/",
 "name": "asgiref",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP servers and APIs",
   "tools/http-servers/"
  ]
 ],
 "lead": "ASGI spec implementation and utilities for building async Python web applications.",
 "chips": [
  {
   "label": "HTTP servers and APIs",
   "path": "tools/http-servers/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install asgiref"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/django/asgiref"
  },
  {
   "label": "Website",
   "href": "https://github.com/django/asgiref/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "BSD-3-Clause",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI license field.",
   "src": "https://github.com/django/asgiref"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 6, 2026",
   "note": "",
   "src": "https://github.com/django/asgiref"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "9 projects",
   "status": "info",
   "sub": "#35 of 102 in its category",
   "note": "Dependency in 9 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What asgiref does",
   "parts": [
    {
     "t": "prose",
     "text": "ASGI spec implementation and utilities for building async Python web applications."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "asgiref popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "65",
       "of": "/ 100",
       "l": "Gid Score, #698 overall"
      },
      {
       "n": "37.3M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "1,638",
       "l": "GitHub stars"
      },
      {
       "n": "9",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How asgiref is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "asgiref is a dependency in 9 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 356 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is Uvicorn (477 projects).",
      "Projects that use it most often also use packaging (90.7%), charset-normalizer (89.0%), Click (89.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "6 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 90.7% of its projects",
       "v": "packaging",
       "path": "tools/packaging/"
      },
      {
       "l": "In 89.0% of its projects",
       "v": "charset-normalizer",
       "path": "tools/charset-normalizer/"
      },
      {
       "l": "In 89.0% of its projects",
       "v": "Click",
       "path": "tools/click-py/"
      },
      {
       "l": "In 87.9% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 87.6% of its projects",
       "v": "attrs",
       "path": "tools/attrs/"
      },
      {
       "l": "In 87.1% of its projects",
       "v": "AnyIO",
       "path": "tools/anyio/"
      },
      {
       "l": "In 86.0% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about asgiref",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in HTTP servers and APIs",
       "path": "tools/http-servers/",
       "items": [
        {
         "text": "Express",
         "path": "tools/express/"
        },
        {
         "text": "cors",
         "path": "tools/cors/"
        },
        {
         "text": "python-multipart",
         "path": "tools/python-multipart/"
        },
        {
         "text": "Hono",
         "path": "tools/hono/"
        },
        {
         "text": "Flask",
         "path": "tools/flask/"
        },
        {
         "text": "express-rate-limit",
         "path": "tools/express-rate-limit/"
        },
        {
         "text": "multer",
         "path": "tools/multer/"
        },
        {
         "text": "Gunicorn",
         "path": "tools/gunicorn/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "asgiref",
       "me": true,
       "facts": [
        "BSD-3-Clause",
        "Gid 65",
        "37.3M/wk"
       ]
      },
      {
       "name": "Uvicorn",
       "why": "Lightning-fast ASGI server for running async Python web applications.",
       "path": "tools/uvicorn/",
       "facts": [
        "BSD-3-Clause",
        "Gid 82",
        "167M/wk"
       ]
      },
      {
       "name": "FastAPI",
       "why": "High-performance Python web framework with automatic API docs and async support.",
       "path": "tools/fastapi/",
       "facts": [
        "MIT",
        "Gid 91",
        "136M/wk"
       ]
      },
      {
       "name": "Starlette",
       "why": "Lightweight ASGI web framework for building Python APIs and web applications.",
       "path": "tools/starlette/",
       "facts": [
        "BSD-3-Clause",
        "Gid 78",
        "174M/wk"
       ]
      }
     ],
     "more": "Compare asgiref with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install asgiref"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for asgiref yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi asgiref"
  ],
  [
   "Category",
   "HTTP servers and APIs"
  ],
  [
   "License",
   "BSD-3-Clause"
  ],
  [
   "Gid Score",
   "64.7"
  ],
  [
   "Rank in category",
   "#35 of 102"
  ],
  [
   "GitHub",
   "django/asgiref"
  ],
  [
   "Last change",
   "Nov 6, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/django.png"
}