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.1b0 includes:

  • TeenageWorks, AsyncTeenageWorks, TW, and AsyncTW clients
  • OpenAI-style buffered, raw, HTTP-streaming, and SSE responses
  • persistent incremental-text WebSocket sessions
  • inline voice cloning and conditioning
  • 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.1b0

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.1b0
File Size Uploaded
teenageworks-0.0.1b0.tar.gz 95.3 kB Details

Built distribution (wheel)

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

Total release size: 127.7 kB

Release files / teenageworks-0.0.1b0.tar.gz

Download URL teenageworks-0.0.1b0.tar.gz
Size 95.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fb07773933bd9698186d7b5606902282f9a9701d9334d6c4ca5acffe5de5d0a5
BLAKE2b-256 checksum
How to use checksums
2af9d29cf7e671871b1309f0adf150aed4462b8f9549c12ee89cfeed28babe51
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 Aug 29, 2026.

Transparency log

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

Download URL teenageworks-0.0.1b0-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c640ae447251b3bb9ee9470d897d573674c69daf960854364a81ab7fb74a1d25
BLAKE2b-256 checksum
How to use checksums
f385f4e0ccaf94f6ba0718313edaf2a6075c6afc9d4eb3eccefbe0c670a5e8ca
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 Aug 29, 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