Relaybus core envelope utilities
Project description
relaybus-core (Python)
Core envelope encode/decode utilities for Relaybus.
Install
pip install relaybus-core
Example
from relaybus_core import OutgoingMessage, decode_envelope, encode_envelope
encoded = encode_envelope(
OutgoingMessage(topic="alpha", payload=b"hello", meta={"source": "py"})
)
decoded = decode_envelope(encoded)
print(decoded.topic, decoded.payload)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
relaybus_core-0.0.5.tar.gz
(2.8 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 relaybus_core-0.0.5.tar.gz.
File metadata
- Download URL: relaybus_core-0.0.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f97488ff7b8fa808420566d98bdc15012260880de57da544ed25ad44a10b36f1
|
|
| MD5 |
7712ddc5be46829c9f647a771183cc87
|
|
| BLAKE2b-256 |
638dfcfc46a714b780f7b14cc01fc915f72812e450dedbc8efe942864fe3a337
|
File details
Details for the file relaybus_core-0.0.5-py3-none-any.whl.
File metadata
- Download URL: relaybus_core-0.0.5-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6776a0abcd74b51b6a415ec61e16d4ddf2d27cd0114423ea449c817a5486023
|
|
| MD5 |
fbf8c3284ba555a38f7199d98868a073
|
|
| BLAKE2b-256 |
06b29e66c15295fbee5e260420fc5173cf42fed68a036f5beb52a693ec79e706
|