Typed string constants for all Wwise Authoring API (WAAPI) function URIs
Project description
waapi-uri
Typed string constants for all Wwise Authoring API (WAAPI) function URIs.
Eliminates hard-coded URI strings in your WAAPI automation scripts and enables IDE auto-completion and static type checking.
Wwise version: URI constants are generated from Wwise 2025.1.7.
Installation
pip install waapi-uri
Usage
from waapi_uri import uri
from waapi import WaapiClient
with WaapiClient() as client:
# Use typed constants instead of raw strings
result = client.call(uri.ak_wwise_core_object_get, {
"from": {"path": ["\\Actor-Mixer Hierarchy"]},
"options": {"return": ["name", "type"]},
})
All WAAPI function URIs are available as module-level string constants on waapi_uri.uri, named by replacing . with _:
| Constant | Value |
|---|---|
uri.ak_wwise_core_object_get |
"ak.wwise.core.object.get" |
uri.ak_wwise_core_object_set |
"ak.wwise.core.object.set" |
uri.ak_soundengine_postEvent |
"ak.soundengine.postEvent" |
| … | … |
Regenerating URIs
The URI constants are auto-generated from a running Wwise instance. To regenerate them against a different Wwise version:
- Open Wwise with WAAPI enabled.
- Run the generation script:
python scripts/gen_uri.py
This will overwrite src/waapi_uri/uri.py with all function URIs reported by the connected Wwise instance.
Requirements
- Python >= 3.10
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file waapi_uri-0.1.0.tar.gz.
File metadata
- Download URL: waapi_uri-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1db6e987ac056e29024a5a9d1504cd71149af4c7e05cbdb659904002700bd1a
|
|
| MD5 |
7dc3df6dc0ed4b85fb982973c4fa8e32
|
|
| BLAKE2b-256 |
4a6a64280948da3d705fcc5335e1f11d320b7ba52bc27ae1868760aeb3e95882
|
File details
Details for the file waapi_uri-0.1.0-py3-none-any.whl.
File metadata
- Download URL: waapi_uri-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0b5455cdb43fb61933f6a379860009e1192535cf87cb4e77d3fd304216341d2
|
|
| MD5 |
cd3154374cb97631faeeee96f226f753
|
|
| BLAKE2b-256 |
cfb96fe18d822103027595e88a8b1b63a4e1bf72f64a6f3684c9e8f1bef6fda4
|