# django/channels

Developer-friendly asynchrony for Django

Repository: https://github.com/django/channels
Canonical: https://ross.abutalabs.com/products/channels
Homepage: https://channels.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-06T05:09:41+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4109, "days_push": 27, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6352, forks 825 (observed 2026-08-28T04:09:42.779832+00:00)

## What it is
Django Channels is an official Django project that adds asynchronous, event-driven capabilities such as WebSocket and long-poll HTTP support to Django applications. It uses familiar Django design patterns on top of the ASGI specification, with a flexible layer for custom protocol support.

## Use cases
- add websocket support to a django app
- build real-time chat with django
- handle long-polling http requests in django
- offload background tasks from django views
- write custom async protocol handlers for django
- serve django over asgi with async consumers

## When to choose
- you already use Django and need real-time bidirectional communication
- you want async consumers following Django's class-based patterns
- you need an official, well-maintained ASGI layer for Django

## When to avoid
- you use Flask, FastAPI, or another non-Django framework
- you only need simple synchronous request/response handling
- you want a standalone websocket server without Django

## Facets
- artifact type: library
- maturity: stable
- function: websocket, http-server, middleware, routing, concurrency
- domain: web-development, backend, developer-tools
- platform: python, cross-platform
- tags: django, asgi, async, long-polling, event-driven, real-time, web-server

## Member repositories
- django/channels (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:42.779832+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:46:06.138740+00:00, confidence not recorded.
  - readme: https://github.com/django/channels (fetched 2026-08-28T04:09:42.779832+00:00, sha 568db65578d8)
  - registry_pypi: https://pypi.org/pypi/channels/json (fetched 2026-08-29T08:42:46.876657+00:00, sha 85c4de9f2911)
- Data as of 2026-08-30T08:39:29.467469+00:00.
