Skip to main content

xyberos-stt

Speech-to-text plugin — RFC-0019, M8. Transcribe audio via local OpenAI Whisper or the Deepgram / AssemblyAI cloud APIs through one SpeechToText contract.

Install

pip install -e ./stt

Usage

from xyberos import create_app
from xyberos_stt import SttPlugin

app = create_app()
app.load_plugin(SttPlugin(provider="deepgram"))   # key from DEEPGRAM_API_KEY

transcript = app.tools.execute("stt_transcribe", None, audio_path="call.wav")

Provider selection: STT_PROVIDER env or provider= (deepgram default, assemblyai, whisper).

Provider Type Key env
whisper local (lazy openai-whisper) — (downloads model weights)
deepgram cloud DEEPGRAM_API_KEY
assemblyai cloud (upload → poll) ASSEMBLYAI_API_KEY

Tools

  • stt_transcribe(audio_path) -> str

Examples

  • examples/voice_assistant.py — STT → LLM → TTS pipeline (offline --stub mode).

Tests

pip install pytest
pytest tests/

Deepgram/AssemblyAI are tested via injectable transports; Whisper tests skip when openai-whisper is absent.

Ship location

Plugin (xyberos.plugins entry point) — voice (M8).

Download files

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

Source Distribution

xyberos_stt-0.1.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

xyberos_stt-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file xyberos_stt-0.1.0.tar.gz.

File metadata

  • Download URL: xyberos_stt-0.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_stt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c0e5f468b86adc2cd2eaeae381544ddb57aa0c0d1de885b488a53e8de8abd4c
MD5 71106be3a7f6f914f0622dc9e4cf66a1
BLAKE2b-256 38bcdf4254b0e06ace163e121e7a6ea396ef0dd91d63dd03689e7f63066b3d79

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_stt-0.1.0.tar.gz:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xyberos_stt-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: xyberos_stt-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for xyberos_stt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 491e8cc8e1b69f778281b93c6b67d60a5fd961689294dde60f5b822914c84650
MD5 c972433d290d4a61532ff7ad5cc3ebbc
BLAKE2b-256 f7e781b59470da5727b85913d1216e713408dc50fd226cc7e9e380168a59daa0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyberos_stt-0.1.0-py3-none-any.whl:

Publisher: pypi-plugins.yml on xyberos/xyberos-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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