Skip to content

diarmuidcwc/AcraNetwork

Repository files navigation

AcraNetwork

Documentation Status Python App Python Published PyPI PyPI - Downloads

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

pip install AcraNetwork

Usage

Browse the example folder for some example usage

Testing

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

To Make a Distribution

This can be skipped and let githugb actions do it by tagging as vx.y.z

Then create a release on github

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/*

About

A collection of classes for use in de-com of Pcap files and the resulting iNet-X and IENA packets, Applies to both pcap files and straight from the network

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors