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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hestia_earth_validation-0.29.1-py3-none-any.whl (72.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hestia-earth-validation-0.29.1.tar.gz
  • Upload date:
  • Size: 50.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.18

File hashes

Hashes for hestia-earth-validation-0.29.1.tar.gz
Algorithm Hash digest
SHA256 f4316f52706908c3223035cb76cc44a31ad0df8f2f0f06e0eced76cba601b208
MD5 f652bddc41cdf3c5aa4ce5a7ad90526b
BLAKE2b-256 3d088a6ac87e88457e570fde4d9c384e90acb80533f6f48b181a9e0b590bd8a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.29.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3bb893c6aa74d0173ef1b916eaa89c3642d4410492e538bff96676aa357d202
MD5 28fb80f0e36ff7038f14fac0e559877e
BLAKE2b-256 416596f34eb20d95c30985e2c01d7bdc1102ff57df2efb49a2299c578822e208

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page