Metadata-Version: 2.4
Name: pyawe-ctrl-io
Version: 1.0.1
Summary: Tool for handling AWE control vector interfaces (codegeneration)
Project-URL: Documentation, https://dochub.dspconcepts.com/pyawe-awb/latest/
Project-URL: Homepage, https://w.dspconcepts.com/audio-weaver
Author-email: "python@dspconcepts.com" <python@dspconcepts.com>
License: MIT
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Requires-Dist: jinja2==3.1.4
Requires-Dist: pip
Requires-Dist: pkginfo
Requires-Dist: pydantic>=2.10
Requires-Dist: pyyaml~=6.0.1
Requires-Dist: twine
Requires-Dist: wheel
Description-Content-Type: text/markdown

# pyawe-ctrl-io

## Description

**pyawe_ctrl_io** is a Python package to generate code for control vector definitions
and AWE design's audio channel maps.

## Installation

`(venv) pip install pyawe_ctrl_io`

## Documentation

After installation, use `awe-showhelp` to read the documentation contained in the package.

## Usage

### Code Generation

Once the package is installed in a Python environment:

- `(venv) awectrl-codegen -h` - to see how to use
- `(venv) awectrl-codegen spec-file.yml` - generated code for a specific IO specification
- `(venv) awectrl-codegen spec-file.yml -awd design.awd` - use interface spec in conjunction with a design file

**NOTE**: 

It is possible to generate code in various target programming languages:

- `(venv) awectrl-codegen -l DEBUG -o src\generated` // Python code
- `(venv) awectrl-codegen -l DEBUG --lang C -o src\tests\c\test_vectorgen\ctrlvector\_generated` // C code 

For Python, it is possible to create an (installable) wheel file:

- `(venv) awectrl-createwheel spec-file.yml -n MyAWEIF -v 0.1 `

Use `-u` to publish this wheel to a PyPi server.

### Using the Generated Code

- for C: checkout `src/tests/c/README.md` and follow instructions there
- for Python: see `./src/tests/python` for more info
