Skip to content
/ chompy Public

Chompy and friends are command-line JSON parsing tools.

Notifications You must be signed in to change notification settings

ed-/chompy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chompy drills into JSON documents based on the command-line arguments supplied.

$ cat rainfall.json | chom.py 'City name=Brisbane' Population
"1857594"

Stompy prefixes the complete path to every value in a JSON document.

$ cat rainfall.json | stom.py | grep -e City.name -e Rainfall | grep -B1 Darwin
2.Annual Rainfall = 1714.7
2.City name = Darwin

Whompy converts PrettyTable documents into JSON, for further parsing.

$ cat rainfall.table | whom.py | chom.py 'City name=Perth' Population
"1554769"

About

Chompy and friends are command-line JSON parsing tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages