Registry / ai-ml / speechmatics-rt

speechmatics-rt

JSON →
library1.1.0pypypiunverified

Official Python client for Speechmatics real-time speech-to-text API. Version 1.0.0, supports Python >=3.9. Actively maintained.

pip install speechmatics-rt
INSTALL
IMPORT
SIG · SPEECHMATICS-RT
S
speechmatics-rt
ai-mlpythonv1.1.0
Install
1.9s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.9s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebsocketsClient
from speechmatics import WebsocketsClient
from speechmatics_rt import WebsocketsClient

Example of connecting and transcribing a local audio file.

from speechmatics_rt import WebsocketsClient import os # Obtain an API key from Speechmatics api_key = os.environ.get('SM_API_KEY', '') client = WebsocketsClient(api_key) # Define transcription configuration conf = { "type": "transcription", "transcription_config": { "language": "en", "operating_point": "enhanced" } } # Open a connection and send audio file def on_transcription(message): print(message) client.add_listener('transcription', on_transcription) with open('audio.wav', 'rb') as audio: client.run(audiostream, conf)
Debug
Known issues
gotchaThe library uses underscore in its Python module name: `speechmatics_rt`, not `speechmatics-rt`.
fix
Use `from speechmatics_rt import WebsocketsClient`.
affects: all
gotchaThe `run` method is blocking; for non-blocking use `run_async`.
fix
Call `client.run_async(audiostream, conf)` instead of `client.run(audiostream, conf)` for async operation.
affects: all
breakingVersion 1.0.0 removed support for Python <3.9.
fix
Upgrade to Python 3.9 or later.
affects: >=1.0.0
Upgrade
Version history
1.1.0latest on PyPI · released Jun 17, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
speechmatics-rt — pip install speechmatics-rt · libregistry