{"library":"pywhispercpp","title":"pywhispercpp","description":"Python bindings for whisper.cpp, providing fast and easy-to-use speech-to-text with support for various backends (CPU, CUDA, Vulkan, OpenVINO, CoreML). Current version 1.4.1, active development with monthly releases.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pywhispercpp"],"cli":null},"imports":["from pywhispercpp import Model","from pywhispercpp import Segment"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from pywhispercpp import Model\n\nmodel = Model('ggml-base.en.bin', n_threads=4)\nsegments = model.transcribe('audio.wav')\nfor segment in segments:\n    print(f\"[{segment.t0/100:.2f}s -> {segment.t1/100:.2f}s] {segment.text}\")","lang":"python","description":"Basic transcription example.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}