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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.8MB
glibcpy 3.10–3.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)
Upgrade
Version history
1.1.0latest on PyPI · released Jun 17, 2026
Audit
Dependencies
No dependency data recorded yet.