hestia-earth-validation


Namehestia-earth-validation JSON
Version 0.29.4 PyPI version JSON
download
home_pagehttps://gitlab.com/hestia-earth/hestia-data-validation
SummaryHestia Data Validation library
upload_time2024-03-27 15:15:07
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 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
```



            

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/c3/d5/ceb7ec48ac08f14159fc91e4cd0036221e0e9cfea2b4787af1db946c99a5/hestia-earth-validation-0.29.4.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 import validate\n\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 1: 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\nNote 2: to skip searching for terms using the Hestia API, please enable mocking:\n\n```\nENABLE_MOCKING=true\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Hestia Data Validation library",
    "version": "0.29.4",
    "project_urls": {
        "Homepage": "https://gitlab.com/hestia-earth/hestia-data-validation"
    },
    "split_keywords": [
        "hestia",
        " data",
        " validation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ef9623083dbc992203234849e45869fcae802f2f1a650b13071672d85255270",
                "md5": "49627dd1b195f910f5a294eaea334be3",
                "sha256": "10efc52ec7c8743eb17026e4f0ed97d901bae56edd5563659a188d7df8fd3359"
            },
            "downloads": -1,
            "filename": "hestia_earth_validation-0.29.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "49627dd1b195f910f5a294eaea334be3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 73370,
            "upload_time": "2024-03-27T15:15:05",
            "upload_time_iso_8601": "2024-03-27T15:15:05.274228Z",
            "url": "https://files.pythonhosted.org/packages/0e/f9/623083dbc992203234849e45869fcae802f2f1a650b13071672d85255270/hestia_earth_validation-0.29.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3d5ceb7ec48ac08f14159fc91e4cd0036221e0e9cfea2b4787af1db946c99a5",
                "md5": "cce39aea0233d9dc6231d73c61a1688e",
                "sha256": "883885d22931e347155bd35d27012ec775607551d3a403371c47c1693def9efb"
            },
            "downloads": -1,
            "filename": "hestia-earth-validation-0.29.4.tar.gz",
            "has_sig": false,
            "md5_digest": "cce39aea0233d9dc6231d73c61a1688e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 51011,
            "upload_time": "2024-03-27T15:15:07",
            "upload_time_iso_8601": "2024-03-27T15:15:07.479563Z",
            "url": "https://files.pythonhosted.org/packages/c3/d5/ceb7ec48ac08f14159fc91e4cd0036221e0e9cfea2b4787af1db946c99a5/hestia-earth-validation-0.29.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-27 15:15:07",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "hestia-earth",
    "gitlab_project": "hestia-data-validation",
    "lcname": "hestia-earth-validation"
}
        
Elapsed time: 0.22975s