Various CCSDS and ECSS packet implementations
Project description
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:
- Space Packet implementation according to CCSDS Blue Book 133.0-B-2
- CCSDS CDS short timestamp implementation according to CCSDS 301.0-B-4 3.3.
- PUS Telecommand and PUS Telemetry implementation according to the ECSS-E-ST-70-41C standard. PUS A (legacy) is supported as well.
- CCSDS File Delivery Protcol (CFDP) packet implementations according to CCSDS Blue Book 727.0-B-5.
- Unified Space Data Link Protocol (USLP) frame implementations according to CCSDS Blue Book 732.1-B-2.
It also contains various helper modules which are commonly used when working with these standards:
PusVerificatormodule to track the verification of sent telecommands.- PTC and PFC definitions for ECSS packets.
Countdownutility 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10c20650b0bad412ac3de3c3f06d506c205302b23a992fce40f047a4a84ddfd4
|
|
| MD5 |
70228ee4215293b734477b7631f44a8e
|
|
| BLAKE2b-256 |
fe7ccbfe89109a10a831144afdf2e352e0702d0ae5a65de3a3e7ba5a025c0db5
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a4d8791b50a4aebbcdb2f60c10aa188cfa5ca8368a843f16d6fb141cc1dcf01
|
|
| MD5 |
2fbc62014cd669fd1b98a18c6ee724b1
|
|
| BLAKE2b-256 |
b7e0b9ac2829f38fcc491d834391d9bb302c941f6a9eb324f279f99a7c6cca23
|