Tools for working with JSON files.
Project description
python-json-tools
Tools for working with json (especially) json-arrays.
Uses orjson
or ujson
if present, otherwise standard json
.
Usage
Installation
pip install sb-json-tools
json-val (lib: sb_json_tools.jt_val
)
Allows you to validate iterables of json-objects according to json-schema
Regular and async functions.
json-diff (lib: sb_json_tools.jsondiff
)
Allows you to compare two json-objects and get a report how they differ, if they do.
json-val
Command-line tool to validate a json-file with a schema json-schema.
Development
After cloning the repo, just run
$ make test
to setup a virtual environment, install dev dependencies and run the unit tests.
Note: If you run the command in a activated virtual environment, that environment is used instead.
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
sb-json-tools-0.9.0.tar.gz
(5.0 MB
view hashes)
Built Distribution
Close
Hashes for sb_json_tools-0.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78ee55c8b709d8917ab93404f3daf5bdd706f159bea8b6b8a113d85e17bcddd4 |
|
MD5 | cc9c73092b90ab1af243ba46ad6eae18 |
|
BLAKE2b-256 | 9ce1ac22f3be07d45572e6ec498b077b5b6cb287b7e88ce768c095c5b59285b0 |