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.28.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb8c946b8cc7e0bec8785b9e96febe345f975f3f8fe8ef9b9dc4e9cb46887f0 |
|
MD5 | f3a1871542cf734e365a12070df9c790 |
|
BLAKE2b-256 | a0309c6de85364868bf1cb518c22ef4b7212a6a2674be23b2344f85a28afc0ec |
Close
Hashes for hestia_earth_validation-0.28.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a44e35f4148e5764cd624f0ac853188c82d9473307f20bdb7d5512d2dd06b93e |
|
MD5 | 85c8fb049ce23913f7f47a4cd88e8c98 |
|
BLAKE2b-256 | 46da8262dd3c7343d9d537785db6d392a6a7505a94895370c4986253968ffc23 |