skillfed

amazon-transcribe

Async Python SDK for Amazon Transcribe Streaming

amazon-transcribe v0.6.4 457.0K downloads/30d#6,551 on PyPI185
Permissive license Apache License 2.0 AGING released

What it is and what it does

Amazon Transcribe Streaming SDK is an async Python client for Amazon's real-time transcription service. It lets you send audio byte streams to AWS and receive transcription results as events, with a handler pattern for processing results as they arrive. The SDK wraps the AWS Common Runtime (awscrt) to communicate with the Transcribe Streaming API.

The package is designed for developers who need to integrate live or near-live audio transcription into Python applications without managing low-level AWS API details. It requires AWS credentials and audio in a format compatible with Amazon Transcribe Streaming. The description notes this was originally a proof of concept and is no longer actively maintained, though it remains functional; rare high CPU issues have been reported.

Use it for:

  • Transcribe live audio from a microphone or network stream in real time for chatbots or voice assistants.
  • Process pre-recorded audio files asynchronously, receiving transcription results incrementally as chunks are processed.
  • Build a call-center or meeting-recording system that transcribes audio on-the-fly without storing raw audio locally.
  • Integrate speech-to-text into a Python web service or background worker handling multiple concurrent transcription streams.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Streams audio to Amazon Transcribe and receives real-time transcription results via an async Python interface.

Yes, if you need real-time transcription via Amazon Transcribe and can accept that the package is aging and no longer actively developed. Install friction is low and there are no known vulnerabilities. Be aware of the proof-of-concept status, pin dependencies strictly, and monitor for the rare high CPU issues mentioned. Not suitable if you require active maintenance or official AWS support.

Install

amazon-transcribe on PyPI

pip

pip install amazon-transcribe

uv

uv add amazon-transcribe

poetry

poetry add amazon-transcribe

Installing amazon-transcribe

Before you install

Low install friction with a single compiled dependency (awscrt). The package is aging—last release was 466 days ago—and the description explicitly notes it was a proof of concept no longer actively developed, though the repository remains unarchived. Pin dependencies strictly if using outside local testing.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

from amazon_transcribe.client import TranscribeStreamingClient
from amazon_transcribe.handlers import TranscriptResultStreamHandler

class MyHandler(TranscriptResultStreamHandler):
    async def handle_transcript_event(self, transcript_event):
        for result in transcript_event.transcript.results:
            for alt in result.alternatives:
                print(alt.transcript)

client = TranscribeStreamingClient(region="us-west-2")
stream = await client.start_stream_transcription(
    language_code="en-US",
    media_sample_rate_hz=16000,
    media_encoding="pcm"
)

Requires AWS credentials configured via environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY), AWS_PROFILE, or ~/.aws/credentials file. awscrt is a compiled C library; non-standard operating systems may need to compile it locally.

Verify before relying

  • Whether the rare high CPU issues (#109, #84) mentioned in the description remain unfixed in version 0.6.4.
  • Current stability and compatibility of awscrt dependency with modern Python environments.
  • Whether AWS credentials configuration via environment variables, AWS_PROFILE, or ~/.aws/credentials works reliably in all deployment contexts.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — awscrt
Maintenance aging — 466 days since the last release
Last repo commit
First released
Downloads 457,029/month — #6,551 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: amazon_transcribe-0.6.4-py3-none-any.whl

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

amazon transcribe streamingreal-time speech to text awsasync audio transcriptionaws transcribe sdk pythonlive audio streaming transcriptiontranscribe streaming client
aws-integrationspeech-to-textasync-streaming

More Internet packages