Override pubsub client
Project description
Arcane PubSub
This package is base on google-cloud-pubsub.
Get Started
pip install arcane-pubsub
Example Usage
from arcane import pubsub
# Import your configs
from configure import Config
client = pubsub.Client(Config.KEY)
client.push_to_topic('project', 'topic', {"parameter": "value"})
Publish with a new schema
result = pubsub_client.publish_with_schema(
project='my-project',
topic_name='my-topic-with-schema',
message=message,
await_response=True,
)
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
arcane_pubsub-1.2.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for arcane_pubsub-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e529538ec3adfef5a810ca921f483c95a97c75d90b091a945075f95ab37947 |
|
MD5 | 0d2dd4e26b0436d662ba6214ac568ce4 |
|
BLAKE2b-256 | 4325a4f5da561602c3f77378593b75146113ceeb9962d5784ee3dee9a981ccd1 |