Skip to main content

Tools for working with JSON files.

Project description

sb-json-tools

PyPI version PyPI - Python Version PyPI - Downloads

Maturity badge - level 3 Stage

Code Coverage

CI(check) CI(release) CI(scheduled) CI(test)

Tools for working with json (especially) json-arrays.

Uses orjson 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 dev
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


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.10.2.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

sb_json_tools-0.10.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file sb_json_tools-0.10.2.tar.gz.

File metadata

  • Download URL: sb_json_tools-0.10.2.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for sb_json_tools-0.10.2.tar.gz
Algorithm Hash digest
SHA256 943e8a682ad05d5745a8f20f7d2507958703c0cd2ac730c7d1f5dbda45646622
MD5 0ac94d04e728bc22b079acbe5c73e4ec
BLAKE2b-256 9c65d0e0c28b6b0f189104fae99a5ccbeb1764c03973c88a11a0d17fa74227bd

See more details on using hashes here.

File details

Details for the file sb_json_tools-0.10.2-py3-none-any.whl.

File metadata

File hashes

Hashes for sb_json_tools-0.10.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6463c7da93817c7cd9939488e1615ca4c0e71668bfa3e797cd80da324744d7
MD5 09d759dce6192e57c9620f1b7b56bb38
BLAKE2b-256 ba45efb3cc5df58ee410567e4b6aedd337400e841396c78c97ac61e05b3b1fd7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page