Skip to content

linville/c10-tools

 
 

Repository files navigation

C10 Tools

Build Status PyPI - License PyPI PyPI - Python Version Docker Cloud Automated build

Commandline toolkit for inspecting and troubleshooting IRIG 106 Chapter 10/11 data with pychapter10.

Usage

Usage:
    c10 <command> [<args>] [options]

Commands:
    allbus         Switch 1553 format 1 messages to indicate the same bus (a or b).
    capture        Capture chapter 10 data from a pcap file.
    copy           Copy a Chapter 10 file. Can selectively copy by channel, type, byte offset, or time.
    dump           Dump hex (default), binary data, or PCAP from a Chapter 10 channel.
    find           Search for a given value in Chapter 10 files.
    frompcap       Wrap network data in a pcap file as Chapter 10 Message format.
    help           Show general usage or help for a command.
    inspect        Report on packets found in a file.
    reindex        Remove or recreate index packets for a file.
    stat           Inspect one or more Chapter 10 files and get channel info.
    streamcheck    Plot data density of a channel in a Chapter 10 stream. Requires matplotlib.
    timefix        Ensure that time packets are at 1-second intervals.

Options:
    -v, --verbose  Verbose output.
    -q, --quiet    Minimal output.
    -h, --help     Show general usage or help for a command.

Get top-level usage and list of commands with:

c10 help

Get specific usage for each command with

c10 help <command>

Installation

Install the latest version with pip (or pipx):

pip install c10-tools

To install offline from the "full" zip, install the included dependencies and the library with:

pip install dependencies/* . --no-index --no-deps

Running Locally

To use locally install pdm and install dependencies with:

pdm install

Then to run the test suite run:

pytest

About

Commandline toolkit for inspecting and troubleshooting IRIG 106 Chapter 10/11 data with pychapter10.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.2%
  • Lua 3.7%
  • Dockerfile 0.1%