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:

pip install spacepackets

For example, using uv:

uv pip install spacepackets

Examples

You can find all examples inside the documentation.

Contributing

For local development from a checkout, sync the project environment and development tools:

uv sync --group dev

To include test dependencies:

uv sync --group dev --extra test

Tests

If you want to run the tests, you have to install the package with the optional test feature:

uv sync --group dev --extra test

Running tests regularly:

uv run pytest

Running tests with coverage:

uv run coverage run -m pytest
uv run coverage report

Documentation

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

Install the required dependencies first:

uv 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:

uv run ruff check

Formatting:

uv run 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.32.0.tar.gz (129.3 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.32.0-py3-none-any.whl (107.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spacepackets-0.32.0.tar.gz
  • Upload date:
  • Size: 129.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spacepackets-0.32.0.tar.gz
Algorithm Hash digest
SHA256 10c20650b0bad412ac3de3c3f06d506c205302b23a992fce40f047a4a84ddfd4
MD5 70228ee4215293b734477b7631f44a8e
BLAKE2b-256 fe7ccbfe89109a10a831144afdf2e352e0702d0ae5a65de3a3e7ba5a025c0db5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: spacepackets-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 107.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for spacepackets-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a4d8791b50a4aebbcdb2f60c10aa188cfa5ca8368a843f16d6fb141cc1dcf01
MD5 2fbc62014cd669fd1b98a18c6ee724b1
BLAKE2b-256 b7e0b9ac2829f38fcc491d834391d9bb302c941f6a9eb324f279f99a7c6cca23

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