Python bindings for whisper.cpp using Cython and scikit-build.
This project provides Python bindings for the whisper.cpp library, enabling speech recognition capabilities in Python with native performance through Cython integration.
Note: This project is not just for Python developers! C++ developers can also use the pre-built whisper.cpp library included in this package instead of building whisper.cpp from source.
- Python bindings for whisper.cpp speech recognition
- Built with Cython for optimal performance
- CMake integration via scikit-build
- Built-in model downloader with CLI interface
- Test-driven development approach
pip install cywhispercppFor the latest development version:
pip install git+https://github.com/MohammadRaziei/whisper-cpp.git# List available models
cywhispercpp models list
# Download a model
cywhispercpp models download tiny
# Download to specific path
cywhispercpp models download base /path/to/modelsfrom cywhispercpp.models import download_model
# Download a model
download_model("tiny")Run tests:
pytest -n autoMIT License