Skip to main content

Collection of Python tools for working with CCSDS Space Packets

Project description

Contributor Covenant

SPaC-Kit

✨ Introduction

SpaC-Kit is a collection of Python tools for working with CCSDS Space Packet. It can generically:

  • Parse data files into Pandas DataFrames or Excel spreadsheets
  • (Scheduled Feb 2026) – Generate documentation in multiple formats (HTML, Markdown, reStructuredText, PDF)
  • (Scheduled Apr 2026) – Generate simulated packets

SpaC-Kit supports mission or instrument-specific CCSDS packet structures via plugin packages built on the CCSDSPy library.

[!IMPORTANT] This library is currently in active development.

Some functions are placeholders and may not yet have full implementations. Expect ongoing updates and new features as the library evolves.

🔌 Available Plugins

Acknowledgments

The work being done here heavily relies on the CCSDSpy library. It has been started as part of the NASA Europa Clipper mission Science Data System development and it is being now funded by a NASA ROSES grant.

Users

Requirement

Tested with python 3.13.

Optionnally, but recommended, create a virtual environment:

python3 -m venv my_virtual_env
source my_virtual_env/bin/activate

Install

Install you plugin library first, for example Europa-Clipper CCSDS packets definitions:

git clone https://github.com/joshgarde/europa-cliper-ccsds-plugin.git
cd europa-cliper-ccsds-plugin
pip install .

Install the SPaC-Kit package:

pip install spac-kit

Use

spac-parse --file {your ccsds file}

See more options with:

spac-parse --help

Developers

Requirements

Python 3.13

Create a virtual environment

For example in command line:

python3 -m venv venv
source venv/bin/activate

Install the latest development version of CCSDSPy (optionnal)

To install the latest version of CCSDSPy:

pip install git+https://github.com/CCSDSPy/ccsdspy.git

Deploy the project, for developers

Clone the repository

Install the package

pip install -e '.[dev]'
pre-commit install && pre-commit install -t pre-push

Run an example:

python src/spa_kit/parse/downlink_to_excel.py

or

spac-parse --help

or

spac-parse --file ./data/ecm_mag_testcase6_cmds_split_out.log --bdsem --header

Build and publish the package

Update the version number in file setup.cfg

Create a tag in the repository

Build the project:

python3 -m pip install --upgrade build
rm -rf dist/
python3 -m build

Publish the project:

twine upload dist/*

Acknowledgment

This package heavily relies on ccsdspy library (see https://github.com/CCSDSPy/ccsdspy).

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

spac_kit-0.2.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

spac_kit-0.2.1-py3-none-any.whl (21.9 kB view details)

Uploaded Python 3

File details

Details for the file spac_kit-0.2.1.tar.gz.

File metadata

  • Download URL: spac_kit-0.2.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.20

File hashes

Hashes for spac_kit-0.2.1.tar.gz
Algorithm Hash digest
SHA256 b9ce9d0b33812bfa0e230adb605fcb53da7b27ebbdc2b9d7cfb4cb3a72c0c87e
MD5 68d7ec510a3bd6d8603a78414cc66c94
BLAKE2b-256 44a67bed2978799510677f94985c284e7dbf44024e3a521be9bced50096ebfa3

See more details on using hashes here.

File details

Details for the file spac_kit-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: spac_kit-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 21.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.20

File hashes

Hashes for spac_kit-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d84b84585aec7eac667c57fc7cd28efb6605eb0260e2eb2c9a927493d385d0f4
MD5 1d61407ae5af0d08113e1b8bad821982
BLAKE2b-256 8ed229cb023988cd55cc85a6dd11b161863df6ab75bce0c6bdf7fcb5e8a2ff47

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