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
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
Release files for sarp-codecs 1.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sarp_codecs-1.1.8.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sarp_codecs-1.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / sarp_codecs-1.1.8.tar.gz
| Download URL | sarp_codecs-1.1.8.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
711edcda7b4a2468f64ead30203c0f730e2f2b5db4086c3e39d269ee30d22d73
|
|
BLAKE2b-256 checksum How to use checksums |
69004647e1a05cb17d97ef3194a07a2df7b7e4009e4a184385c14f9dcc333acc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
|
Release files / sarp_codecs-1.1.8-py3-none-any.whl
| Download URL | sarp_codecs-1.1.8-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
700d68f52973970263802e9b53844acfa1cee405d31b297360e01b437199d332
|
|
BLAKE2b-256 checksum How to use checksums |
9e9e69982a4ff1789e2c2d3ab2c99e3b1e7c53c6daf02147997c3e87d2218c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.9.0
|