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 details)
Built Distribution
File details
Details for the file arcane_pubsub-1.2.0.tar.gz
.
File metadata
- Download URL: arcane_pubsub-1.2.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5db84afca710f9f07603dfebe7e8621a32702d0a69ad92dffeeda32052fbb690 |
|
MD5 | 98b9778211317422ea34927a2bf5712d |
|
BLAKE2b-256 | 14b24f712888fe47d94a67680f8dac98df8df02f4bf91b417ee1829fb270dd0f |
File details
Details for the file arcane_pubsub-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: arcane_pubsub-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.7.17 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e529538ec3adfef5a810ca921f483c95a97c75d90b091a945075f95ab37947 |
|
MD5 | 0d2dd4e26b0436d662ba6214ac568ce4 |
|
BLAKE2b-256 | 4325a4f5da561602c3f77378593b75146113ceeb9962d5784ee3dee9a981ccd1 |