# C10 Tools
[![Build Status](https://img.shields.io/azure-devops/build/atac-bham/ee9fec36-25b3-4698-9fc2-f77a58ad9ecb/8)](https://dev.azure.com/atac-bham/c10-tools/_build/latest?definitionId=8&branchName=master)
![PyPI - License](https://img.shields.io/pypi/l/c10-tools)
![PyPI](https://img.shields.io/pypi/v/c10-tools)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/c10-tools)
[![Docker Cloud Automated build](https://img.shields.io/docker/cloud/automated/mcferrill/c10-tools)](https://hub.docker.com/repository/docker/mcferrill/c10-tools/builds)
Various utilities for analyzing and manipulating Irig 106 Chapter 10 data using
[libirig106-python](https://github.com/atac/libirig106-python) and
[pychapter10](https://github.com/atac/pychapter10).
## Included Tools
Each tool is self-documenting with the --help flag as in:
```
c10-stat --help
```
* c10-allbus - Switch 1553 format 1 messages to indicate the same bus.
* c10-copy - Copy a file optionally filtering on channel id or data type.
* c10-dmp1553 - Print a hex dump of word n for every 1553 message found.
* c10-dump - Export packet data to file.
* c10-dump-pcap - Export Ethernet data from a Chapter 10 file to pcap.
* c10-errcount - Count error flags in 1553 format 1 packets.
* c10-events - Print recording event packet info.
* c10-from-pcap - Extract chapter 10 data from a pcap file.
* c10-grep - Search files/directories for specific data markers
* c10-reindex - Strip and optionally rebuild index packets for a file.
* c10-stat - Display packet counts and channel information for a file.
* c10-timefix - Correct time values in a file.
* c10-validator - Attempt to recover viable data from a corrupt file.
* c10-wrap-pcap - Wrap ethernet data from a pcap file as ethernet packets in a
chapter 10 file.
* wireshark_dissector - Lua based wireshark dissector for Chapter 10 data
## Installation
Install the latest version with pip:
```
pip install c10-tools
```
To install offline from the "full" zip, install the included dependencies and the library with:
```
pip install dependencies/* .
```
## Choosing Backend Library
By default everything will run with pychapter10. You can improve the performance of pychapter10 by installing cbitstruct `pip install cbitstruct`. You can also install libirig106-python. To manually select between backends when both are installed, set the LIBRARY environment variable with c10 or i106 as in (for unix):
```
LIBRARY=c10 c10-stat test.ch10
```
## Running Tests
To run the included sanity tests install dependencies with pip (also included in full zip, see above):
```
pip install -r requirements.txt
```
Then run:
```
pytest test
```
## Building Native Binaries
If the dependencies are installed (see Running Tests) you can compile native executables of the tools with:
```
python setup.py build_scripts
```
没有合适的资源?快使用搜索试试~ 我知道了~
PyPI 官网下载 | c10-tools-0.1.9.tar.gz
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 4 浏览量
2022-01-09
17:05:22
上传
评论
收藏 19KB GZ 举报
温馨提示
资源来自pypi官网。 资源全名:c10-tools-0.1.9.tar.gz
资源推荐
资源详情
资源评论
收起资源包目录
c10-tools-0.1.9.tar.gz (41个子文件)
c10-tools-0.1.9
PKG-INFO 4KB
c10_tools.egg-info
PKG-INFO 4KB
requires.txt 82B
SOURCES.txt 912B
entry_points.txt 583B
top_level.txt 10B
dependency_links.txt 1B
test
test_copy.py 505B
test_from_pcap.py 323B
test_allbus.py 985B
test_dmp1553.py 225B
test_errcount.py 220B
test_reindex.py 308B
test_wrap_pcap.py 311B
test_events.py 217B
test_timefix.py 282B
test_validator.py 218B
test_stat.py 338B
test_grep.py 198B
test_common.py 1KB
test_dump.py 332B
setup.cfg 38B
setup.py 4KB
c10_tools
common.py 4KB
c10_grep.py 5KB
c10_reindex.py 5KB
c10_stat.py 3KB
c10_dmp1553.py 876B
c10_copy.py 1KB
c10_timefix.py 3KB
c10_dump.py 2KB
c10_wrap_pcap.py 7KB
c10_validator.py 2KB
c10_allbus.py 975B
c10_dump_pcap.py 2KB
__init__.py 0B
c10_from_pcap.py 4KB
c10_events.py 838B
version.py 18B
c10_errcount.py 3KB
README.md 3KB
共 41 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功