Metadata-Version: 2.1
Name: pydownlinkparser
Version: 0.1.1
Home-page: https://github.jpl.nasa.gov/EURC-SDS/pyDownLinkParser
Download-URL: 
Author: 
Author-email: 
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: ccsdspy (~=1.2.1)
Requires-Dist: crccheck (~=1.3.0)
Requires-Dist: pandas (~=2.0.2)
Requires-Dist: bitstring (~=4.1.2)
Requires-Dist: openpyxl (~=3.1.2)
Requires-Dist: setuptools (~=67.8.0)
Requires-Dist: tqdm (~=4.66.1)
Provides-Extra: dev
Requires-Dist: flake8 (==3.9.2) ; extra == 'dev'
Requires-Dist: flake8-bugbear (==21.9.1) ; extra == 'dev'
Requires-Dist: flake8-docstrings (==1.6.0) ; extra == 'dev'
Requires-Dist: pep8-naming (==0.12.1) ; extra == 'dev'
Requires-Dist: mypy (==0.910) ; extra == 'dev'
Requires-Dist: coverage (==5.5) ; extra == 'dev'
Requires-Dist: pytest (==6.2.5) ; extra == 'dev'
Requires-Dist: pytest-cov (==2.12.1) ; extra == 'dev'
Requires-Dist: pytest-watch (==4.2.0) ; extra == 'dev'
Requires-Dist: pytest-xdist (==2.4.0) ; extra == 'dev'
Requires-Dist: pre-commit (==2.15.0) ; extra == 'dev'

# 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.

## Usage

Install:

    pip 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
