A python implementation of the jp CLI for JMESPath
Project description
jp
A python implementation (using
jmespath.py)
of the jp
CLI for the
JMESPath language (a query language for JSON).
Compatiblity
The aim is for 100% compatiblity with the official
jp
CLI for JMESPath.
Please open an issue if an incompatibility is found.
Usage
usage: jp [-h] [-e EXPR_FILE] [-f FILENAME] [-u] [--ast] [expression]
jp - A python implementation of the jp cli for JMESPath
positional arguments:
expression
optional arguments:
-h, --help show this help message and exit
-e EXPR_FILE, --expr-file EXPR_FILE
Read JMESPath expression from the specified file.
-f FILENAME, --filename FILENAME
The filename containing the input data. If a filename
is not given then data is read from stdin.
-u, --unquoted If the final result is a string, it will be printed
without quotes.
--ast Only print the AST of the parsed expression. Do not
rely on this output, only useful for debugging
purposes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jpipe-0.1.3.8.tar.gz
(6.6 kB
view hashes)