Skip to main content

Hestia Data Validation library

Project description

Hestia Data Validation

Pipeline Status Coverage Report Documentation Status

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

hestia-earth-validation-0.29.4.tar.gz (51.0 kB view hashes)

Uploaded Source

Built Distribution

hestia_earth_validation-0.29.4-py3-none-any.whl (73.4 kB view hashes)

Uploaded Python 3

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