{"id":24861993,"url":"https://github.com/hpcflow/valida","last_synced_at":"2026-02-26T12:04:19.558Z","repository":{"id":42653818,"uuid":"446597552","full_name":"hpcflow/valida","owner":"hpcflow","description":"Comprehensive validation library for nested data structures.","archived":false,"fork":false,"pushed_at":"2024-11-14T14:09:46.000Z","size":279,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T07:17:00.529Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hpcflow.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-10T22:10:59.000Z","updated_at":"2024-11-14T14:09:49.000Z","dependencies_parsed_at":"2024-06-18T22:58:31.054Z","dependency_job_id":"5f350c42-fc12-42aa-9ae4-8e7b8df0b733","html_url":"https://github.com/hpcflow/valida","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fvalida","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fvalida/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fvalida/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hpcflow%2Fvalida/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hpcflow","download_url":"https://codeload.github.com/hpcflow/valida/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236590683,"owners_count":19173630,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-31T22:21:11.773Z","updated_at":"2025-10-15T07:31:28.189Z","avatar_url":"https://github.com/hpcflow.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"valida.png\" width=\"200\" alt=\"Valida logo\"/\u003e\n\n**Validation for nested data structures**\n\n[![PyPI version](https://img.shields.io/pypi/v/valida \"PyPI version\")](https://pypi.org/project/valida)\n![Testing workflow](https://github.com/hpcflow/valida/actions/workflows/test.yml/badge.svg)\n[![Supported python versions](https://img.shields.io/pypi/pyversions/valida \"Supported python versions\")](https://pypi.org/project/valida)\n[![License](https://img.shields.io/github/license/hpcflow/valida \"License\")](https://github.com/hpcflow/valida/blob/main/LICENSE)\n[![DOI](https://zenodo.org/badge/446597552.svg)](https://zenodo.org/badge/latestdoi/446597552)\n\n## Installing\n\n`pip install valida`\n\n## A simple example\n\n```python\nfrom valida import Data, Value, Rule\n\n# Define some data that we want to validate:\nmy_data = Data({'A': 1, 'B': [1, 2, 3], 'C': {'c1': 8.2, 'c2': 'hello'}})\n\n# Define a rule as a path within the data and a condition at that path:\nrule = Rule(\n  path=('C', 'c2'),\n  condition=Value.dtype.equal_to(str),\n)\n\n# Test the rule\nrule.test(my_data).is_valid # `True` =\u003e The rule tested successfully\n\n```\n\n## Acknowledgements\n\nValida was developed using funding from the [LightForm](https://lightform.org.uk/) EPSRC programme grant ([EP/R001715/1](https://gow.epsrc.ukri.org/NGBOViewGrant.aspx?GrantRef=EP/R001715/1))\n\n\u003cimg src=\"https://lightform-group.github.io/wiki/assets/images/site/lightform-logo.png\" width=\"150\"/\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fvalida","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhpcflow%2Fvalida","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhpcflow%2Fvalida/lists"}