Packages
Provides rate limiting, concurrency limiting, execution timing, and performance monitoring for Python asyncio code through context managers and decorators.
Tianshou is a PyTorch-based reinforcement learning library that implements a wide range of RL algorithms (DQN, PPO, SAC, and others) with both high-level and low-level APIs for training agents on Gymnasium environments.
Tibs provides immutable and mutable bit-level data structures (Tibs and Mutibs) for working with binary data as sequences of individual bits, supporting typed field extraction, bitwise operations, and searching without byte alignment constraints.
TickFlow is a Python client for accessing market data across Chinese A-shares, ETFs, US stocks, and Hong Kong stocks through the TickFlow API, offering both free historical daily candles and paid real-time quotes and intraday data.
Tidy3D is a Python API for defining, submitting, and postprocessing finite-difference time-domain (FDTD) electrodynamics simulations that run on Flexcompute's cloud servers.
A Python logging helper that enables multiple levels of debug output, allowing you to control verbosity across different parts of your code independently.
However, verify first that its tiering model matches your use case—the fact sheet does not detail how its tiers differ from or complement the standard logging module.
Read and write TIFF files and TIFF-like formats (BigTIFF, OME-TIFF, GeoTIFF, and many bioimaging formats) with NumPy array integration and support for multiple compression schemes.
Install it if you work with TIFF files, microscopy data, or need to convert between TIFF variants.
Python client library for TigerBeetle, a distributed financial accounting database, enabling creation and management of accounts and transfers with built-in batching and two-phase commit semantics.
Install it if you need a Python client for a distributed financial ledger; do not install if you are looking for a standalone accounting library without a separate…
A drop-in replacement for `functools.wraps` that preserves static type information when wrapping functions, so type checkers see the wrapped function's actual signature instead of `*args, **kwargs`.
Tika-python provides Python access to Apache Tika's document parsing, metadata extraction, MIME type detection, and language identification through a REST server interface.
Provides Python client libraries for the TikTok Business API, enabling programmatic access to app management, advertising, and conversion event operations.
Install it if you need to integrate TikTok app management or advertising into a Python application.
Unofficial Python wrapper for retrieving public TikTok data—trending videos, user information, and other metadata—without user authentication or posting capabilities.
Install it if data retrieval is your only goal; do not install if you need to post, upload, or access authenticated user content.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Connect to TikTok livestreams and receive real-time events (chats, gifts, likes, follows) by creator username, using reverse-engineered unofficial APIs.
However, do not use it for production systems—the author explicitly warns it is reverse-engineered and unstable.
Tiled is a service for secure, structured access to scientific data with search, remote slicing, format conversion, and live streaming capabilities.
TileDB-Py provides a Python interface to the TileDB array storage engine, enabling you to read, write, and query multi-dimensional arrays with support for both dense and sparse data.
TileDB-SOMA is a Python implementation of the SOMA API specification for storing and retrieving single-cell genomic data using TileDB as the underlying storage engine.
Tilelang is a domain-specific language for writing high-performance GPU and CPU kernels (GEMM, attention, sparse operations) using Pythonic syntax, compiling to optimized code via TVM.
However, note the Beta status, recent project age (11 months), and dependency on torch and TVM—verify stability for your specific use case and target hardware before…
Tilt MCP Server exposes Tilt development environment resources and logs to LLM applications through the Model Context Protocol, enabling AI assistants to query resource status and retrieve logs programmatically.
However, the package is in Alpha with no updates since initial release, so treat it as experimental; verify that fastmcp is maintained and that the API meets your…
Fills missing values in time-series data while respecting irregular time intervals, using spline-based interpolation methods and providing gap analysis tools.
However, it is early-stage (Alpha, 2 stars, 167 days old), so expect the API or behavior to evolve; use it for production work only if you can tolerate potential…
Mocks and freezes time in tests, allowing you to travel to any point in the past or future and control how time advances during test execution.
Install it if you write tests for time-dependent code.
Formats datetime objects and timedeltas into human-readable relative time strings like '3 minutes ago' or 'in 2 hours', with support for multiple locales.
However, do not use it if you require active maintenance, compatibility with the latest Python versions, or ongoing locale updates.
Generates 128-bit, time-ordered, URL-safe unique identifiers (UUIDs) with millisecond-precision timestamps and cryptographic randomness, compatible with standard uuid.UUID.
Parses natural-language date and time descriptions (like "next friday" or "4 hours ago") into Python datetime objects or Unix timestamps using PHP's timelib module.
However, dormancy (last release March 2023, no active maintenance) means no bug fixes or Python version updates are forthcoming—verify wheel availability for your…
Timeloop runs periodic tasks at fixed intervals on separate threads, with graceful shutdown that waits for in-flight jobs to complete.
A decorator that enforces time limits on function execution, raising an exception if the function runs longer than a specified number of seconds.
However, it is dormant (last release 2020-11-15) and carries platform and threading constraints: signal-based timeouts are Unix-only and main-thread-only, and…
Polls a function repeatedly within a timeout window, collecting results and handling exceptions selectively, until success or timeout.
However, verify whether pytest is a true runtime dependency—if it is, the high install friction may be a concern for lightweight deployments.
Times converts between universal (UTC) time and arbitrary timezones, and parses/formats datetime strings and POSIX timestamps with explicit timezone handling.
No, not for new projects.
TimesFM is a pretrained time-series foundation model from Google Research that generates point and quantile forecasts for time-series data using a decoder-only transformer architecture.
Install it if you need a modern pretrained foundation model for time-series forecasting; the permissive Apache-2.0 license and optional backends (torch/Flax) make it…
Looks up the timezone for any WGS84 coordinate (latitude/longitude) offline using preprocessed polygon data and H3-based spatial indexing.
Timing-asgi is an ASGI middleware that automatically measures and emits endpoint timing metrics (wall-clock and CPU time) with HTTP context tags, designed for integration with statsd-based monitoring services.
Timm provides a large collection of pretrained PyTorch image models—vision transformers, CNNs, and hybrid architectures—with utilities for loading weights, training, and inference.
Install it if you need pretrained models, model zoo access, or a training framework for vision tasks.
Timple extends Matplotlib with locators and formatters for plotting timedelta values, enabling readable time-interval axis ticks and automatic formatting of duration data.
However, dormant maintenance (last update 2023-12-27) means you should verify compatibility with your current Matplotlib and pandas versions before relying on it in…
Tink provides cryptographic APIs designed to be secure by default and difficult to misuse, offering authenticated encryption, key management, and digital signatures across multiple platforms.
Tinker is the official Python SDK for the Tinker API, providing client libraries and utilities to interact with Tinker's machine learning and data processing services.
Install it if you need to call the Tinker API from Python.
Tinker Cookbook provides recipes and abstractions for fine-tuning language models via the Tinker API, supporting supervised learning, reinforcement learning, and specialized tasks like math reasoning, code generation, and multimodal training.
Generates PySpark DataFrame schemas from Python NamedTuple and dataclass definitions, eliminating hand-written schema complexity.
Install only if you are maintaining legacy code already using tinsel and cannot migrate.
Command-line interface for managing Tinybird data projects, including datasource operations, pipe deployment, and local development workflows.
Ingest NDJSON data into Tinybird Data Sources and send requests to Tinybird APIs from Python, with support for both synchronous and asynchronous operations and logging integration.
However, verify the license terms before use—the package does not declare an SPDX license—and confirm minimum Python version compatibility with your environment.
tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.
Install it if your project requires CSS tokenization or syntax manipulation.