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--stubmode).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c0e5f468b86adc2cd2eaeae381544ddb57aa0c0d1de885b488a53e8de8abd4c
|
|
| MD5 |
71106be3a7f6f914f0622dc9e4cf66a1
|
|
| BLAKE2b-256 |
38bcdf4254b0e06ace163e121e7a6ea396ef0dd91d63dd03689e7f63066b3d79
|
Provenance
The following attestation bundles were made for xyberos_stt-0.1.0.tar.gz:
Publisher:
pypi-plugins.yml on xyberos/xyberos-plugins
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_stt-0.1.0.tar.gz -
Subject digest:
8c0e5f468b86adc2cd2eaeae381544ddb57aa0c0d1de885b488a53e8de8abd4c - Sigstore transparency entry: 2495275707
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
491e8cc8e1b69f778281b93c6b67d60a5fd961689294dde60f5b822914c84650
|
|
| MD5 |
c972433d290d4a61532ff7ad5cc3ebbc
|
|
| BLAKE2b-256 |
f7e781b59470da5727b85913d1216e713408dc50fd226cc7e9e380168a59daa0
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyberos_stt-0.1.0-py3-none-any.whl -
Subject digest:
491e8cc8e1b69f778281b93c6b67d60a5fd961689294dde60f5b822914c84650 - Sigstore transparency entry: 2495275721
- Sigstore integration time:
-
Permalink:
xyberos/xyberos-plugins@cd98ad6193005275396bb763df8de0468830de4a -
Branch / Tag:
refs/heads/master - Owner: https://github.com/xyberos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-plugins.yml@cd98ad6193005275396bb763df8de0468830de4a -
Trigger Event:
workflow_dispatch
-
Statement type: