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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file sarp_codecs-1.1.8.tar.gz.

File metadata

  • Download URL: sarp_codecs-1.1.8.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sarp_codecs-1.1.8.tar.gz
Algorithm Hash digest
SHA256 711edcda7b4a2468f64ead30203c0f730e2f2b5db4086c3e39d269ee30d22d73
MD5 4065ba6f3c579cc9f929baf0f4e893e7
BLAKE2b-256 69004647e1a05cb17d97ef3194a07a2df7b7e4009e4a184385c14f9dcc333acc

See more details on using hashes here.

File details

Details for the file sarp_codecs-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: sarp_codecs-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for sarp_codecs-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 700d68f52973970263802e9b53844acfa1cee405d31b297360e01b437199d332
MD5 8a606d54d48e94c1b763fcd47c4747c3
BLAKE2b-256 9e9e69982a4ff1789e2c2d3ab2c99e3b1e7c53c6daf02147997c3e87d2218c23

See more details on using hashes here.

Supported by

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