Registry / aws / aws-sdk-transcribe-streaming

aws-sdk-transcribe-streaming

JSON →
library0.6.0pypypiunverified

The aws-sdk-transcribe-streaming library (v0.5.0) is an unofficial, community-maintained Python SDK for Amazon Transcribe's streaming API. It provides a high-level interface to start real-time transcription using WebSocket connections. Requires Python 3.12+. Release cadence is irregular.

pip install aws-sdk-transcribe-streaming
INSTALL
IMPORT
SIG · AWS-SDK-TRANSCRIBE
A
aws-sdk-transcribe-streaming
awspythonv0.6.0
Install
2.8s avg
Import
Disk
27MB
Pass rate
4/ 10
Env Coverage4 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.6.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
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✕ build_error
✕ build_error
py 3.12
✓ —
✓ 3s
py 3.13
✓ —
✓ 2.5s
py 3.9
✕ build_error
✕ build_error
27MB installed
● package 27MB
Code
Verified usage

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

TranscribeStreamingClient
from aws_sdk_transcribe_streaming import TranscribeStreamingClient
from aws_sdk_transcribe_streaming import TranscribeStreamingClient

Create a client and start a transcription stream.

import os import asyncio from aws_sdk_transcribe_streaming import TranscribeStreamingClient async def transcribe(): client = TranscribeStreamingClient( region="us-west-2", aws_access_key_id=os.environ.get("AWS_ACCESS_KEY_ID", ""), aws_secret_access_key=os.environ.get("AWS_SECRET_ACCESS_KEY", ""), ) result = await client.start_stream_transcription( language_code="en-US", media_sample_rate_hz=16000, media_encoding="pcm", ) print(result) asyncio.run(transcribe())
Debug
Known issues
breakingBreaking: The library dropped support for Python <3.12 in v0.5.0. Using with older Python versions will fail with a syntax error.
fix
Upgrade Python to 3.12+ or pin to aws-sdk-transcribe-streaming<0.5.0.
affects: >=0.5.0
gotchaThe library uses asyncio under the hood. All client methods must be awaited; forgetting 'await' leads to coroutine objects instead of results.
fix
Ensure all calls to client methods are prefixed with 'await' inside an async function.
affects: all
deprecatedUse of 'TranscribeStreamingClient' without explicit region may fail silently. In earlier versions region defaulted to 'us-east-1' but new releases require explicit parameter.
fix
Pass 'region' explicitly when constructing the client.
affects: >=0.4.0
Upgrade
Version history
0.6.0latest on PyPI · released May 5, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
26
OpenAI (training)
1
Resources