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.32.8.tar.gz (57.3 kB view details)

Uploaded Source

Built Distribution

hestia_earth_validation-0.32.8-py3-none-any.whl (80.6 kB view details)

Uploaded Python 3

File details

Details for the file hestia-earth-validation-0.32.8.tar.gz.

File metadata

File hashes

Hashes for hestia-earth-validation-0.32.8.tar.gz
Algorithm Hash digest
SHA256 6f61e1b1007aa70263d80717e001cf171e92ac0525a609712bbbf8b85cb24a60
MD5 70f45246006fe5c48e2bd52e886a07b7
BLAKE2b-256 7b520546da5005f37335edba75219c9dd7290a3968dc9e3c2894b8db55793123

See more details on using hashes here.

File details

Details for the file hestia_earth_validation-0.32.8-py3-none-any.whl.

File metadata

File hashes

Hashes for hestia_earth_validation-0.32.8-py3-none-any.whl
Algorithm Hash digest
SHA256 47c5f9c022f46f95f179ad2db475beefebb0222c7852f0b7fbacf91660d16e48
MD5 67d57bc2d06df6f08fe278114c090171
BLAKE2b-256 2f990297f726f21fc65b86213003b309d395f6150c5c72341ad899fea0585b6f

See more details on using hashes here.

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