Python microWakeWord
Python library for microWakeWord.
Uses a pre-compiled Tensorflow Lite library.
Install
pip3 install pymicro-wakeword
Usage
from pymicro_wakeword import MicroWakeWord, MicroWakeWordFeatures, Model
mww = MicroWakeWord.from_builtin(Model.OKAY_NABU)
mww_features = MicroWakeWordFeatures()
# Audio must be 16-bit mono at 16Khz
while audio := get_10ms_of_audio():
assert len(audio) == 160 * 2 # 160 samples
for features in mww_features.process_streaming(audio):
if mww.process_streaming(features):
print("Detected!")
Use process_streaming_prob instead to get the wake word probability. If this probability is greater than probability_cutoff, the wake word is detected.
Command-Line
WAVE files
python3 -m pymicro_wakeword --model 'okay_nabu' /path/to/*.wav
Live
arecord -r 16000 -c 1 -f S16_LE -t raw | \
python3 -m pymicro_wakeword --model 'okay_nabu'
Metadata
Release files for pymicro-wakeword 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pymicro_wakeword-2.5.0.tar.gz | 2.1 MB | With provenance | Details for pymicro_wakeword-2.5.0.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| pymicro_wakeword-2.5.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for pymicro_wakeword-2.5.0-py3-none-win_amd64.whl |
| pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_x86_64.whl | Python 3 | none | Linux glibc 2.35+ x86-64 | Details for pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_x86_64.whl |
| pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_armv7l.whl | Python 3 | none | Linux glibc 2.35+ ARMv7l | Details for pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_armv7l.whl |
| pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_aarch64.whl | Python 3 | none | Linux glibc 2.35+ ARM64 | Details for pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_aarch64.whl |
| pymicro_wakeword-2.5.0-py3-none-macosx_15_0_universal2.whl | Python 3 | none | macOS 15.0+ universal2 (ARM64, x86-64) | Details for pymicro_wakeword-2.5.0-py3-none-macosx_15_0_universal2.whl |
Total release size: 11.3 MB
Release files / pymicro_wakeword-2.5.0.tar.gz
| Download URL | pymicro_wakeword-2.5.0.tar.gz |
|---|---|
| Size | 2.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2355c1cb3fbfe4a59f4eccd6f17bd3eca260f7c6fb701fe3c44ccc98d49dd19e
|
|
BLAKE2b-256 checksum How to use checksums |
3b939e8a000f8f8bda01ec53534bdf07c3413ffd659352a0117ac106f9beff7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / pymicro_wakeword-2.5.0-py3-none-win_amd64.whl
| Download URL | pymicro_wakeword-2.5.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e518dd2256436e57134cabb91b83a0b434aff6c34fdbada2841ff4b1f0f20ff5
|
|
BLAKE2b-256 checksum How to use checksums |
3ee5e7d41de24d1e492d2687084febbaf003f2119700383cd7615cf18cab7fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_x86_64.whl
| Download URL | pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.35+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
3869f536402b1254e3be3549d3a462ecd6ed21ce2c3e77ec8eb501c3c700417c
|
|
BLAKE2b-256 checksum How to use checksums |
59db651fffa65447022403cb44968a2e2a717c31a33ebe17e77e1e96a6289623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_armv7l.whl
| Download URL | pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_armv7l.whl |
|---|---|
| Size | 1.8 MB |
| Tags | Linux glibc 2.35+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
af92b862fe0488fba7422b9819b1a8c88781b2f90fb3e4b7f1dcfd1d90a6b69b
|
|
BLAKE2b-256 checksum How to use checksums |
301e11cf9d78df0a8881bc75de9b322f901403e1315cae9465c9aafc0f9c91ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_aarch64.whl
| Download URL | pymicro_wakeword-2.5.0-py3-none-manylinux_2_35_aarch64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Linux glibc 2.35+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
6c75b77c936efd19b8c35a094cb7e3fdbd4ebcd0f63635a0851ce591990829f2
|
|
BLAKE2b-256 checksum How to use checksums |
61c2764792cf610550c6e8dc06cc7ece77c0a3020054c029c907c2bbdda526f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logRelease files / pymicro_wakeword-2.5.0-py3-none-macosx_15_0_universal2.whl
| Download URL | pymicro_wakeword-2.5.0-py3-none-macosx_15_0_universal2.whl |
|---|---|
| Size | 1.7 MB |
| Tags | Python 3 macOS 15.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
950336248aefc9e7d0334f1894f878a3e319e2850b165d592c69b48bc706c823
|
|
BLAKE2b-256 checksum How to use checksums |
62b8209abb67371d296964899e6ff867f93fc525ef185ac3b800e33d55fc8a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logSecurity for pymicro-wakeword 2.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 6 files in this release have been uploaded with provenance metadata.
Attestation for pymicro_wakeword-2.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.