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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b948877dda7b02587805d79d8a4862f6b66c9f14ce7b10f894fd2781c93e70 |
|
MD5 | f966be6d7054f33110bfc4d0859ca7c8 |
|
BLAKE2b-256 | 52eccef1955e7621e53731e5985036ce76ac103eaeaca28134deb3e32df4c96a |
Close
Hashes for hestia_earth_validation-0.28.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c692038b5a9bb76ca48c126859eabe2ada0fe1fd3747f21c7e449965a422ff0c |
|
MD5 | fbf90373e46c569d9961b9b1f917eacf |
|
BLAKE2b-256 | 2cbc550219e4bd6b19274996a98dd5f9a9e06ddf1512cf70531cf50a3680d856 |