Packages
TTS is a deep learning library for text-to-speech synthesis that generates spoken audio from text using pretrained models across multiple languages, with support for model training and fine-tuning.
TUF is a Python reference implementation of The Update Framework specification for securing software update systems against supply chain attacks and repository compromise.
Install it if you need to secure software updates or validate update metadata according to the TUF specification.
A terminal-based virtual pet game in the Digimon V-Pet style, with Unicode sprite animation, care mechanics, evolution, adventure mode, and optional online multiplayer features.
tuna visualizes Python performance profiles in an interactive web interface, showing runtime and import-time profiling data with minimal dependencies.
Install it if you need to understand where your Python code spends time.
Parse, query, edit, and serialize HTML and XML documents with a C-accelerated core, supporting CSS selectors, XPath, markdown export, sanitization, and form extraction.
Install it if you need fast, typed HTML handling and are willing to learn its API.
Python bindings for libjpeg-turbo that provide lossless JPEG transformation, compression, and decompression using the TurboJPEG C API Version 3.
Provides a Python client library for the turbopuffer vector database API, with both synchronous and asynchronous interfaces for querying and managing vector embeddings and full-text search.
Install it if you need to query or manage vector embeddings via the turbopuffer API from Python.
Signs Turnkey API requests with your API key credentials, generating authentication stamps for request authentication.
Turnkey HTTP is an HTTP client for the Turnkey API that provides auto-generated typed methods from an OpenAPI specification, with built-in request signing via API key stamping.
Provides generated Pydantic type definitions for the Turnkey API, handling Python keyword conflicts through field aliasing so reserved words like `from` can be used in API requests.
However, it is in alpha status and has had only one release; verify that it covers your API use case and that the OpenAPI spec is kept current before relying on it…
Fetches historical and real-time Chinese stock market data and returns it as pandas DataFrames for analysis and export.
A Python client for uploading files to servers using the tus resumable upload protocol, which allows paused and resumed uploads without re-uploading previously sent data.
A FastAPI router that implements the tus resumable upload protocol, handling chunked file uploads with optional post-upload hooks and pluggable storage backends.
A Python SDK for Tuya's Open API that handles IoT device management, MQTT messaging, and scene automation through manager and repository interfaces.
Tweepy is a Python library that provides access to the X (Twitter) API, handling authentication and request formatting so you can fetch tweets, post updates, and interact with user data programmatically.
Python SDK for the TwelveLabs video understanding platform, providing methods to create indexes, upload videos, and perform search and analysis tasks on video content.
However, verify the license terms first—they are not declared in the package metadata.
A client library for consuming 20c's RESTful API, built on top of the requests library to handle HTTP communication.
Twiggy is a structured logging library that provides a Pythonic API for emitting log messages with named fields, formatting, and chaining.
Twikit is a Twitter scraper library that lets you post tweets, search for tweets, retrieve trends, and send direct messages without requiring an API key, using web scraping instead.
However, be aware that scraping-based solutions are inherently fragile—Twitter can change its frontend at any time, breaking functionality.
Python client library for the Twilio API that enables sending SMS messages, making calls, and managing voice and messaging services through Twilio's cloud platform.
Install it if you need to integrate SMS, voice calls, or other Twilio services into a Python application.
Provides mypy type stubs for the Twilio Python API, enabling static type checking when using Twilio's SDK.
Twine uploads Python source and binary distributions to PyPI and other package repositories, independent of the build system used to create them.
Install it if you publish or maintain Python packages.
Twirp is a Python implementation of the Twirp RPC framework that generates server and client code from protobuf definitions, supporting Twirp Wire Protocol v7.
Twisted is an event-driven networking framework that provides asynchronous I/O and protocol implementations for building internet applications in Python, including HTTP, SSH, DNS, SMTP, IMAP, IRC, and XMPP servers and clients.
A Python client library for the Twitch Helix API, EventSub, and Chat, supporting app and user authentication with async/await patterns.
Install it if you need to integrate Twitch API, EventSub, or chat functionality into a Python application.
A Python SDK for managing Twitter Ads campaigns, accounts, and related resources through the Twitter Ads API using OAuth authentication.
Provides Python bindings to the Twofish block cipher for encrypting and decrypting 16-byte blocks with keys up to 32 bytes.
twscrape is an async Python library and CLI for querying X/Twitter's Search and GraphQL endpoints using your own account pool, with automatic session management, rate-limit rotation, and SNScrape-compatible data models.
Twython is a Python wrapper for the Twitter API that lets you query user data, timelines, direct messages, upload images, and access Twitter's streaming API using OAuth authentication.
txaio provides a compatibility layer that lets you write async code once and run it unmodified on either Twisted or asyncio, letting your users choose which event loop to use.
txtorcon is a client library for controlling and monitoring Tor instances via the Tor control protocol, enabling Python programs to manage circuits, streams, relays, and onion services.
A fast Python type checker and language server written in Rust, providing type analysis, diagnostics, and IDE integration for Python codebases.
Enforces Python type annotations at runtime using decorators, validating function inputs, outputs, and nested generic types without requiring a compiler or external dependencies.
Provides a unified API for reflecting and introspecting Python type hints, including support for evaluating modern type syntax (PEP 585, PEP 604) on older Python versions.
Install only if you actually need type introspection; it's a specialized tool, not a general utility.
Detects file types and MIME types using libmagic and Pygments, with support for multiple detection methods and optional system or bundled libmagic libraries.
Provides a prebuilt native libmagic binary and database as a ScanCode plugin for file type detection and analysis.
However, review the composite license terms carefully if you have proprietary or restricted licensing requirements.
A typed, modern replacement for Python's argparse that uses class attributes and type hints to define command-line arguments with static type checking and IDE code completion support.
Provides Python 2.7 and Python 3 AST parsers with PEP 484 type comment support, independent of the Python version running the parser.
Reads typed configuration from multiple sources (environment variables, INI files) with IDE autocomplete support and zero runtime dependencies.
Install it if you want type-safe config without heavy frameworks.
A Python wrapper around FFmpeg with full type hints and IDE autocomplete support, letting you build video and audio processing pipelines with compile-time type checking.