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 sarp_codecs
from sarp_codecs.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.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for sarp_codecs-1.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e12e1597f0183cc625dec07621a3d7ebab5ad6aff2e4f7b98463f9e41c849491 |
|
MD5 | eb8f9070649738b7381532495b4c4b79 |
|
BLAKE2b-256 | 84281223987ffce5b61ef5589cd97894ac65c0049108c4d5860468e97e684894 |