Skip to main content

Wwise Authoring API (Waapi) Client for Python

Decoupled autobahn WAMP client with support for plain options and bindable subscription callbacks.

Requirements

  • Python 3.6+
  • Wwise instance with the Wwise Authoring API enabled (Project > User Preferences... > Enable Wwise Authoring API)

For general usage

Setup

For compatibility with Python 2 on Windows, it is recommended to use the Python Launcher for Windows which is installed with Python 3 from python.org.

  • Windows: py -3 -m pip install waapi-client
  • Other platforms: python3 -m pip install waapi-client

Usage

from waapi import WaapiClient

# Connect (default URL)
client = WaapiClient()

# RPC
result = client.call("ak.wwise.core.getInfo")

# Subscribe
handler = client.subscribe(
    "ak.wwise.core.object.created",
    lambda object: print("Object created: " + str(object))
)

# Bind a different callback at any time
def my_callback(object):
    print("Different callback: " + str(object))

handler.bind(my_callback)

# Unsubscribe
handler.unsubscribe()

# Disconnect
client.disconnect()

For contributors

Setup

You may install the package locally using either pip or pipenv.

Clone this repository, then from the repository root run:

  • Windows: py -3 -m pip install -e .
  • Other platforms: python3 -m pip install -e .

or

pipenv install --three

Running the tests

Open a blank project in Wwise, then you may execute the test on terminal from the root of the repository by running:

  • Windows: py -3 setup.py test
  • Other platforms: python3 setup.py test

Release files for waapi-client 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for waapi-client 0.4
File Size Uploaded
waapi-client-0.4.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for waapi-client 0.4
File Interpreter ABI Platform
waapi_client-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 29.3 kB

Release files / waapi-client-0.4.tar.gz

Download URL waapi-client-0.4.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
585e53230ecf133bf64c4c54d68a900bca5611345c53507d699b89b6d2c31a39
BLAKE2b-256 checksum
How to use checksums
f7cdb1087ff66b272a2d45c39d27c7604e6e3cec26972f44235aef1a09e46b23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

Release files / waapi_client-0.4-py3-none-any.whl

Download URL waapi_client-0.4-py3-none-any.whl
Size 17.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbb2e9ffd43d0624e1a3456e6a8b6e74897cdbfb6b5fd0de5c6c9c95b3518dc3
BLAKE2b-256 checksum
How to use checksums
a312cffc92f996bd6865b04938bb8e4e98b3041057504b14435109d30c8fdf3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page