rgpubsub
Simple helper utility to send Google Pubsub messages easily.
Simple usage example
import rgpubsub
from rgpubsub import Publisher
publisher = Publisher.default_instance()
topic_name = rgpubsub.topic('testtopic')
message = {
'foo': 'bar'
}
attributes = {
'baz': 'bar'
}
publisher.publish(topic_name, message, attributes)
print('Sent message')
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rgpubsub-0.0.9.tar.gz
(2.4 kB
view details)
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 rgpubsub-0.0.9.tar.gz.
File metadata
- Download URL: rgpubsub-0.0.9.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c4786446137fa7c93cbbcd4858559387285c739efbc242b29077ea71fbe2279
|
|
| MD5 |
423a5ccc833c7354ceaa30ca5258798a
|
|
| BLAKE2b-256 |
28598ec7cbc7de51db541d5cd197d45d5b5b61baf977dad30185284073c2faa2
|
File details
Details for the file rgpubsub-0.0.9-py3-none-any.whl.
File metadata
- Download URL: rgpubsub-0.0.9-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64c2f1b572b954ce06a78276e1e781ea1cb7aa4279864bad2d16aa32a489ddae
|
|
| MD5 |
580372abdf3a27162eb007e85a499f74
|
|
| BLAKE2b-256 |
d111fd4cdbf8881a299b3abc415ae070e98a997f49cf92bc11384d24d7b4d6ee
|