# HESTIA Data Validation
[](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)
[](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)
[](https://hestia-data-validation.readthedocs.io/en/latest/?badge=latest)
## Install
```bash
pip install hestia_earth_validation
```
## Usage
```python
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
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/hestia-earth/hestia-data-validation",
"name": "hestia-earth-validation",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "hestia, data, validation",
"author": "Guillaume Royer",
"author_email": "guillaumeroyer.mail@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c7/ad/3ac423565699430f6a2da532b446a84e8f1a8a7d3ace1e92bd18c3aa8f1c/hestia_earth_validation-0.36.5.tar.gz",
"platform": null,
"description": "# HESTIA Data Validation\n\n[](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)\n[](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)\n[](https://hestia-data-validation.readthedocs.io/en/latest/?badge=latest)\n\n## Install\n\n```bash\npip install hestia_earth_validation\n```\n\n## Usage\n\n```python\nfrom hestia_earth.validation.preload_requests import enable_preload\nfrom hestia_earth.validation import validate\n\n# enable request preloading\nenable_preload()\n# for each node, this will return a list containing all the errors/warnings (empty list if no errors/warnings)\nerrors = validate(nodes)\n```\n\nNote: if you want to validate existing data (with `@type` and `@id` fields), please set the following environment variable:\n\n```\nVALIDATE_EXISTING_NODES=true\n```\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "HESTIA Data Validation library",
"version": "0.36.5",
"project_urls": {
"Homepage": "https://gitlab.com/hestia-earth/hestia-data-validation"
},
"split_keywords": [
"hestia",
" data",
" validation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "298e90f734703037fb0bf9767e797fbafafe69d4aec5733f2748baece9137067",
"md5": "87ce0470f5741c1a0e3d6f181ba7b449",
"sha256": "315a96b6877e8df982e5fc897f8b8150fa9c19eb919d0128412f0847c7866cc9"
},
"downloads": -1,
"filename": "hestia_earth_validation-0.36.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "87ce0470f5741c1a0e3d6f181ba7b449",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 89463,
"upload_time": "2025-09-12T12:27:44",
"upload_time_iso_8601": "2025-09-12T12:27:44.533677Z",
"url": "https://files.pythonhosted.org/packages/29/8e/90f734703037fb0bf9767e797fbafafe69d4aec5733f2748baece9137067/hestia_earth_validation-0.36.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "c7ad3ac423565699430f6a2da532b446a84e8f1a8a7d3ace1e92bd18c3aa8f1c",
"md5": "8c5323f51493684ccdec157ca538a39a",
"sha256": "cbfb396055f11c16afaf531d7d41a419f7c154b121da8fc5beaaecb4334ee7a9"
},
"downloads": -1,
"filename": "hestia_earth_validation-0.36.5.tar.gz",
"has_sig": false,
"md5_digest": "8c5323f51493684ccdec157ca538a39a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 64512,
"upload_time": "2025-09-12T12:27:45",
"upload_time_iso_8601": "2025-09-12T12:27:45.976273Z",
"url": "https://files.pythonhosted.org/packages/c7/ad/3ac423565699430f6a2da532b446a84e8f1a8a7d3ace1e92bd18c3aa8f1c/hestia_earth_validation-0.36.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-12 12:27:45",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "hestia-earth",
"gitlab_project": "hestia-data-validation",
"lcname": "hestia-earth-validation"
}