Demultiplexer for Django Channels 2
Project description
(De)multiplexer for Django Channels 2
Functionality
Channels Demultiplexer provides a standard way to multiplex different data streams over a single websocket.
It expects JSON-formatted WebSocket frames with two keys, stream and payload (both configurable). It matches the stream against a mapping to find a consumer and subsequently forwards the message. Consumers do not require any modifications in order to be plugged in to a (de)multiplexer, so you can hook them directly in the routing.py file as well as in a (de)multiplexer.
Documentation
For more information on installation and configuration see the documentation at:
Issues
If you have questions or have trouble using the app please file a bug report at:
Contributions
It is best to separate proposed changes and PRs into small, distinct patches by type so that they can be merged faster into upstream and released quicker:
features,
bugfixes,
code style improvements, and
documentation improvements.
All contributions are required to pass the quality gates configured with the CI. This includes running tests and linters successfully on the currently officially supported Python and Django versions.
The test automation is run automatically by Travis CI, but you can run it locally with the tox command before pushing commits.
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
Built Distribution
Hashes for channels-demultiplexer-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e80c0d44d1326dd06308a3aa64b23678d5bf8be7b5e1ea265c31a1e8a350675 |
|
MD5 | 14b2288900edb2863c28ea8fcd50edae |
|
BLAKE2b-256 | 44066e1873bd1f680877353b670ec1d235ecd7a2d94e982096dea2e6abb81494 |
Hashes for channels_demultiplexer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4042f86d0129ff57d65b692dadf2cac17b58a832cd6ee3287d47881e6224bd97 |
|
MD5 | 0cd0950431ede9bbf8aac66537351bff |
|
BLAKE2b-256 | 0db52a40642d3d21de1ee5cf1ef594e4759a6bb5769e59e72b84b416c0ece92e |