Skip to main content

Wwise Authoring API client.

Project description

Wwise Authoring API (Waapi) Client for Python

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

Requirements

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

For users

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 developers

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

waapi-client-0.1b5.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

waapi_client-0.1b5-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file waapi-client-0.1b5.tar.gz.

File metadata

  • Download URL: waapi-client-0.1b5.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2

File hashes

Hashes for waapi-client-0.1b5.tar.gz
Algorithm Hash digest
SHA256 9c7669aba386a47fd8687dc9dec8574bc2941d9d86b96931e5d838cd079fa42e
MD5 cd9f7c7a513cd050f6bfda886960b87f
BLAKE2b-256 bbdf82f658d1dc0f76df883086222da7cc5bd928b67c02ff248a44747b18fa61

See more details on using hashes here.

File details

Details for the file waapi_client-0.1b5-py3-none-any.whl.

File metadata

  • Download URL: waapi_client-0.1b5-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.2

File hashes

Hashes for waapi_client-0.1b5-py3-none-any.whl
Algorithm Hash digest
SHA256 bef964aecfa60226431b3154fb27fab0cf592795d3ae03250c64ee1ca6d25994
MD5 dfc6971d487beed1a33d25fd4f36368a
BLAKE2b-256 251f8bad7318c89b7861ec3cb9f24832dfe6722f7a0284ba41908e76a59c2e27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page