{"library":"channels","type":"library","category":null,"description":"Channels is a project that extends Django's capabilities beyond traditional HTTP, enabling it to handle asynchronous protocols such as WebSockets, chat protocols, and IoT protocols. It is built upon the Asynchronous Server Gateway Interface (ASGI) specification, allowing Django applications to support long-running, event-driven connections alongside conventional HTTP views. The library is currently at version 4.3.2 and is actively maintained as an official Django Project, aligning its release cadence and Python/Django version support with the core framework.","language":"python","status":"active","version":"4.3.2","tags":["django","async","websockets","asgi","real-time","chat"],"last_verified":"Wed May 20","install":[{"cmd":"pip install channels","imports":["from channels.routing import ProtocolTypeRouter","from channels.routing import URLRouter","from channels.auth import AuthMiddlewareStack","from channels.generic.websocket import WebsocketConsumer","from channels.generic.websocket import AsyncWebsocketConsumer","from asgiref.sync import sync_to_async","from asgiref.sync import async_to_sync","from django.core.asgi import get_asgi_application"]},{"cmd":"pip install 'channels[daphne]' channels_redis","imports":[]}],"homepage":"https://channels.readthedocs.io","github":"http://github.com/django/channels","docs":null,"changelog":null,"pypi":"https://pypi.org/project/channels/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":6.6,"avg_import_s":0.72,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/channels/compatibility"}}