whisper.cpp.cdll
Quick Start
1. Install whisper.cpp
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
make tiny
make libwhisper.so
2. Install whisper_cpp_cdll
pip install whisper_cpp_cdll
3. Usage
from whisper_cpp_cdll.core import run_whisper
from whisper_cpp_cdll.util import read_audio
# your whisper.cpp files path
libname = './whisper.cpp/libwhisper.so'
fname_model = './whisper.cpp/models/ggml-tiny.bin'
d = read_audio('./whisper.cpp/samples/jfk.wav')
result = run_whisper(data = d, libname = libname, fname_model = fname_model, language=b'en')
#=> [{'segment_id': 0, 'text': ' And so my fellow Americans ask not what your country can do for you ask what you can do for your country.', 'start': 0, 'end': 176000, 'tokens': [{..}]},..... ]
Metadata
Release files for whisper-cpp-cdll 0.0.5
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 | Actions |
|---|---|---|---|---|
| whisper_cpp_cdll-0.0.5.tar.gz | 4.5 kB | Without provenance | Details for whisper_cpp_cdll-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whisper_cpp_cdll-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for whisper_cpp_cdll-0.0.5-py3-none-any.whl |
Total release size: 10.0 kB
Release files / whisper_cpp_cdll-0.0.5.tar.gz
| Download URL | whisper_cpp_cdll-0.0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ba1ffccf9f26efc49b8059a96d07799d517fa035cc8de25b7e663791762e793
|
|
BLAKE2b-256 checksum How to use checksums |
708f6557f3c8ab4573ea36989e55459885ad52f22a4c7d41af057fd01bcaaf57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.16 Darwin/22.3.0
|
Release files / whisper_cpp_cdll-0.0.5-py3-none-any.whl
| Download URL | whisper_cpp_cdll-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7bf8f3d9de6888c0a12277d09cb71ac2e19f64056baf70dbe01e968a4c228126
|
|
BLAKE2b-256 checksum How to use checksums |
b2f511f4dd8bbd51fc2441911e547e3e1a6acf2cf8f759b3a9ba1e48444feb6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.9.16 Darwin/22.3.0
|
Security for whisper-cpp-cdll 0.0.5
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.