Installation
Requires Python 3.10 or later.Quickstart
Create an API key
Sign in to the Typeless Console and create an
API key. The key is shown only once at creation — store it somewhere safe.
Set your API key
The SDK reads the key from the
TYPELESS_API_KEY environment variable when you
do not pass one explicitly.transcribe() accepts a file path, in-memory bytes, or a readable binary file
object:
Async client
Streaming
Usestream() for real-time raw PCM16 audio such as microphone capture. For
offline files, use transcribe() instead. See the
streaming guide for the underlying protocol.
Error handling
Every API error maps to a typed exception. See Errors for the full list of error codes.Configuration
Changelog
0.1.0
- HTTP file transcription via
TypelessClient.transcribe(). - WebSocket real-time PCM16 streaming via
stream()with automatic keep-alive. AsyncTypelessClientmirroring the synchronous API.- Automatic retry with exponential backoff for transient HTTP failures.
- Structured exception types mapped from API error codes.
- Full type hints and
py.typedmarker (PEP 561).
Support
Email hello@typeless.com and include therequest_id
from any failed response.