Repackaged Vosk with JSON transcriber fix and other patches for Platypush
Project description
platypush-vosk
platypush-vosk is a repackaged build of the upstream vosk==0.3.45
Python package. It keeps the upstream import package name, console entry point,
dependencies, and bundled native libvosk library, but publishes the
distribution under a different PyPI name.
This package includes the JSON transcriber fix described in
https://github.com/alphacep/vosk-api/issues/2025. The patched code changes
the JSON formatter from appending to an undefined monologue["text"] variable
to appending each transcript chunk to monologues["text"].
Install
pip install platypush-vosk
Importing remains unchanged:
from vosk import Model, KaldiRecognizer
Build the local wheel
The checked-in vosk/ package was extracted from the current upstream PyPI
wheel for Linux x86_64.
python -m pip install build
python -m build --wheel
Repackage upstream wheels
To publish wheels for all platforms supported by upstream vosk==0.3.45
without rebuilding the native library:
python scripts/repackage_wheels.py
The generated wheels are written to dist/ and are renamed to the
platypush-vosk distribution while preserving the original platform tags.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file platypush_vosk-0.3.45.post1.tar.gz.
File metadata
- Download URL: platypush_vosk-0.3.45.post1.tar.gz
- Upload date:
- Size: 7.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9354438a58f0fddeede3ece2869a5dd10fe7a46dfdc85dde492c039a166d220
|
|
| MD5 |
036f96ddb94be28b104098745c15ce2b
|
|
| BLAKE2b-256 |
55d78a3f650bf0d9ee37f1db096741b63463ab111427b6ce4cf4d343b6dd04e3
|