1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

update doco

This commit is contained in:
Kelly Brazil
2019-10-21 14:13:31 -07:00
parent be81b5e1ed
commit 1d110be6cb
3 changed files with 13 additions and 1 deletions

View File

@ -18,6 +18,14 @@ $ ls -l /usr/bin | jc --ls | jq .[] | jq 'select(.bytes > 50000000)'
}
```
The `jc` parsers can also be used as python modules by referencing them via:
```
import jc.parsers.[parser]
data = 'data to parse'
jc.parsers.[parser].parse(data)
```
## Installation
```
$ pip3 install jc

View File

@ -1,5 +1,9 @@
jc changelog
20191021 v0.6.1
- Flatten netstat parser output
- Clean up argument parsing
20191018 v0.5.5
- Fix netstat -p parsing for Ubuntu
- Add ps parser

View File

@ -5,7 +5,7 @@ with open('README.md', 'r') as f:
setuptools.setup(
name='jc',
version='0.5.5',
version='0.6.1',
author='Kelly Brazil',
author_email='kellyjonbrazil@gmail.com',
description='This tool serializes the output of popular command line tools to structured JSON output.',