# 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": null,
"docs_url": null,
"requires_python": "<4,>=3.9.0",
"maintainer_email": null,
"keywords": null,
"author": "IOXIO Ltd",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/b8/38/4cf1bf992cebde465286742be280bc9710702a63b98d03d879431c3945cc/ioxio_data_product_definition_tooling-0.9.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\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "IOXIO Data Product Definition Tooling",
"version": "0.9.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": "9d0fb3ad14e6c0aa3e60bfd7d016175beeae5256f9b1f96edbf5696dd2756cf8",
"md5": "be95b70313f6da5eaa773811f9a1a97e",
"sha256": "e587ff04b4a55a0fc7e6bc4796f1c8820c44743c1c91a53abb11e0d8e5467281"
},
"downloads": -1,
"filename": "ioxio_data_product_definition_tooling-0.9.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "be95b70313f6da5eaa773811f9a1a97e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.9.0",
"size": 31565,
"upload_time": "2024-10-18T07:07:36",
"upload_time_iso_8601": "2024-10-18T07:07:36.489978Z",
"url": "https://files.pythonhosted.org/packages/9d/0f/b3ad14e6c0aa3e60bfd7d016175beeae5256f9b1f96edbf5696dd2756cf8/ioxio_data_product_definition_tooling-0.9.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b8384cf1bf992cebde465286742be280bc9710702a63b98d03d879431c3945cc",
"md5": "ef55a85a9021895125a025e262f192bb",
"sha256": "86fd300ac68d7e9dd74022f7da4477344ec50521c632f5e9f35404615d6488a9"
},
"downloads": -1,
"filename": "ioxio_data_product_definition_tooling-0.9.0.tar.gz",
"has_sig": false,
"md5_digest": "ef55a85a9021895125a025e262f192bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.9.0",
"size": 19505,
"upload_time": "2024-10-18T07:07:38",
"upload_time_iso_8601": "2024-10-18T07:07:38.007375Z",
"url": "https://files.pythonhosted.org/packages/b8/38/4cf1bf992cebde465286742be280bc9710702a63b98d03d879431c3945cc/ioxio_data_product_definition_tooling-0.9.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-18 07:07:38",
"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"
}