Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Kikita Wake Word Runtime for Python

Typed Python binding for validating, inspecting, producing, and running .kww model bundles through the shared Rust core.

pip install --pre kikita-wake-word-runtime
from kikita_wake_word_runtime import open_bundle

with open_bundle("model.kww") as bundle:
    print(bundle.manifest.bundle_id)

Forge and other trusted producer applications create bundles through the same package:

from kikita_wake_word_runtime import write_bundle

write_bundle(
    "model.kww",
    manifest,
    {
        "mel": mel_path,
        "embedding": embedding_path,
        "classifier": classifier_path,
    },
)

The writer validates sizes and SHA-256 values, writes a deterministic archive, reopens it through the secure loader, and atomically publishes the completed .kww.

from kikita_wake_word_runtime import WakeWordModel

model = WakeWordModel.from_bundle("model.kww")
stream = model.create_stream(source_sample_rate_hz=48_000)

for result in stream.process_pcm_s16le(discord_pcm):
    if result.detected:
        print(result.candidate_score, result.verifier_score, result.score)

WakeWordModel shares immutable ONNX sessions. Create one WakeWordStream per ordered mono PCM source. Input buffers are copied. Call finish() at end of a finite source or reset() before reusing stream state. A model may serve multiple streams concurrently; calls on one mutable stream must remain ordered and must not run concurrently.

Candidate-only and embedded ONNX verifier bundles run offline. An external verifier dependency is accepted by the manifest parser but model loading fails closed until that exact dependency is supplied through a future resolver API.

The wheel contains the Rust core and statically linked ONNX Runtime. End users need Python 3.11 or newer and a supported prebuilt platform, not Rust or a separate onnxruntime package.

Supported by the first alpha: Windows x64, manylinux_2_28 x64, and Apple Silicon macOS. See the repository for the .kww specification, compatibility matrix, security policy, and release notes.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

kikita_wake_word_runtime-0.1.0a5-cp311-abi3-win_amd64.whl (7.6 MB view details)

Uploaded CPython 3.11+Windows x86-64

kikita_wake_word_runtime-0.1.0a5-cp311-abi3-manylinux_2_28_x86_64.whl (9.9 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

kikita_wake_word_runtime-0.1.0a5-cp311-abi3-macosx_11_0_arm64.whl (8.7 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file kikita_wake_word_runtime-0.1.0a5-cp311-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b75e2c5cb94f376a625035fa1d7f8d7b75e105adaa656665cdd25ef7b8ef4094
MD5 cfb8f66056be3b4b1c6c5dfde4c1c003
BLAKE2b-256 bb2c2b0794d22732be5bf428178879cf29d298bfb787108f22e0c5842f8c1654

See more details on using hashes here.

Provenance

The following attestation bundles were made for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-win_amd64.whl:

Publisher: publish.yml on kikita-labs/wake-word-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kikita_wake_word_runtime-0.1.0a5-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7a464b92b685f54b81d10ef3d3ed612fe6c12e8caac56a3cde9417d02b9df09
MD5 897f45577b276c4dcc3248a996b734da
BLAKE2b-256 696b8392da81380f5bba2944a9c50910b667c7292107e614c6720c092f1e3766

See more details on using hashes here.

Provenance

The following attestation bundles were made for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kikita-labs/wake-word-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kikita_wake_word_runtime-0.1.0a5-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 38a178b02095e2d7726e979dca7a9d0c69762d7f6ba6c39b2a0616e459d81517
MD5 aefcf331a6aedf4d483256046b077d6a
BLAKE2b-256 51b67bed31e611bb367efc778d3cc13e93cd3f4a052a9764d4a08f30244d8ef8

See more details on using hashes here.

Provenance

The following attestation bundles were made for kikita_wake_word_runtime-0.1.0a5-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on kikita-labs/wake-word-runtime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0a5 This release

3 files

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