# IOXIO® Data Product Definitions tooling
Tools for managing Data Product definitions
# Installation
```shell
poetry install
```
# Usage
```shell
poetry run convert-definitions --help
poetry run validate-definitions --help
# run tests
poetry run invoke test
# release a new version (after bumping it in pyproject.toml)
poetry run invoke release
```
## Pre-commit hooks
```yaml
repos:
- repo: https://github.com/ioxio-dataspace/ioxio-data-product-definition-tooling
rev: main # You probably want to lock this to a specific tag
hooks:
- id: data-product-definition-converter
pass_filenames: false
args: ["src", "DataProducts"]
files: |
(?x)^(
DataProducts/.*json|
src/.*py
)$
- id: data-product-definition-validator
files: ".*?DataProducts/.*?json$"
args: ["./DataProducts"]
```
Raw data
{
"_id": null,
"home_page": "https://github.com/ioxio-dataspace/ioxio-data-product-definition-tooling",
"name": "ioxio-data-product-definition-tooling",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9.0,<4",
"maintainer_email": "",
"keywords": "",
"author": "IOXIO Ltd",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/c1/7e/70755f932854550f6e93895c7985796b646750884bbdcd81d15a3141420e/ioxio_data_product_definition_tooling-0.3.0.tar.gz",
"platform": null,
"description": "# IOXIO\u00ae Data Product Definitions tooling\n\nTools for managing Data Product definitions\n\n# Installation\n\n```shell\npoetry install\n```\n\n# Usage\n\n```shell\npoetry run convert-definitions --help\n\npoetry run validate-definitions --help\n\n# run tests\npoetry run invoke test\n\n# release a new version (after bumping it in pyproject.toml)\npoetry run invoke release\n```\n\n## Pre-commit hooks\n\n```yaml\nrepos:\n - repo: https://github.com/ioxio-dataspace/ioxio-data-product-definition-tooling\n rev: main # You probably want to lock this to a specific tag\n hooks:\n - id: data-product-definition-converter\n pass_filenames: false\n args: [\"src\", \"DataProducts\"]\n files: |\n (?x)^(\n DataProducts/.*json|\n src/.*py\n )$\n - id: data-product-definition-validator\n files: \".*?DataProducts/.*?json$\"\n args: [\"./DataProducts\"]\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "IOXIO Data Product Definition Tooling",
"version": "0.3.0",
"project_urls": {
"Homepage": "https://github.com/ioxio-dataspace/ioxio-data-product-definition-tooling",
"Repository": "https://github.com/ioxio-dataspace/ioxio-data-product-definition-tooling"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0f37fe4d1adfcdbd21bd888249aeb1bdc9e5ec22e557fd5e3e394248d3c0b3a2",
"md5": "c9faa018f874847ccf8d8ebae9750125",
"sha256": "a2741b38380e000d4754633c63088b1fa28037d614e8d6758c7f0a39d91f84a3"
},
"downloads": -1,
"filename": "ioxio_data_product_definition_tooling-0.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c9faa018f874847ccf8d8ebae9750125",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0,<4",
"size": 30217,
"upload_time": "2023-09-13T07:35:02",
"upload_time_iso_8601": "2023-09-13T07:35:02.311547Z",
"url": "https://files.pythonhosted.org/packages/0f/37/fe4d1adfcdbd21bd888249aeb1bdc9e5ec22e557fd5e3e394248d3c0b3a2/ioxio_data_product_definition_tooling-0.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c17e70755f932854550f6e93895c7985796b646750884bbdcd81d15a3141420e",
"md5": "41f51ce9e605d677fe797dd9c12be2a6",
"sha256": "1e306a9da91b927f7f53c15fd8157f95b8bd2087300cf9024231585f9545bae0"
},
"downloads": -1,
"filename": "ioxio_data_product_definition_tooling-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "41f51ce9e605d677fe797dd9c12be2a6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0,<4",
"size": 18463,
"upload_time": "2023-09-13T07:35:03",
"upload_time_iso_8601": "2023-09-13T07:35:03.633832Z",
"url": "https://files.pythonhosted.org/packages/c1/7e/70755f932854550f6e93895c7985796b646750884bbdcd81d15a3141420e/ioxio_data_product_definition_tooling-0.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-13 07:35:03",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ioxio-dataspace",
"github_project": "ioxio-data-product-definition-tooling",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ioxio-data-product-definition-tooling"
}