Skip to content
/ jq.py Public

jq.py is a simple json processor and filtering (jq-like) for Pythonists

License

Notifications You must be signed in to change notification settings

gutierri/jq.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jq.py

jq.py is a simple jq-like for Pythonists

like jq, jq.py does the processing of JSON structures, but using dot notation and native list features to process queries.

example:

$ echo '{"results": [{"x": "1"},{"y":"2"}]}' | jq.py -q "results[0]"
{
 "x": "1"
}

$ echo '{"body": {"title": "my title"}}' | jq.py -q "body.title"
"my title"

for more information and documentation: jq.py --help

installation

from source

$ curl -o ~/.local/bin/jq.py https://raw.github.com/gutierri/jq.py/main/jq.py

from git

$ python3 -m pip install git+https://github.com/gutierri/jq.py.git#egg=jq.py

license

jq.py is free software, licensed under the GNU General Public License, which can be found in the file COPYING.

About

jq.py is a simple json processor and filtering (jq-like) for Pythonists

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published