Skip to main content

Generic communication interface abstraction for sending and receiving 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.2.0.tar.gz (21.9 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.2.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: com_interface-0.2.0.tar.gz
  • Upload date:
  • Size: 21.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 7b439ec0ce0cdb0588b517e13d204f404a84d6e7542a6a28ceb912a3e97e6194
MD5 fc445f40c342d5ad977320d9d874ec8b
BLAKE2b-256 72d56b86ce56fdc8d70de854889c88c28580e0ba44ccb14d08b940f6c173502f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: com_interface-0.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adca0e9b1f4fbd06c076575c16dba4c5573eb2fd28f7dc5c71a278579920e435
MD5 203678cfc4aed26a30270d6953906c21
BLAKE2b-256 5a7fdcfa8b783671d25c22e9c47da836f6c30508ee01b62ffecdf83b5ef93e68

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