diff --git a/README.md b/README.md index f84f065c..01c3948c 100755 --- a/README.md +++ b/README.md @@ -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 diff --git a/changelog.txt b/changelog.txt index 17addc74..fe8a040e 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/setup.py b/setup.py index 27ffc49e..9561474c 100755 --- a/setup.py +++ b/setup.py @@ -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.',