# 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.7+
## 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": "",
"name": "openassetio-traitgen",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "openassetio,codegen,trait",
"author": "",
"author_email": "Contributors to the OpenAssetIO project <openassetio-discussion@lists.aswf.io>",
"download_url": "",
"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.7+\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": "",
"summary": "Generate OpenAssetIO Trait and Specification classes from a simple YAML description.",
"version": "1.0.0a9",
"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": "cc790122dfb394afc1c11494dc0b0d385e5c0e652cd479dfd349a02a1d8761d1",
"md5": "1660446f6011ebb686de4377ff6bf837",
"sha256": "c683772755b567af55f35413791d606fc36e81d0be54eedec9ca363ebf723d16"
},
"downloads": -1,
"filename": "openassetio_traitgen-1.0.0a9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1660446f6011ebb686de4377ff6bf837",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 37274,
"upload_time": "2024-03-19T11:49:44",
"upload_time_iso_8601": "2024-03-19T11:49:44.818013Z",
"url": "https://files.pythonhosted.org/packages/cc/79/0122dfb394afc1c11494dc0b0d385e5c0e652cd479dfd349a02a1d8761d1/openassetio_traitgen-1.0.0a9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-19 11:49:44",
"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.3"
]
]
},
{
"name": "pyyaml",
"specs": [
[
"==",
"6.0.0"
]
]
},
{
"name": "jsonschema",
"specs": [
[
"==",
"4.7.2"
]
]
}
],
"lcname": "openassetio-traitgen"
}