Skip to main content

parses spacecrafts down-links complying with the CCSDS standard

Project description

pyDownLinkParser

This library parses binary files containing CCSDS packets of various structures (APID) and distribute them in pandas dataframes.

It is modular and configurable for multiple missions, but is being primarily developed for Europa-Clipper.

Users

Requirement

Tested with python 3.9.

Optionnally, but recommended, create a virtual environment:

python3 -m venv my_virtual_env
sournce my_virtual_env/bin/activate

Install

pip install pydownlinkparser

Use

parse-downlink --file {your ccsds file}

See more options with:

parse-downlink --help

Developers

Requirements

Python 3.9

Create a virtual environment

For example in command line:

python3 -m venv venv
source venv/bin/activate

Install CCSDSPy

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/pydownlinkparser/downlink_to_excel.py

or

parse-downlink --help

or

parse-downlink --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 repostory

Build the project:

python3 -m pip install --upgrade build
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

pydownlinkparser-0.3.0.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

pydownlinkparser-0.3.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file pydownlinkparser-0.3.0.tar.gz.

File metadata

  • Download URL: pydownlinkparser-0.3.0.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.17

File hashes

Hashes for pydownlinkparser-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4fa21b9685faef08ba120fc1c7995583b275c4c8498a17d802328cd211c77311
MD5 3f1dea8b1ec9d281a1e18696d81ffdbb
BLAKE2b-256 e75b3bc48a9c62681fe9875bbc31513f51e3c365dc50f8aca55162627e36e0c3

See more details on using hashes here.

File details

Details for the file pydownlinkparser-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pydownlinkparser-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9457f9974fefd3d973c750dc3a648c1ab8684c1d5cfca0562e285fdb91c5e312
MD5 6c5f8fbe360419f11996b5bf2a71e840
BLAKE2b-256 57c4fd5e572a98158eec22b4568896b6f74d2ae32aa11330b28bd65ce4d588fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page