Skip to main content

A toolkit for whisper.cpp with audio processing and model management

Project description

WhisperCPP Kit

A wrapper arround whisper.cpp with additional helper features like model management capabilities.

While whispercpp_kit will automatically build and set up whisper.cpp for you, it requires certain system-level dependencies (git, cmake, ffmpeg) to be pre-installed on your system. If any dependency is missing, the library will provide a clear error message indicating what needs to be installed.

System requirements

Before installing whispercpp_kit, ensure you have the following dependencies installed:

  • git
  • cmake
  • ffmpeg

Installing dependencies

Ubuntu/Debian:

sudo apt update
sudo apt install git cmake ffmpeg

MacOS:

brew install git cmake ffmpeg

Installation

pip install whispercpp_kit

Quickstart

from whispercpp_kit import WhisperCPP

whisper = WhisperCPP(model_name="tiny.en")
# whisper = Whisper(model_path="/custom/pathggml-large-v3-turbo-q5_0.bin")

output = whisper.transcribe("input.mp3")
print(output)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whispercpp_kit-0.1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whispercpp_kit-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file whispercpp_kit-0.1.1.tar.gz.

File metadata

  • Download URL: whispercpp_kit-0.1.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for whispercpp_kit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4dd6420d9182f11a156f610076cfe45b279c15b964727b8ce05ed13cd260fc3a
MD5 098aa95357ed720facbec07fcad55dce
BLAKE2b-256 118bf7f4f0ca29b6e768c3d39e0c907146f476dbf704dc8769113f8c3b57953a

See more details on using hashes here.

File details

Details for the file whispercpp_kit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: whispercpp_kit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for whispercpp_kit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d953180e37d8e0adf6327359bf4c4b8d0d799d0420171267d8b4941e88a6b06e
MD5 c66106d5ebf32610d23e4ef8d168112b
BLAKE2b-256 3102d8d6cb636ede2a4325ed0a9ad8ac31f86bb1da8530b7b08a5e465eb576ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page