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.2.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.2.tar.gz.
File metadata
- Download URL: relaybus_core-0.0.2.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 |
4cf6a76435a8dd4b17b650110226ba379cb99a6378d69b8b52dca03fda1b5191
|
|
| MD5 |
1f7a2cad422fdc10655b23b33fd94af1
|
|
| BLAKE2b-256 |
274be72b28cb81b7a11986d8e565db30931e282e9486b9697226ad60ee09e149
|
File details
Details for the file relaybus_core-0.0.2-py3-none-any.whl.
File metadata
- Download URL: relaybus_core-0.0.2-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 |
529d16bc0246f4b2f4369a7633e67dd9173cdd191065fdb6cbd183971e0c5c41
|
|
| MD5 |
d9c81d03e957e35a935e7401f2db64f8
|
|
| BLAKE2b-256 |
6887c4d956890b0739dc5fb81feea973f3f3a629535623a61c0452497e52e319
|