A package to encode network communication for SARP
Project description
Codecs for SARP
Codecs is a package containing message schema for all networked SARP systems. It will help establish a consistent encoding scheme for all SARP related network communication.
Installation
pip install sarp_codecs
Example Usage
import codecs
from template_codec import TemplateCodec
telem_item = {"timestamp": 12345, "example_channel_1": 1, "example_channel_2": 2, "example_channel_3": 3}
fill_codec = TemplateCodec()
fill_codec.encode(telem_item)
Expected Output
The expected output will be the encoded version of telem_item
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
sarp_codecs-1.1.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for sarp_codecs-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ba4f16bd5fb5c8e2368efbd6c300133e27ace7731ae2e42eb9459a31868db0 |
|
MD5 | 865f727ec6a778f64993b5941869c6c3 |
|
BLAKE2b-256 | 6fbfc71020b47f33587c1eb9b04b68d7ad48324bf2bafb9f8ae8b5986a2fe845 |