Skip to main content

Generic communication interface abstraction for sending arbitrary byte packets

Project description

ci Documentation Status PyPI version

com-interface - Generic communication abstraction to send arbitrary byte packets

This library contains a generic communication abstraction specifically targeted towards the exchange of binary data like CCSDS packets.

The documentation contains more information.

Install

You can install this package from PyPI

Linux:

python3 -m pip install com-interface

Windows:

py -m pip install com-interface

Examples

You can find all examples inside the documentation.

Tests

If you want to run the tests, it is recommended to install pytest and coverage (optional) first:

pip install coverage pytest

Running tests regularly:

pytest .

Running tests with coverage:

coverage run -m pytest

Documentation

The documentation is built with Sphinx and new documentation should be written using the NumPy format.

Install the required dependencies first:

pip install -r docs/requirements.txt

Then the documentation can be built with

cd docs
make html

You can run the doctests with

make doctest

Formatting and Linting

Linting:

ruff check .

Formatting:

ruff format .

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

com_interface-0.1.0.tar.gz (28.7 kB view details)

Uploaded Source

Built Distribution

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

com_interface-0.1.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file com_interface-0.1.0.tar.gz.

File metadata

  • Download URL: com_interface-0.1.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for com_interface-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2acd6cc3ecb14e6f24f16841229e6d58a16189bd4ab0f79c91837d5913832202
MD5 52814fe66e2a13dc992437b78a87aef4
BLAKE2b-256 b355fb48befe6a166c70a402fb93a990c5a0d1482f26bfa682e9e8333e87d09f

See more details on using hashes here.

File details

Details for the file com_interface-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: com_interface-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for com_interface-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c15eaae1b6978ba06ea31dde61fd4594383ff1944f2c0d9dc6f4cf5b4681f17
MD5 f44bc72a470a8c9d1650267365e9e199
BLAKE2b-256 51797a412fdc3a0eed82bd13169808d55ee93d65de8a1fbae5260ea09437b44b

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