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.1b1 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.1b1

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

Built distribution (wheel)

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

Total release size: 155.2 kB

Release files / teenageworks-0.0.1b1.tar.gz

Download URL teenageworks-0.0.1b1.tar.gz
Size 123.0 kB
Tags Source
SHA-256 checksum
How to use checksums
466aef54d0a04be33d06cce9fd4352ef6171dcb29ce1b0b024209cdd483052ba
BLAKE2b-256 checksum
How to use checksums
cf8dfcba6bbe1df757976f2f92b50c23fd5e4ae01a2237a852290e6930d85f55
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.1b1-py3-none-any.whl

Download URL teenageworks-0.0.1b1-py3-none-any.whl
Size 32.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1adfa655fe6eaab74e675ef241678cd14c0f7a34005e4481ae9c2debe5481ed0
BLAKE2b-256 checksum
How to use checksums
eb45097249eeba97af2671dbc0ed6be757f7e1d65689472cdcfd1c07dbaaa5a8
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