Metadata-Version: 2.4
Name: openassetio-traitgen
Version: 1.0.0a12
Summary: Generate OpenAssetIO Trait and Specification classes from a simple YAML description.
Author-email: Contributors to the OpenAssetIO project <openassetio-discussion@lists.aswf.io>
Project-URL: OpenAssetIO, https://github.com/OpenAssetIO/OpenAssetIO
Project-URL: Source, https://github.com/OpenAssetIO/OpenAssetIO-TraitGen
Project-URL: Issues, https://github.com/OpenAssetIO/OpenAssetIO-TraitGen/issues
Keywords: openassetio,codegen,trait
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: jinja2==3.1.6
Requires-Dist: pyyaml==6.0.0
Requires-Dist: jsonschema==4.7.2
Dynamic: license-file

# 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
```
