Skip to main content

whisper.cpp-cli

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-cli

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.2

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.2
File Size Uploaded Provenance Actions
whisper_cpp_cli-0.0.2.tar.gz 6.3 kB Without provenance Details for whisper_cpp_cli-0.0.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for whisper.cpp-cli 0.0.2
File Actions
whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_x86_64.whl Python 3 none Linux musl 1.1+ x86-64 Details for whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_x86_64.whl
whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_s390x.whl Python 3 none Linux musl 1.1+ IBM System/390x Details for whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_s390x.whl
whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_ppc64le.whl Python 3 none Linux musl 1.1+ PowerPC 64-le Details for whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_ppc64le.whl
whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_i686.whl Python 3 none Linux musl 1.1+ x86-32 Details for whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_i686.whl
whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl Python 3 none Linux glibc 2.17+ IBM System/390x Details for whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details for whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl Python 3 none Linux glibc 2.17+ x86-32 Details for whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
whisper_cpp_cli-0.0.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for whisper_cpp_cli-0.0.2-py3-none-macosx_11_0_arm64.whl
whisper_cpp_cli-0.0.2-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for whisper_cpp_cli-0.0.2-py3-none-macosx_10_12_x86_64.whl

Total release size: 9.9 MB

Release files / whisper_cpp_cli-0.0.2.tar.gz

Download URL whisper_cpp_cli-0.0.2.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
333ea375e6b2267792cdd327960ed2d3d38117099b53ff0ada009d64f22620d9
BLAKE2b-256 checksum
How to use checksums
20dd177a847ba4970a0af362479c56b1f48df42fe10b58a4d11e4e2556a0dd87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_x86_64.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_x86_64.whl
Size 1.2 MB
Tags Linux musl 1.1+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4c8271eeb45304825ceecd21404c730d7633964135c72199b9ceb8d154bc5407
BLAKE2b-256 checksum
How to use checksums
52ca5bbd927bc40ea1b344fab343b164347e70e774d42dd4d5dd7f9bedf8c2c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_s390x.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_s390x.whl
Size 1.4 MB
Tags Linux musl 1.1+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
dd444545b0fdc426270099bb21f08bab510a5fed91e927a12f8c4cdc582a22dc
BLAKE2b-256 checksum
How to use checksums
0bb29c165fb0098ca7cf7f8667c98907a0d59f7f79981f52903fdd6323064fd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_ppc64le.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_ppc64le.whl
Size 1.3 MB
Tags Linux musl 1.1+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
4ca42d018064f701c1a30fce9db98e6096543af8c2000a2bdf233e1f8bb8e406
BLAKE2b-256 checksum
How to use checksums
4b08ae717ce02f2eaf5efcc221799a2ea58a46805ddb014f539f6f0705bde5dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_i686.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-musllinux_1_1_i686.whl
Size 1.2 MB
Tags Linux musl 1.1+ x86-32 Python 3
SHA-256 checksum
How to use checksums
53b59f37874f836dac50d11d4d6e4c52384e3eb9f3316f0271829b51ed21501b
BLAKE2b-256 checksum
How to use checksums
50d0fbe2e3d69af6a98eb9cce8fb0bb2634184235bb682f1a0e6051493039806
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 640.0 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
17bf175d0eca9c0995f4dacd7b47dfac35758be03ae3806aaa5256159de0a309
BLAKE2b-256 checksum
How to use checksums
7e9746ba7bc7381c192225693a76293c25d83e40feb89f5c38f296075cf94062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 856.0 kB
Tags Linux glibc 2.17+ IBM System/390x Python 3
SHA-256 checksum
How to use checksums
5431c537fbe533a5051d9c3e8421dda86d3b11c8dc54619191a763927e656c7e
BLAKE2b-256 checksum
How to use checksums
cfc811457d1a99a2b5084efa6945960ecade1ff540f022c0d646e3673da0f630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 742.5 kB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
9f222e4dee4ee055b4ed9e58f3822d22bc69236b0eb4553424a3a010bbea8812
BLAKE2b-256 checksum
How to use checksums
85a84f8efa12f3c16a3dbd78c4fc8fb1d4f1da752b940ff7473cda54cc44e8fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
Size 678.9 kB
Tags Linux glibc 2.17+ x86-32 Python 3
SHA-256 checksum
How to use checksums
f695e6dd37183eae76eeb00a7ae20887efc8728cdc4780f3eef650337a8c1985
BLAKE2b-256 checksum
How to use checksums
43222bcb09b7a02e97ff36669594a941a27b6214f878b1592e7a3848dcb42281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 600.4 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
e157fabcfad984d04f96e79d575d2f7679b60b98b8d824c81a462c3eb6aa36c2
BLAKE2b-256 checksum
How to use checksums
7992ea15b91f64bacf894f7f0af20f8b8480fc0fabcb81e0c383a21f56022e4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-macosx_11_0_arm64.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-macosx_11_0_arm64.whl
Size 573.8 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
511a0df15e3fd59847959f2974fb46f3b102dc9e29855841d2ee276554d50018
BLAKE2b-256 checksum
How to use checksums
cf3669d617d0cbf186ff37f6723af0cbfdc7fc18bc0185e9377019311e65cedb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / whisper_cpp_cli-0.0.2-py3-none-macosx_10_12_x86_64.whl

Download URL whisper_cpp_cli-0.0.2-py3-none-macosx_10_12_x86_64.whl
Size 655.2 kB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
fbe0a2f39bb31094c92bb206974f89ee327aa4c7abdf7982e72a074a7f9cf460
BLAKE2b-256 checksum
How to use checksums
c2afb13a26fbd540fae4920573657b7a5163f764e5104bd66fc4a6780e544586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Security for whisper.cpp-cli 0.0.2

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