# OpenAssetIO Code Generation Tool
The `openassetio-traitgen` tool can be used to generate Trait and
Specification classes from a simple YAML description. This avoids
the laborious and error-prone task of creating these by hand.
This package is entirely self-contained and can be used without an
[OpenAssetIO](https://github.com/OpenAssetIO/OpenAssetIO)
installation. It provides code generation CLI, along with a
corresponding python package that can be used for custom generation.
## Supported languages
- Python 3.10+
## Installation
The package is available on PyPI, so to get the latest stable release
```bash
python -m pip install openassetio-traitgen
```
## Usage
```bash
openassetio-traitgen -h
```
Raw data
{
"_id": null,
"home_page": null,
"name": "openassetio-traitgen",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "openassetio, codegen, trait",
"author": null,
"author_email": "Contributors to the OpenAssetIO project <openassetio-discussion@lists.aswf.io>",
"download_url": null,
"platform": null,
"description": "# OpenAssetIO Code Generation Tool\n\nThe `openassetio-traitgen` tool can be used to generate Trait and\nSpecification classes from a simple YAML description. This avoids\nthe laborious and error-prone task of creating these by hand.\n\nThis package is entirely self-contained and can be used without an\n[OpenAssetIO](https://github.com/OpenAssetIO/OpenAssetIO)\ninstallation. It provides code generation CLI, along with a\ncorresponding python package that can be used for custom generation.\n\n## Supported languages\n\n- Python 3.10+\n\n## Installation\n\nThe package is available on PyPI, so to get the latest stable release\n```bash\npython -m pip install openassetio-traitgen\n```\n\n## Usage\n\n```bash\nopenassetio-traitgen -h\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Generate OpenAssetIO Trait and Specification classes from a simple YAML description.",
"version": "1.0.0a11",
"project_urls": {
"Issues": "https://github.com/OpenAssetIO/OpenAssetIO-TraitGen/issues",
"OpenAssetIO": "https://github.com/OpenAssetIO/OpenAssetIO",
"Source": "https://github.com/OpenAssetIO/OpenAssetIO-TraitGen"
},
"split_keywords": [
"openassetio",
" codegen",
" trait"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "90fa9e1ac72a638ca2aaa9f6c69f8450d97d5381e08c44e8881837486a4148c3",
"md5": "dfeda8d33a6b3f5a9a1642718f3c65f6",
"sha256": "3971d455530ebe93f9068402c76011cf9a87b17ae46d3bced866f076cdd20811"
},
"downloads": -1,
"filename": "openassetio_traitgen-1.0.0a11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dfeda8d33a6b3f5a9a1642718f3c65f6",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 37280,
"upload_time": "2024-11-08T12:43:39",
"upload_time_iso_8601": "2024-11-08T12:43:39.747803Z",
"url": "https://files.pythonhosted.org/packages/90/fa/9e1ac72a638ca2aaa9f6c69f8450d97d5381e08c44e8881837486a4148c3/openassetio_traitgen-1.0.0a11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-08 12:43:39",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OpenAssetIO",
"github_project": "OpenAssetIO-TraitGen",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "jinja2",
"specs": [
[
"==",
"3.1.4"
]
]
},
{
"name": "pyyaml",
"specs": [
[
"==",
"6.0.0"
]
]
},
{
"name": "jsonschema",
"specs": [
[
"==",
"4.7.2"
]
]
}
],
"lcname": "openassetio-traitgen"
}