mirror of
https://github.com/django/daphne.git
synced 2026-01-09 01:30:53 +03:00
Django Channels HTTP/WebSocket server
* Use a mixin for common test-case code. This way we can have both a regular channels test-case, and a transaction test-case, too. * Adding a reference to django-cq. * Adding the ability to launch a number of workers in threads. This is to try and help reduce memory consumption. * Adding a signal for process level worker startups. * Cleaning up the threaded worker code. * Use Python 2.7 friendly code. * Making the runworker command show a little more information about how many threads are running. * Moving the worker ready signal into a method in order to support polymorphic behavior. * Ugh, I'm an idiot. Was launching the wrong run. * Adding a call to the workers' `ready` in `runserver`. * Fixed a bug whereby too many threads were being used when threaded workers were used. |
||
|---|---|---|
| channels | ||
| docs | ||
| testproject | ||
| .coveragerc | ||
| .gitignore | ||
| .travis.yml | ||
| CHANGELOG.txt | ||
| CONTRIBUTING.rst | ||
| LICENSE | ||
| Makefile | ||
| patchinator.py | ||
| README.rst | ||
| runtests.py | ||
| setup.cfg | ||
| setup.py | ||
| tox.ini | ||
Django Channels
===============
.. image:: https://api.travis-ci.org/andrewgodwin/channels.svg
:target: https://travis-ci.org/andrewgodwin/channels
.. image:: https://readthedocs.org/projects/channels/badge/?version=latest
:target: http://channels.readthedocs.org/en/latest/?badge=latest
.. image:: https://img.shields.io/pypi/v/channels.svg
:target: https://pypi.python.org/pypi/channels
.. image:: https://img.shields.io/pypi/l/channels.svg
:target: https://pypi.python.org/pypi/channels
*(Note: Recent versions of Channels also need recent versions of Daphne,
asgi_redis and asgiref, so make sure you update all at once)*
This is a work-in-progress code branch of Django implemented as a third-party
app, which aims to bring some asynchrony to Django and expand the options
for code beyond the request-response model, in particular enabling WebSocket,
HTTP2 push, and background task support.
This is still **beta** software: the API is mostly settled, but might change
a bit as things develop.
Documentation, installation and getting started instructions are at
http://channels.readthedocs.org
Support can be obtained either here via issues, or in the ``#django-channels``
channel on Freenode.
You can also install channels from PyPI as the ``channels`` package.
You'll likely also want ``asgi_redis`` to provide the Redis channel layer.