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

Uploaded Source

Built Distribution

hestia_earth_validation-0.32.9-py3-none-any.whl (80.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hestia-earth-validation-0.32.9.tar.gz
Algorithm Hash digest
SHA256 1dcdc2cf948cbb5e9f0f69908794c270fbdf1bb57c49da6a877e5447d6123e46
MD5 4c8fa326b22149ca46007d8e0f9dbc1a
BLAKE2b-256 44825fd55257634bf45fafc723253c34406634c4b52c95dd4c6954133369de23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.32.9-py3-none-any.whl
Algorithm Hash digest
SHA256 e9928d400092072325f4eb38db836c3f88f13a50ad51b59621a9befb117dde69
MD5 a5fbfeb6972f887bf57767c725c17a72
BLAKE2b-256 1dbc59c213bc6cb96ffa1b7ec78c065d463900fba1a82d7eeca6169f807b83f2

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