hestia-earth-validation


Namehestia-earth-validation JSON
Version 0.22.1 PyPI version JSON
download
home_pagehttps://gitlab.com/hestia-earth/hestia-data-validation
SummaryHestia Data Validation library
upload_time2023-06-02 13:26:38
maintainer
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: 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": "",
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": "",
    "keywords": "hestia,data,validation",
    "author": "Guillaume Royer",
    "author_email": "guillaumeroyer.mail@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a1/d3/2556af380452e2d3037ab5fab7ba1472ac3802f3757fac2d8c840db6bbcc/hestia-earth-validation-0.22.1.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\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: if you want to validate existing data (with `@type` and `@id` fields), please set the following environment variable:\n```\nVALIDATE_EXISTING_NODES=true\n```\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Hestia Data Validation library",
    "version": "0.22.1",
    "project_urls": {
        "Homepage": "https://gitlab.com/hestia-earth/hestia-data-validation"
    },
    "split_keywords": [
        "hestia",
        "data",
        "validation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bca6c3ff66bdb2a00ec3e8657f2d4edb84bbe4994f3bc0d378ab745c650994a7",
                "md5": "6167d6f607c9bb7966342326425e248b",
                "sha256": "957a0760c97f365b8770e23863a34a40a05cab5d1b0e85750c960c600f6d3cf2"
            },
            "downloads": -1,
            "filename": "hestia_earth_validation-0.22.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6167d6f607c9bb7966342326425e248b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 66894,
            "upload_time": "2023-06-02T13:26:36",
            "upload_time_iso_8601": "2023-06-02T13:26:36.785013Z",
            "url": "https://files.pythonhosted.org/packages/bc/a6/c3ff66bdb2a00ec3e8657f2d4edb84bbe4994f3bc0d378ab745c650994a7/hestia_earth_validation-0.22.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1d32556af380452e2d3037ab5fab7ba1472ac3802f3757fac2d8c840db6bbcc",
                "md5": "d4be0aa8c61c558ec02070c513f27b5e",
                "sha256": "b07fc01319de7380bc3d1963af26e0f49b6c24852b5ff302d079f2f22b05dbe9"
            },
            "downloads": -1,
            "filename": "hestia-earth-validation-0.22.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d4be0aa8c61c558ec02070c513f27b5e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 47261,
            "upload_time": "2023-06-02T13:26:38",
            "upload_time_iso_8601": "2023-06-02T13:26:38.949821Z",
            "url": "https://files.pythonhosted.org/packages/a1/d3/2556af380452e2d3037ab5fab7ba1472ac3802f3757fac2d8c840db6bbcc/hestia-earth-validation-0.22.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-02 13:26:38",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "hestia-earth",
    "gitlab_project": "hestia-data-validation",
    "lcname": "hestia-earth-validation"
}
        
Elapsed time: 0.11844s