# 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/d1/ea/b537c27d9bed405a9dbd0141f7f823c7a1ec3ba5a1b3cc40070cc15efc8c/hestia_earth_validation-0.37.1.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",
"bugtrack_url": null,
"license": "MIT",
"summary": "HESTIA Data Validation library",
"version": "0.37.1",
"project_urls": {
"Homepage": "https://gitlab.com/hestia-earth/hestia-data-validation"
},
"split_keywords": [
"hestia",
" data",
" validation"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b7687fad78ff80e0ddb60df3859bd9ecc21bbfa16f719803d07d66d9864ea290",
"md5": "520ceaef9df83b7e2b9a0ed7ae18e50f",
"sha256": "3d875ed0bb3c48f14e892c5069b9b68148e97368fbdfd9fd60e7306c073b3d62"
},
"downloads": -1,
"filename": "hestia_earth_validation-0.37.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "520ceaef9df83b7e2b9a0ed7ae18e50f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 60674,
"upload_time": "2025-10-16T09:35:06",
"upload_time_iso_8601": "2025-10-16T09:35:06.464776Z",
"url": "https://files.pythonhosted.org/packages/b7/68/7fad78ff80e0ddb60df3859bd9ecc21bbfa16f719803d07d66d9864ea290/hestia_earth_validation-0.37.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d1eab537c27d9bed405a9dbd0141f7f823c7a1ec3ba5a1b3cc40070cc15efc8c",
"md5": "bc07924cfac8d39ddbe30b9794574b73",
"sha256": "e3b81cf7c30bf2936d9fbde01158addeaf2551206146a4fb54f03cc4d8f1c026"
},
"downloads": -1,
"filename": "hestia_earth_validation-0.37.1.tar.gz",
"has_sig": false,
"md5_digest": "bc07924cfac8d39ddbe30b9794574b73",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 45991,
"upload_time": "2025-10-16T09:35:07",
"upload_time_iso_8601": "2025-10-16T09:35:07.961236Z",
"url": "https://files.pythonhosted.org/packages/d1/ea/b537c27d9bed405a9dbd0141f7f823c7a1ec3ba5a1b3cc40070cc15efc8c/hestia_earth_validation-0.37.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-16 09:35:07",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "hestia-earth",
"gitlab_project": "hestia-data-validation",
"lcname": "hestia-earth-validation"
}