Hestia Data Validation library
Project description
Hestia Data Validation
Install
pip install hestia_earth.validation
Usage
from hestia_earth.validation import validate
# for each node, this will return a list containing all the errors/warnings (empty list if no errors/warnings)
errors = validate(nodes)
Note 1: if you want to validate existing data (with @type
and @id
fields), please set the following environment variable:
VALIDATE_EXISTING_NODES=true
Note 2: to skip searching for terms using the Hestia API, please enable mocking:
ENABLE_MOCKING=true
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
Built Distribution
Close
Hashes for hestia-earth-validation-0.29.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea83bf56b8045dbe1d419899e45e5a0212892c1081437715dccb8b1814343f09 |
|
MD5 | c1e905920721b0f850e5f6dd557f3d3c |
|
BLAKE2b-256 | 6d51ac4e144110fd917083854a2fb7310d49bb600a712170c994c24ad7a7fabe |
Close
Hashes for hestia_earth_validation-0.29.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 000954a56024c7e8445589422a41f9253b8004756ea7462d154cabb5f41ff4c0 |
|
MD5 | a8362f8480c63fb2660885070e45a4b3 |
|
BLAKE2b-256 | 89d37854dfd492f289012505fddf588b592a78a51360f68f29084459cf1b54b7 |