Akiki
Run streaming voice activity detection locally with a small bundled Akiki VAD model. No model download, network connection or PyTorch is needed at runtime.
pip install akiki
akiki --version
akiki recording.wav
Audio must be mono at 16,000 Hz. The CLI prints one JSON object per complete 16 ms frame: its start, end, speech probability and threshold decision.
import soundfile as sf
from akiki import VAD
audio, sample_rate = sf.read("recording.wav", dtype="float32")
vad = VAD()
for frame in vad.push(audio, sample_rate=sample_rate):
print(frame)
vad.reset() # Start a new recording.
push() accepts arbitrary buffer sizes and retains incomplete frames between
calls. A trailing incomplete frame is left pending; it is not padded or scored.
Use VAD(threshold=0.6) or akiki recording.wav --threshold 0.6 to change the
threshold. Probabilities are always returned.
Version 0.0.1 bundles the experimental candidate-1, seed 1729 model, with
210,561 parameters and a 16 ms output hop. It is an initial functional release;
future versions will supply the production Akiki VAD models. Training provenance
and checksums are included in akiki/models/MODEL_CARD.md and the model metadata.
Code and bundled Akiki weights are provided under Apache-2.0. Source audio and the independent teacher retain their original licences; neither is distributed in this package.
To publish this release from the project directory:
uv build
uv publish dist/akiki-0.0.1*
Authenticate to PyPI locally when prompted. The project contains no credentials.
Metadata
Release files for akiki 0.0.1
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 | |
|---|---|---|---|---|
| akiki-0.0.1.tar.gz | 970.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| akiki-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / akiki-0.0.1.tar.gz
| Download URL | akiki-0.0.1.tar.gz |
|---|---|
| Size | 970.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f02ea634a5f9ffee822837c71c6db0e52d4f2c9ed5666cc56360f8505f32309
|
|
BLAKE2b-256 checksum How to use checksums |
c272651110faaaa6031e474d88763c32d5622893e6edde719ce6b902a21709da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / akiki-0.0.1-py3-none-any.whl
| Download URL | akiki-0.0.1-py3-none-any.whl |
|---|---|
| Size | 967.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
609d19363ac7c01f28b2fdc2f973a20e509b24fd97cbc970a3807db2aa500c62
|
|
BLAKE2b-256 checksum How to use checksums |
77b24c3df43556c450bbfdbde4c7362facb9d55552749157fc79d04865204d75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for akiki 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.