Packages
PyStan provides a Python interface to Stan for Bayesian statistical inference, with automatic caching of compiled models and posterior samples.
Python client library for querying and managing Stardog knowledge graph servers and Stardog Cloud instances.
Loads, validates, and reads configuration from multiple file formats into typed namespaces, with optional hot-reloading support.
PyStemmer provides word stemming algorithms for multiple languages, reducing words to their morphological base form to improve search and information retrieval.
Provides a Python API to communicate with STIEBEL ELTRON ISG web gateways over Modbus, enabling control of heat pumps and ventilation units.
Computes Short Term Objective Intelligibility (STOI) measures for speech signals, quantifying how intelligible degraded audio is compared to a clean reference.
However, verify compatibility with your Python version and confirm the codebase meets your performance needs, since the last release was 959 days ago.
Pyston is a performance-optimizing JIT compiler for Python that runs as a drop-in replacement for the standard Python interpreter, available in both a full CPython fork and a lightweight extension module.
Conditional yes for experimental evaluation; not recommended for production systems without thorough testing.
Automatically loads and enables Pyston, a performance-optimizing JIT for Python, when Python starts up, making it a drop-in way to speed up Python code without changing your interpreter.
However, verify the license terms before use, and note that the package has not been updated since September 2022.
PyStow provides a standardized way to store and retrieve application data files in a user's home directory, with built-in support for downloading and caching remote files.
Install it if your application downloads or caches files, or needs a standard place to store application data.
Pystray creates a system tray icon with an optional popup menu that works across Windows, macOS, and Linux using platform-specific backends.
pyStrich generates 1D and 2D barcodes (Code 39, Code 128, EAN-13, ITF-14, Data Matrix, QR Code, PDF417, Aztec) in PNG, SVG, EPS, DXF, and terminal formats using pure Python.
Install it if you need to generate barcodes in Python without external services or system dependencies (beyond pillow for PNG output).
PyStructurizr provides a Python DSL for defining C4 software architecture diagrams programmatically, with CLI tools to convert to Structurizr DSL, generate SVG output, and preview diagrams live in a browser.
However, proceed with caution: the package is in alpha, dormant since 2023, and has no known vulnerabilities but also no recent maintenance.
Pystyle provides terminal styling utilities for adding colors, fades, and text effects to CLI output.
No—not recommended for new projects.
pysubs2 loads, edits, and saves subtitle files in multiple formats including SubStation Alpha, SubRip, MicroDVD, MPL2, TMP, WebVTT, TTML, SAMI, and OpenAI Whisper captions, with a CLI tool for batch conversion and retiming.
Install it if you need to programmatically work with subtitles or build subtitle conversion and retiming tools.
Provides enhanced subclasses for Python builtins (str, list, dict) and common types (datetime, Enum, DataFrame, BeautifulSoup) with additional convenience methods and better string representations.
PySwarms implements particle swarm optimization (PSO) algorithms in Python, providing a high-level interface for solving optimization problems using swarm intelligence techniques.
However, be aware that the package is dormant—the latest release is from 2021-01-03, so compatibility with very recent Python or dependency versions is uncertain.
A Python library for controlling SwitchBee smart home devices over the network, supporting dimmers, shutters, switches, and timed power devices through an async API.
However, be aware that maintenance is dormant—no active support or updates are expected.
Async Python library to discover and control Switchbot IoT devices over Bluetooth Low Energy.
Pysylph provides Python bindings to sylph, enabling fast ANI (Average Nucleotide Identity) querying and taxonomic profiling of metagenomic samples against genome databases.
However, the 647-day gap since last release and dormant maintenance status mean you should verify that the current API meets your needs and be prepared to pin the…
PyTabKit provides scikit-learn interfaces to modern tabular machine learning models—including RealMLP, gradient boosted trees (XGB, LGBM, CatBoost), and TabR—with built-in hyperparameter optimization, cross-validation ensembling, and benchmarking utilities.
However, if your goal is production-grade best performance, the documentation explicitly recommends AutoGluon instead.
Converts tabular data into formatted tables for output in multiple text, binary, and application-specific formats including Markdown, HTML, CSV, JSON, Excel, LaTeX, and SQLite.
Install it if you need to generate formatted tables in any of its supported output formats; skip it only if your use case is limited to a single format where a…
Installs and wraps the standalone Tailwind CSS CLI as a pip package, letting you use Tailwind CSS without Node.js or npm.
PyTango exposes the complete Tango C++ API through Python, providing client and server interfaces for distributed control systems.
PyTapo is a Python library that communicates with Tapo IP cameras over the network, allowing you to retrieve camera information, control settings, and download recordings.
Install it if you own a Tapo camera and need to automate or integrate it into a larger system—but verify your camera model and firmware are supported, as…
pytd provides Python interfaces to Treasure Data's REST APIs, Presto query engine, and Plazma storage, enabling efficient read/write operations on large data volumes through pandas DataFrames.
Install it if you need to query Treasure Data or write pandas DataFrames to it; use td-client-python instead if you only need basic REST API operations.
PyTDC provides unified access to multimodal biomedical datasets, machine learning benchmarks, and state-of-the-art model weights for drug discovery and therapeutic AI research, with standardized training, evaluation, and inference endpoints.
A Python library that wraps the Telegram Bot API, providing both synchronous and asynchronous interfaces to build bots that send messages, handle user interactions, and manage Telegram chat operations.
However, the GPLv2 copyleft license requires that any application using it be open-source or compatible with GPL terms—a significant constraint for proprietary projects.
pyTenable provides a unified Python interface to Tenable's vulnerability management and security products, abstracting away differences between their individual APIs.
PyTensor is a Python library for defining, optimizing, and evaluating symbolic mathematical expressions on multi-dimensional arrays, with automatic differentiation and compilation to C, JAX, or Numba.
Install it if you're doing probabilistic programming, building custom optimized numerical pipelines, or need fine-grained control over computation graphs.
PyTensor-distributions provides a collection of probability distribution functions (pdf, cdf, ppf, logpdf, etc.) and statistical properties (mean, variance, entropy, etc.) implemented as PyTensor expressions for use in probabilistic computing.
However, the alpha status means the API and feature coverage may change; verify that the distributions and expressions you need are already implemented before…
Pyteomics provides Python tools for proteomics data analysis, including mass calculation, sequence manipulation, and access to MS/LC-MS data, FASTA databases, and search engine outputs.
Install it if you work with mass spectrometry data, peptide sequences, or proteomics search results in Python.
Pytesseract wraps Google's Tesseract-OCR engine to extract text from images in Python, supporting multiple languages and output formats including plain text, bounding boxes, PDFs, and HOCR.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
A pytest plugin that automatically runs async test functions and fixtures without requiring special markers, supporting asyncio, trio, and curio backends.
Install it if you need to test async Python code with pytest and want to avoid boilerplate or test across multiple async backends.
Pytest plugin that provides fixtures for testing aiohttp applications with async test support, handling server and client creation plus automatic resource cleanup.
A pytest plugin that runs built-in and custom tests against alembic database migrations to catch common issues like missing migrations, merge conflicts, and data-loss bugs.
A pytest plugin that integrates Ansible into test functions, allowing you to call Ansible modules and iterate over inventory hosts directly from pytest tests.
However, no for new projects: the maintainers recommend using plain pytest with parametrize and subprocess helpers (documented in the package), or Molecule for…
Clears functools.lru_cache between pytest test runs to prevent test pollution from cached values persisting across tests.
Pytest-archon lets you define and test architectural boundaries in Python projects by specifying which modules can import from which others, catching circular dependencies and enforcing structure through test rules.
A pytest plugin that generates and compares numpy arrays (and related objects like pandas DataFrames) produced during tests against stored reference files, with support for text, FITS, and HDF5 formats.