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.
- 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:
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
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
File details
Details for the file spacepackets-0.25.0.tar.gz
.
File metadata
- Download URL: spacepackets-0.25.0.tar.gz
- Upload date:
- Size: 119.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff75c17d327201cd9ac663108e3338ce15c160c01e129ff8767f5f0ddf780f7 |
|
MD5 | 6ffd7a04deb4df4e4001aed0145f7ed5 |
|
BLAKE2b-256 | f24955f8920325f7f33ddae18354f0e30df74c7e8187147d19cff0fdea327960 |
File details
Details for the file spacepackets-0.25.0-py3-none-any.whl
.
File metadata
- Download URL: spacepackets-0.25.0-py3-none-any.whl
- Upload date:
- Size: 161.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbd915b3ab792ed72fec8fd652337d55725a478f60f1d2a868cb81a7a23875db |
|
MD5 | 09faefe0e84a7047f18f50c5fabbe241 |
|
BLAKE2b-256 | e99b5d41cef56a8259ead1ecb76c209bbceefe4c71c3a6c85deb611cdb691498 |