Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

TeenageWorks SDK

The official SDK for Teen V1, including process-wide compatibility patches for the OpenAI and ElevenLabs clients.

Version 0.0.1b2 includes:

  • TeenageWorks, AsyncTeenageWorks, TW, and AsyncTW clients
  • OpenAI-style buffered, raw, HTTP-streaming, and SSE responses
  • persistent incremental-text WebSocket sessions
  • voice ID selection and zero-shot reference-audio cloning
  • typed models for models, capabilities, public voices, and project usage
  • process-wide OpenAI and ElevenLabs TTS routing patches
  • provider pass-through, compatibility warnings, and typed errors

Install the package from PyPI:

python -m pip install teenageworks

Generate speech:

from teenageworks import TeenageWorks

client = TeenageWorks(api_key="tw_live_...")
audio = client.audio.speech.create(
    model="teen-v1",
    voice="default",
    input="Hello from Teen V1.",
    response_format="mp3",
)
audio.write_to_file("speech.mp3")

Provider patches are explicit and affect only recognized TTS calls:

from teenageworks import patch_elevenlabs, patch_openai

patch_openai()
patch_elevenlabs()

The complete documentation lives in docs/.

Metadata

Release files for teenageworks 0.0.1b2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for teenageworks 0.0.1b2
File Size Uploaded
teenageworks-0.0.1b2.tar.gz 151.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for teenageworks 0.0.1b2
File Interpreter ABI Platform
teenageworks-0.0.1b2-py3-none-any.whl Python 3 none any Details

Total release size: 183.1 kB

Release files / teenageworks-0.0.1b2.tar.gz

Download URL teenageworks-0.0.1b2.tar.gz
Size 151.0 kB
Tags Source
SHA-256 checksum
How to use checksums
67956f4a2060ed624c40bffcf5c69038b5f7c235561ee9b99648db750cdd5143
BLAKE2b-256 checksum
How to use checksums
d5264a0eab4769a5ee4b16e0f3bceeb4d2d1d0bb8ce1240ada7ebcc7fbcfb904
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log

Release files / teenageworks-0.0.1b2-py3-none-any.whl

Download URL teenageworks-0.0.1b2-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9153ff3c0bc6f6b143c97ab1f1ecb5958a09b116d86417dfb7f91c78a78aed1e
BLAKE2b-256 checksum
How to use checksums
25334aedf62550af9c475cc640cb6ab8f67ac7a1349a52f407bdf23e12a3d984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page