Skip to main content

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

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.8.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

sarp_codecs-1.1.8-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page