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.preload_requests import enable_preload
from hestia_earth.validation import validate

# enable request preloading
enable_preload()
# 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

hestia_earth_validation-0.40.3.tar.gz (61.9 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.40.3-py3-none-any.whl (76.8 kB view details)

Uploaded Python 3

File details

Details for the file hestia_earth_validation-0.40.3.tar.gz.

File metadata

  • Download URL: hestia_earth_validation-0.40.3.tar.gz
  • Upload date:
  • Size: 61.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for hestia_earth_validation-0.40.3.tar.gz
Algorithm Hash digest
SHA256 d79a3e6dee462e1275956d2ed63af15391066a974318d833b1a27f98886b2f0f
MD5 2c757dbec090bb433262cfd26d4f8601
BLAKE2b-256 74dc030e88b48f87e2bc7379c7e9bec0c9240f2b494c9f7c6ea0eb127212d582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hestia_earth_validation-0.40.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ed47c6c7cafc7364078778f1e90c7b49c474f71c028591122305ec29a30a6656
MD5 402c59911c624be4feb4e9f7d951dc89
BLAKE2b-256 0e9f3c641017c05dd1febc48c9439d81c19f3475d7aec24505d04d7911eaf6c2

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