speechmatics-rt
Speechmatics Real-Time API Client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a clean async interface for a specific task (real-time Speechmatics transcription). Install it if you need to integrate Speechmatics' real-time API; skip it if you're using a different speech-to-text provider or don't need real-time streaming.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; SPEECHMATICS_API_KEY environment variable or explicit authentication must be configured.
- Low friction install with only two runtime dependencies (websockets and typing-extensions).
- Package is actively maintained with recent commits and is in beta status, having been released since June 2025.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
last release 2026-06-17 (58 days) · last repo commit 2026-08-13 · 18 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 265,683 downloads/mo, #8,318 on PyPI
Alternatives
Verify before relying
pip install speechmatics-rt
import asyncio
from speechmatics.rt import AsyncClient, ServerMessageType
async def main():
async with AsyncClient() as client:
@client.on(ServerMessageType.ADD_TRANSCRIPT)
def handle_transcript(msg):
print(msg['metadata']['transcript'])
with open('audio.wav', 'rb') as f:
await client.transcribe(f)
asyncio.run(main())- Actual latency and throughput characteristics for real-time transcription workloads.
- Supported audio formats, sample rates, and codec requirements.
- Rate limits and quota behavior under sustained multi-channel load.
- Retry and reconnection behavior for network interruptions.
What it is and what it does
This is an async-first Python client library for Speechmatics' real-time speech-to-text API. It wraps WebSocket communication to the Speechmatics service, allowing you to send audio streams and receive transcription results as they arrive. The library handles connection lifecycle, authentication (via API key or JWT), and event dispatch for transcript updates.
The package supports two main use patterns: single-stream transcription for simple cases where you're processing one audio source, and multi-channel transcription for scenarios where you need to simultaneously process multiple audio inputs with channel identification and diarization. Both patterns use an event-driven architecture where you register handlers for transcript events and let the client invoke them as results arrive. Type hints throughout the codebase provide IDE support and runtime safety.
Use it for
- Build a real-time call transcription service that processes multiple participant audio streams simultaneously and labels output by speaker.
- Create a live meeting assistant that transcribes audio as it streams and triggers downstream actions on transcript events.
- Implement a voice command interface that sends microphone input to Speechmatics and reacts to recognized commands.
- Develop a multi-language customer support dashboard that transcribes calls from multiple channels in real time.
- Integrate speech-to-text into a browser application using JWT tokens for secure, short-lived authentication.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and offers a clean async interface for a specific task (real-time Speechmatics transcription). Install it if you need to integrate Speechmatics' real-time API; skip it if you're using a different speech-to-text provider or don't need real-time streaming.
Install
speechmatics-rt on PyPI
Before you install
Low friction install with only two runtime dependencies (websockets and typing-extensions). Package is actively maintained with recent commits and is in beta status, having been released since June 2025.
Requires Python 3.9 or later; SPEECHMATICS_API_KEY environment variable or explicit authentication must be configured.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
pip install speechmatics-rt
import asyncio
from speechmatics.rt import AsyncClient, ServerMessageType
async def main():
async with AsyncClient() as client:
@client.on(ServerMessageType.ADD_TRANSCRIPT)
def handle_transcript(msg):
print(msg['metadata']['transcript'])
with open('audio.wav', 'rb') as f:
await client.transcribe(f)
asyncio.run(main())
Verify before relying
- Actual latency and throughput characteristics for real-time transcription workloads.
- Supported audio formats, sample rates, and codec requirements.
- Rate limits and quota behavior under sustained multi-channel load.
- Retry and reconnection behavior for network interruptions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageswebsocketstyping-extensions |
| Maintenance | Actively maintained 58 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 265,683 / month, #8,318 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Multimedia :: Sound/Audio :: SpeechTopic :: Software Development :: Libraries :: Python Modules |
Evidence: speechmatics_rt-1.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “multi-channel audio transcription”
- speechmatics-rtAsync Python client for real-time speech-to-text transcription via…
- assemblyaiPython SDK for transcribing and understanding audio using…
- faster-whisperTranscribes audio to text using OpenAI's Whisper model, reimplemented…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also speechmatics-batch · rev-ai · speechmatics-voice · livekit-plugins-speechmatics · livekit-plugins-soniox · assemblyai · aws_sdk_transcribe_streaming · SpeechRecognition · deepgram-sdk · cent