Metadata-Version: 2.2
Name: AcraNetwork
Version: 1.1.3
Summary: Classes and utilities to support Flight Test Instrumentation Ethernet networks
Home-page: https://github.com/diarmuidcwc/AcraNetwork
Author: Diarmuid Collins
Author-email: dcollins@curtisswright.com
License: GNU GPLv3
Keywords: ACRA,iNetX,FTI,IENA
Classifier: Programming Language :: Python
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# AcraNetwork 


[![Documentation Status](https://readthedocs.org/projects/acranetwork/badge/?version=latest)](https://acranetwork.readthedocs.io/en/latest/?badge=latest)
![Python App](https://github.com/diarmuidcwc/AcraNetwork/actions/workflows/python-app.yml/badge.svg)
![Python Published](https://github.com/diarmuidcwc/AcraNetwork/actions/workflows/python-publish.yml/badge.svg)
![PyPI](https://img.shields.io/pypi/v/AcraNetwork?label=pypi%20package)
![PyPI - Downloads](https://img.shields.io/pypi/dm/AcraNetwork)

A collection of classes that can be used to decom network or PCM based FTI traffic. This module contains classes to handle various packet formats like, iNetX, IENA, Chapter10, DARv3 (NPD).

It also contains a class to decom data from a SAM/DEC/008

Full documentation is available here https://acranetwork.readthedocs.io/en/latest/

## Summary

* iNetX : Class for packing and unpacking iNetX objects
* IENA  : Class for packing and unpacking IENA objects
* SimpleEthernet : A  simplified set of classes for Ethernet, IP and UDP packets. These are not fully featured is sufficient for the network systems used in the KAM500 networks
* Pcap : Class and helper methods for reading pcap files
* Chapter10: Class for chapter10 and chapter11 packets
* MPEGTS: MpegTransport stream packets


## Install

Install using pip

```shell
pip install AcraNetwork
```

## Usage

Browse the example folder for some example usage


## Testing

```shell
pip install pytest coverage
pytest
pytest --doctest-modules AcraNetwork
coverage run -m pytest
coverage html
```

## To Make a Distribution

```shell
python -m sphinx -T -b html -d _build/doctrees -D language=en . $READTHEDOCS_OUTPUT/html 
pip  install --upgrade pip wheel setuptools twine
rm dist/*
python ./setup.py sdist bdist_wheel --universal sdist
twine upload dist/*
```
