Django Channels Layer for Google PubSub
Project description
Django Channels Layer for Google PubSub
Documentation
The full documentation is at https://dj-channels-pubsub.readthedocs.io.
Quickstart
Install Django Channels PubSub:
pip install dj-channels-pubsub
Add Environment variables:
export GOOGLE_CLOUD_PROJECT="" # Real project ID required for local emulator too
For the local PubSub Emulator, add:
export PUBSUB_EMULATOR_HOST=localhost:8085
For the local PubSub Emulator with Docker Compose:
export PUBSUB_EMULATOR_HOST=pubsub:8085
pubsub: image: google/cloud-sdk:331.0.0 command: gcloud beta emulators pubsub start --host-port=0.0.0.0:8085 ports: - "8085:8085" restart: unless-stopped
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Development commands
pip install -r requirements_dev.txt invoke -l
Credits
Tools used in rendering this package:
History
0.1.0 (2021-08-04)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
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
Close
Hashes for dj_channels_pubsub-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1ce902d715673bb55167cbc2179a63db59cbc157e8bd76568126e585a6392c |
|
MD5 | dea22b5334f1b8a2786c76e1d0a5d0d8 |
|
BLAKE2b-256 | 0c0f91f601058915951c7dec5b57a43bedcb5db0b00398559f42732669ec4b71 |