JMESPath-powered data container ideal for JSON payloads.
Project description
This project contains a class with index-like JMESPath querying.
Example:
>>> from jmesobj import JMESObj >>> obj = JMESObj.from_json('{"foo": {"bar": true, "baz": false}}') >>> obj['foo.bar'] True >>> obj['foo.*'] [True, False]
Installation
Using pip:
$ pip install jmesobj
Development
Development environment is set up by pipenv:
$ pipenv install --dev
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
jmesobj-0.0.1.tar.gz
(2.0 kB
view details)
File details
Details for the file jmesobj-0.0.1.tar.gz
.
File metadata
- Download URL: jmesobj-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f19865091f38ca98830c5e9642ced26d6dd7256edb86e08d3cf1e615a2423a3 |
|
MD5 | 482e0f36724e279bd6bb5922b23daf6e |
|
BLAKE2b-256 | 9a36394d4559a2212c1f671b6d13933aef5b6e2c7c8acc5c3b36cfbc631149e0 |