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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dj-channels-pubsub-0.1.0.tar.gz.
File metadata
- Download URL: dj-channels-pubsub-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62b049ff6530eb95ed2dc3162b504179ac31fe84342fe1d92d98febaa141eb61
|
|
| MD5 |
d01c1b36d30bb1b2a373f396bf50f9ee
|
|
| BLAKE2b-256 |
50f1ecb9f3bb1208ceb3c1754700744e2d7545eddaba74cf51c0d0d29e754044
|
File details
Details for the file dj_channels_pubsub-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: dj_channels_pubsub-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a1ce902d715673bb55167cbc2179a63db59cbc157e8bd76568126e585a6392c
|
|
| MD5 |
dea22b5334f1b8a2786c76e1d0a5d0d8
|
|
| BLAKE2b-256 |
0c0f91f601058915951c7dec5b57a43bedcb5db0b00398559f42732669ec4b71
|