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.31.0.tar.gz (127.8 kB view details)

Uploaded Source

Built Distribution

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

spacepackets-0.31.0-py3-none-any.whl (105.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spacepackets-0.31.0.tar.gz
  • Upload date:
  • Size: 127.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.16

File hashes

Hashes for spacepackets-0.31.0.tar.gz
Algorithm Hash digest
SHA256 6ba8923bff04ada31c49bc4a35b98ad43bc0cf85bdc80f4f1db902d014aca341
MD5 46af663a40c9d152fa45d8fdfd319620
BLAKE2b-256 42d2eb00fbe85e013084bea0a55a32f3d22ddbc9ec1f5e0251de2e66ee66e163

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for spacepackets-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd69c2e85ff1a4934671ad38abcc1ecfd014879baef9be6ab803d873d41a1902
MD5 2f0947959da37195426ee296a0e8a19e
BLAKE2b-256 2d93c864fa5a7dff821fbc11cbeff75cdcebc099031b23ef794ca38ae27ed251

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