Skip to main content
Pre-release

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

whisper.cpp-py

A Python wrapper around the whisper.cpp CLI.

Packages whisper.cpp into pre-built, pip-installable wheels, for macOS and Linux.

Installation

Available on PyPI, with pre-built wheels for macOS and Linux:

pip install whisper.cpp-py

Once installed, whisper-cpp will be exposed as a command-line tool:

whisper-cpp --help

Usage

Following Simon Willison's Transcribing MP3s with whisper-cpp on macOS, once installed, you can download a Whisper model file:

curl -o ggml-large-v3-q5_0.bin -L 'https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-q5_0.bin?download=true'

Convert from MP3 to 16kHz WAV, if necessary:

ffmpeg -i input.mp3 -ar 16000 input.wav

And transcribe audio, as follows:

whisper-cpp -m ggml-large-v3-q5_0.bin input.wav --output-txt

Development

whisper.cpp is compiled without any CPU or GPU acceleration.

In the future, I'd like to distribute builds with Core ML support, CUDA support, and more, given whisper.cpp's own support for these features.

The latest release compiles against v1.5.5.

License

MIT

Metadata

Release files for whisper.cpp-cli 0.0.1a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whisper.cpp-cli 0.0.1a0
File Size Uploaded Provenance Actions
whisper_cpp_cli-0.0.1a0.tar.gz 8.7 kB Without provenance Details for whisper_cpp_cli-0.0.1a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whisper.cpp-cli 0.0.1a0
File Interpreter ABI Platform Actions
whisper_cpp_cli-0.0.1a0-py3-none-macosx_14_0_arm64.whl Python 3 none macOS 14.0+ ARM64 Details for whisper_cpp_cli-0.0.1a0-py3-none-macosx_14_0_arm64.whl

Total release size: 572.1 kB

Release files / whisper_cpp_cli-0.0.1a0.tar.gz

Download URL whisper_cpp_cli-0.0.1a0.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
260f9e26ee4680ae279d43b0867a59f7d55f90ef68768b47e8f3120c29073f75
BLAKE2b-256 checksum
How to use checksums
3dd0ee115ada63b80ad3a6163af9e4eb59cac0dcc3792472aba4516cddbd24ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Release files / whisper_cpp_cli-0.0.1a0-py3-none-macosx_14_0_arm64.whl

Download URL whisper_cpp_cli-0.0.1a0-py3-none-macosx_14_0_arm64.whl
Size 563.4 kB
Tags Python 3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
927efb437e0ab4743e3e65e1b161dcc71ce8ae7d2ee49c460e9b8b9d04ce1558
BLAKE2b-256 checksum
How to use checksums
6327a4605f6a9eedd2a6a962ab5a35254ebc1a580fecd2cefd743ef086210855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.0

Security for whisper.cpp-cli 0.0.1a0

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.

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