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: if you want to validate existing data (with @type
and @id
fields), please set the following environment variable:
VALIDATE_EXISTING_NODES=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.22.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fe718bed2952e064bd1054d9f51d7e23ebc91927bfe7f708d66b7ca83640e4f |
|
MD5 | fa47c812e9830a90dd27703e251d8d83 |
|
BLAKE2b-256 | 12770347bed6d89847e8780a6a196cfb27558f675fab3c6815a5bb20ec1e6a04 |
Close
Hashes for hestia_earth_validation-0.22.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d178ea382980634857dbed8b791562e162abcb982327fd036cd77cdc8804fa09 |
|
MD5 | 6fa94d3eabb6a8eee21e08d092f253dd |
|
BLAKE2b-256 | 46a33c72192d50792f40da0ed9aeeedd4f04c44c3801a9f453c451a42b0c5bce |