Skip to main content

A parser library for the IRIG 106 Chapter 10 data format.

Project description

StatusImage CoverageImage DocsImage LicenseImage PyPiVersion PythonVersion

PyChapter10 is an open source pure Python library for reading and writing IRIG 106 Chapter 10 (now 11) files. Tested on all 3 major platforms with Python 3.6+.

Installation

Install the latest version with pip:

pip install pychapter10

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

pip install dependencies/* .

Note: you may also install cbitstruct for a performance improvement.

Basic Usage

PyChapter10 provides a pythonic API to read, write, and update Chapter 10 data.

from chapter10 import C10

# Find all 1553 messages in a file
for packet in C10('<filename>'):
    if packet.data_type == 0x19:
        for msg in packet:
            # do something with the message

Supported Datatypes

Type

Name

Supported

0x00

Computer-Generated F0 - User-Defined

User-Defined

0x01

Computer-Generated F1 - Setup Record (TMATS)

Yes

0x02

Computer-Generated F2 - Recording Events

Yes

0x03

Computer-Generated F3 - Recording Index

Yes

0x04

Computer-Generated F4 - Streaming Config (TMATS)

No

0x09

PCM F1

Yes

0x11

Time Data F1

Yes

0x12

Time Data F2

No

0x19

1553 F1

Yes

0x1A

1553 F2 - 16PP194

Yes

0x21

Analog F1

Yes

0x29

Discrete F1

Yes

0x30

Message F0

Yes

0x38

ARINC-429 F0

Yes

0x40

Video F0

Yes

0x41

Video F1

Yes

0x42

Video F2

Yes

0x43

Video F3

No

0x44

Video F4

No

0x48

Image F0

Yes (untested)

0x49

Image F1

Yes (untested)

0x4A

Image F2

Yes (untested)

0x50

UART F0

Yes

0x58

IEEE 1394 F0

Yes (untested)

0x59

IEEE 1394 F1

Yes (untested)

0x60

Parallel F0

Yes (untested)

0x68

Ethernet F0 - Ethernet Data

Yes

0x69

Ethernet F1 - UDP Payload

Yes

0x70

TSPI/CTS F0 - GPS NMEA-RTCM

No

0x71

TSPI/CTS F1 - EAG ACMI

No

0x72

TSPI/CTS F2 - ACTTS

No

0x78

Controller Area Network Bus

No

0x79

Fibre Channel F0

No

0x7A

Fibre Channel F1

No

Running Tests

To run the included test suite install pdm and dev dependencies with pip:

pip install pdm
pdm install --dev

Then run:

pytest

Building the Documentation

After installing dependencies (or just “pip install sphinx”) Build the docs with:

python setup.py build_docs

The generated HTML will be in docs/html

Note: “Full” zip includes built documentation already.

Contributing

See CONTRIBUTING

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pychapter10-1.1.18-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file pychapter10-1.1.18-py3-none-any.whl.

File metadata

  • Download URL: pychapter10-1.1.18-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.8.2 requests/2.27.1 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/2.7.17

File hashes

Hashes for pychapter10-1.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 0ec8e727087d2b1be8b31b0aaef0741c7b1ac18d13e4cd3d31c7d070fa4b1b10
MD5 7e3e8babd3a4f310c1e1b50ef2868ecb
BLAKE2b-256 0556388db4f95d4459be1c08782604d47d3cdcaff389a95349a4db1618146312

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