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.
Metadata
Release files for dj-channels-pubsub 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dj-channels-pubsub-0.1.0.tar.gz | 9.3 kB | Without provenance | Details for dj-channels-pubsub-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dj_channels_pubsub-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for dj_channels_pubsub-0.1.0-py2.py3-none-any.whl |
Total release size: 19.4 kB
Release files / dj-channels-pubsub-0.1.0.tar.gz
| Download URL | dj-channels-pubsub-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62b049ff6530eb95ed2dc3162b504179ac31fe84342fe1d92d98febaa141eb61
|
|
BLAKE2b-256 checksum How to use checksums |
50f1ecb9f3bb1208ceb3c1754700744e2d7545eddaba74cf51c0d0d29e754044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dj_channels_pubsub-0.1.0-py2.py3-none-any.whl
| Download URL | dj_channels_pubsub-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9a1ce902d715673bb55167cbc2179a63db59cbc157e8bd76568126e585a6392c
|
|
BLAKE2b-256 checksum How to use checksums |
0c0f91f601058915951c7dec5b57a43bedcb5db0b00398559f42732669ec4b71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for dj-channels-pubsub 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.