hestia-earth-validation


Namehestia-earth-validation JSON
Version 0.36.3 PyPI version JSON
download
home_pagehttps://gitlab.com/hestia-earth/hestia-data-validation
SummaryHESTIA Data Validation library
upload_time2025-09-03 12:33:05
maintainerNone
docs_urlNone
authorGuillaume Royer
requires_python>=3
licenseMIT
keywords hestia data validation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HESTIA Data Validation

[![Pipeline Status](https://gitlab.com/hestia-earth/hestia-data-validation/badges/master/pipeline.svg)](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)
[![Coverage Report](https://gitlab.com/hestia-earth/hestia-data-validation/badges/master/coverage.svg)](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)
[![Documentation Status](https://readthedocs.org/projects/hestia-data-validation/badge/?version=latest)](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/fe/16/c3f791c8481320f83abe3661b687a93f8e70068e230d82713dbae337f9bf/hestia_earth_validation-0.36.3.tar.gz",
    "platform": null,
    "description": "# HESTIA Data Validation\n\n[![Pipeline Status](https://gitlab.com/hestia-earth/hestia-data-validation/badges/master/pipeline.svg)](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)\n[![Coverage Report](https://gitlab.com/hestia-earth/hestia-data-validation/badges/master/coverage.svg)](https://gitlab.com/hestia-earth/hestia-data-validation/commits/master)\n[![Documentation Status](https://readthedocs.org/projects/hestia-data-validation/badge/?version=latest)](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.3",
    "project_urls": {
        "Homepage": "https://gitlab.com/hestia-earth/hestia-data-validation"
    },
    "split_keywords": [
        "hestia",
        " data",
        " validation"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f4cbba0579e45c6d7deddda063a195f0cedbe3dfa62f9abe90e69ac4c8086f43",
                "md5": "7f8add966cc7981e9ff062f7d8d33f08",
                "sha256": "2d4404eee8a188f3246845ae0cb7c9f9c2051e3d425e9800edc5053b57c5c917"
            },
            "downloads": -1,
            "filename": "hestia_earth_validation-0.36.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7f8add966cc7981e9ff062f7d8d33f08",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 89218,
            "upload_time": "2025-09-03T12:33:03",
            "upload_time_iso_8601": "2025-09-03T12:33:03.555437Z",
            "url": "https://files.pythonhosted.org/packages/f4/cb/ba0579e45c6d7deddda063a195f0cedbe3dfa62f9abe90e69ac4c8086f43/hestia_earth_validation-0.36.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fe16c3f791c8481320f83abe3661b687a93f8e70068e230d82713dbae337f9bf",
                "md5": "e91ec8bfebab74943d841f4988b6cd16",
                "sha256": "f3f35a15f9a3c6111ba4e5342f9a61ee1cbadccd5418be0cfe8806bcd8f5fcff"
            },
            "downloads": -1,
            "filename": "hestia_earth_validation-0.36.3.tar.gz",
            "has_sig": false,
            "md5_digest": "e91ec8bfebab74943d841f4988b6cd16",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 64251,
            "upload_time": "2025-09-03T12:33:05",
            "upload_time_iso_8601": "2025-09-03T12:33:05.226649Z",
            "url": "https://files.pythonhosted.org/packages/fe/16/c3f791c8481320f83abe3661b687a93f8e70068e230d82713dbae337f9bf/hestia_earth_validation-0.36.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-03 12:33:05",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "hestia-earth",
    "gitlab_project": "hestia-data-validation",
    "lcname": "hestia-earth-validation"
}
        
Elapsed time: 4.62669s