Skip to main content

Faster-whisper ASR tools for SonusAI

Project description

SonusAI ASR Faster Whisper

Faster-Whisper ASR tools for SonusAI.

This package provides a SonusAI-compatible Automatic Speech Recognition (ASR) plugin backed by faster-whisper.

Overview

  • Integrates Faster-Whisper transcription into SonusAI workflows.
  • Exposes ASR functions under sonusai_asr_faster_whisper/asr_functions/.
  • Returns SonusAI-native ASRResult objects for downstream processing.

Requirements

  • Python >=3.13, <3.15
  • Dependencies are managed via uv and defined in pyproject.toml

Installation

Install dependencies for development:

uv sync

Usage

Core exported functions:

  • faster_whisper_validate(**config)
  • faster_whisper(audio, **config)

Minimum config requirement:

  • model: Faster-Whisper model name/path

Common optional config keys:

  • device (default: "cpu")
  • cpu_threads (default: 1)
  • compute_type (default: "int8")
  • beam_size (default: 5)

Development

Quality and validation commands:

ruff check .
ruff format .
pytest

Additional project context and standards are documented in:

  • AGENTS.md
  • .context/overview.md
  • .context/architecture.md
  • .context/cli_commands.md
  • .context/standards.md

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sonusai_asr_faster_whisper-1.3.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file sonusai_asr_faster_whisper-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: sonusai_asr_faster_whisper-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for sonusai_asr_faster_whisper-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1b28f28edf78ecb36942bdcbba08fd61238a0684c9f9e40c69e36370fe736547
MD5 0c14dcfcb42491771ace2f5bf870b180
BLAKE2b-256 eb7bd20d8e615ec899d623359b33f75f87ff62835f6d620c3a833f007e6b39c3

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