Skip to main content

Brings event-driven capabilities to Django with a channel system. Django 1.8 and up only.

Project description

https://api.travis-ci.org/django/channels.svg https://readthedocs.org/projects/channels/badge/?version=latest https://img.shields.io/pypi/v/channels.svg https://img.shields.io/pypi/l/channels.svg

Channels loads into Django as a pluggable app to bring WebSocket, long-poll HTTP, task offloading and other asynchrony support to your code, using familiar Django design patterns and a flexible underlying framework that lets you not only customize behaviours but also write support for your own protocols and needs.

This is still beta software: the API is mostly settled, but might change a bit as things develop. Once we hit 1.0, it will be stablized and a deprecation policy will come in.

Documentation, installation and getting started instructions are at https://channels.readthedocs.io

Support can be obtained either here via issues, or in the #django-channels channel on Freenode.

You can install channels from PyPI as the channels package. You’ll likely also want to asgi_redis to provide the Redis channel layer. See our installation and getting started docs for more.

Contributing

To learn more about contributing, please read our contributing docs.

Maintenance and Security

To report security issues, please contact security@djangoproject.com. For GPG signatures and more security process information, see https://docs.djangoproject.com/en/dev/internals/security/.

To report bugs or request new features, please open a new GitHub issue. For larger discussions, please post to the django-developers mailing list.

Django Core Shepherd: Andrew Godwin <andrew@aeracode.org>

Maintenance team:

If you are interested in joining the maintenance team, please read more about contributing and get in touch!

Other Projects

The Channels project is made up of several packages; the others are:

  • Daphne, the HTTP and Websocket termination server

  • asgiref, the base ASGI library/memory backend

  • asgi_redis, the Redis channel backend

  • asgi_ipc, the POSIX IPC channel backend

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

channels-1.0.1.tar.gz (44.9 kB view hashes)

Uploaded Source

Built Distribution

channels-1.0.1-py2.py3-none-any.whl (64.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page