Skip to main content

Various CCSDS and ECSS packet implementations

Project description

ci Documentation Status codecov PyPI version

ECSS and CCSDS Spacepackets

This package contains generic implementations for various CCSDS (Consultative Committee for Space Data Systems) and ECSS (European Cooperation for Space Standardization) packet standards.

Currently, this includes the following components:

It also contains various helper modules which are commonly used when working with these standards:

  • PusVerificator module to track the verification of sent telecommands.
  • PTC and PFC definitions for ECSS packets.
  • Countdown utility class.
  • Sequence counter utility classes.

Install

You can install this package from PyPI

Linux:

python3 -m pip install spacepackets

Windows:

py -m pip install spacepackets

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

spacepackets-0.26.1.tar.gz (120.7 kB view details)

Uploaded Source

Built Distribution

spacepackets-0.26.1-py3-none-any.whl (163.2 kB view details)

Uploaded Python 3

File details

Details for the file spacepackets-0.26.1.tar.gz.

File metadata

  • Download URL: spacepackets-0.26.1.tar.gz
  • Upload date:
  • Size: 120.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for spacepackets-0.26.1.tar.gz
Algorithm Hash digest
SHA256 ca2dcc2c3f5bc1630cf629c411682411f0a851d77e2c1d877d33e55b01c814e0
MD5 3ed16cc56cdfcf3cab68284237171cf4
BLAKE2b-256 ae0f3bc464045c28af2e84a11737517d1c9485437f6f6ef603325de530d281da

See more details on using hashes here.

File details

Details for the file spacepackets-0.26.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spacepackets-0.26.1-py3-none-any.whl
Algorithm Hash digest
SHA256 43077673434f521b2278d8b7d7f116a57436e309b3fea2a5debff9852d0c5c80
MD5 f8de15e4cb319922f1b2f87cf411e862
BLAKE2b-256 3d15fafd5c43e02d774ac3446e2c273c03c94c0b92eba90b9a8bc6847043ad4e

See more details on using hashes here.

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