Packages
stretchable is a Python layout engine that implements CSS Block, Flexbox, and CSS Grid layout algorithms, enabling programmatic UI and report layouts without browser dependencies.
A standalone CLI linter that enforces keyword arguments in Python function calls, with automatic rewriting support for positional arguments.
Converts Unix timestamps to and from RFC3339 strings, with support for UTC or local timezone offsets, using only the standard library's time and calendar modules.
StrictYAML parses and validates YAML documents against a schema, rejecting unsafe YAML features and providing type-safe parsing with clear error messages.
However, note the aging maintenance status—last release was 2023-03-10—so verify compatibility with your Python version and consider whether the lack of recent…
String Grouper finds groups of similar strings within or across lists using TF-IDF and cosine similarity, optimized for speed through sparse matrix operations.
Install it if you need fuzzy string matching or deduplication at scale.
Converts strings between different naming conventions (camelCase, snake_case, PascalCase, kebab-case, and others) with a simple function-per-case API.
However, the package is abandoned (last release 2017-08-06) and may fail on modern Python versions or edge cases.
Extracts values from strings using format-string patterns instead of regular expressions, supporting simple field extraction, ordering, and nested object assignment.
However, the dormant maintenance status means you should verify that the feature set covers your use case before committing to it, and be prepared to maintain a fork…
StringZilla provides SIMD and SWAR-accelerated string operations including substring search, hashing, edit distances, sorting, and segmentation for Python, with no runtime dependencies.
Install only if your Python version is 3.10 or later.
Removes ANSI escape sequences (color codes, formatting directives) from strings, leaving plain text.
However, verify the license before use, and be aware that no updates have been released since June 2020—if future Python versions introduce breaking changes to string…
Strips type hints from Python source code while preserving line and column numbers, leaving syntactically valid code that can run on interpreters without type-hint support.
Converts markdown text to plain text, removing all formatting, links, and structural markup while preserving readable content. Provides both a command-line tool and a Python library interface.
Provides Python bindings to the Stripe API, enabling applications to manage payments, customers, invoices, and other Stripe resources directly from Python code.
Install it if you need to integrate Stripe payments into a Python application.
Converts Rich Text Format (RTF) files to plain text, stripping formatting and control codes to produce readable output suitable for parsing and processing.
Install it if you need to process RTF files; skip it if your documents are already in plain text or modern formats.
A runtime type-checking decorator that validates function arguments against their type annotations and raises TypeMismatch on mismatch, with dedicated async support and mypyc compilation for performance.
Implements a dozen string similarity and distance algorithms including Levenshtein, Jaro-Winkler, Longest Common Subsequence, and cosine similarity for comparing text strings.
However, do not install if you require active maintenance, bug fixes, or support for Python versions beyond 3.9—the last release was 2021-09-10 with no commits since…
structlog is a structured logging library that lets you emit logs as dictionaries with flexible output formats (JSON, logfmt, console) and integrates with Python's standard logging or runs standalone.
Install it if your application needs JSON or logfmt output, or if you want to add rich context to logs without string formatting.
Configures structlog to output logs in Google Cloud Logging JSON format, with automatic error reporting and context variable support.
Adds structlog processors that format log output with syntax highlighting, JSON/XML prettification, multiline string handling, and numeric rounding for more readable structured logs.
Bridges structlog and Sentry to automatically capture structured logs as Sentry events and breadcrumbs, with configurable thresholds and filtering.
Formats and displays graphs and large integer lists as readable terminal output with customizable layout, coloring, and zoom options.
Parses string-formatted tables (with pipe-delimited columns and headers) into Python dictionaries accessible by row or by column.
However, the abandoned maintenance status means no bug fixes or Python version updates will arrive—install only if you can tolerate a static dependency.
Provides a context-manager syntax for temporarily replacing function behavior with stub implementations that match specified conditions, reverting after the block exits.
STUMPY computes the matrix profile for time series data, enabling pattern discovery, anomaly detection, and other time series mining tasks through efficient algorithms optimized with Numba.
Install it if you need matrix profile computation or the downstream mining tasks it enables; skip it if your time series work is limited to forecasting or simple…
Provides shared command-line interface utilities and configuration helpers for STUPS tools, handling CLI argument parsing, YAML configuration, and network operations.
Manages OAuth 2.0 access tokens in memory, automatically refreshing expired tokens and optionally reading them from files or environment variables.
Zign is a command-line utility for OAuth2 token management, enabling you to obtain and manage tokens for use in automated workflows and scripts.
Sty provides a simple, customizable string styling markup for terminal output, supporting 3/4bit, 8bit, and 24bit colors plus effects like bold, italic, and underline, with no external dependencies.
Applies ANSI color and text styling to terminal output using a chainable API inspired by the JavaScript chalk package.
Bridges Python code to the Stylus CSS compiler, allowing you to compile Stylus stylesheets from Python by invoking the external Stylus library through Node.js.
A Python client library for integrating Stytch's authentication and user infrastructure API into applications, supporting email magic links, OAuth, SMS/WhatsApp passcodes, WebAuthn, sessions, and B2B organization management.
Install it if you are building on Stytch's platform and need a typed, well-documented Python client for B2C or B2B authentication flows.
Adds multi-agent delegation to Pydantic AI agents, letting you spawn and coordinate specialist subagents that run synchronously, asynchronously, or in auto-selected mode with built-in token tracking and task cancellation.
Interact with Subaru's MySubaru Connected Services API to retrieve vehicle status and control remote features like locks, horn, lights, and engine start on supported vehicles.
Subliminal downloads subtitles for video files from multiple online providers, available as both a command-line tool and a Python library.
Install it if you regularly need to download subtitles for video files.
Submitit wraps Slurm job submission and monitoring, letting you submit Python functions to a cluster and retrieve results, logs, and job status from within Python code.
Multiplexes subprocess stdout/stderr to multiple destinations simultaneously, letting you capture output to a pipe while also displaying it in real-time or logging to files.
Provides a simplified interface to run shell commands and capture their output, status, and error streams in Python.
A drop-in replacement for subprocess.run that captures output while printing it in real-time, similar to the Unix tee command.
Install it if you run subprocesses and want real-time feedback without losing the captured output.
A backport of Python 3's subprocess module to Python 2, with thread-safe fork/exec handling and timeout support for POSIX systems.
Wraps Python's subprocess module to simplify running external commands, capturing output, handling retries, and checking return codes.
Provides a Python interface to construct, manipulate, and serialize Substrait Plans—cross-language specifications for data compute operations—for consumption by engines like DuckDB or DataFusion.