Packages
Paramiko Expect adds expect-like pattern matching and interaction to Paramiko SSH connections, letting you script interactive terminal sessions over SSH with command sending, output capture, and prompt-based flow control.
However, it is abandoned—the repository is archived and the last release was in 2022.
Computes the Pareto (non-dominated) set from multi-dimensional data, identifying points that are not worse than any other point across all objectives.
Install it if your workflow involves skyline queries or Pareto front extraction.
Parfive downloads multiple files in parallel using asyncio, with a synchronous API that handles concurrent downloads and per-file chunking.
Reads Apache Parquet files in pure Python and outputs data as JSON or TSV via a command-line tool or programmatic reader interface.
Parquet-metadata is a command-line tool that reads and displays structural and statistical metadata from Parquet files, including row group information, column types, compression settings, and value statistics.
Command-line tool to read, inspect, and export Parquet files from local disk or Amazon S3, displaying schema, metadata, and tabular data.
However, dormant maintenance means no bug fixes or feature updates are coming; if you need active support or encounter issues, you may need to fork or switch to…
Parse strings using format-string-like patterns to extract structured data, reversing the operation of Python's format() function.
Install it if you need to reverse format() operations or prefer format-string patterns over regex for text extraction.
Wraps parse and validation errors from JSON, TOML, and YAML files to include filename, line number, and column in the exception, making it easier to report precise error locations to users.
Install it if error reporting quality matters in your use case.
Extends the parse module with type converters that handle enumerations, choices, cardinality constraints (optional, many, many-or-more), and variant types for structured text parsing.
However, note the aging maintenance status (368 days since last release)—verify compatibility with your current parse module version and Python release before…
Parses human-readable date and time strings (like "tomorrow" or "next Friday") into structured time values and Python datetime objects.
Parses DMARC, TLS-RPT, and related email authentication reports from multiple sources (IMAP, Microsoft Graph, Gmail API) and exports results to JSON, CSV, Elasticsearch, OpenSearch, Splunk, PostgreSQL, Kafka, S3, Azure, Graylog, syslog, or HTTP webhooks.
Install it if you manage email domains and need structured DMARC analytics.
Parsel extracts data from HTML, JSON, and XML documents using CSS selectors, XPath expressions, JMESPath queries, and regular expressions.
Install it if you need to extract data from HTML, XML, or JSON documents in a Python application.
Parsimonious is a pure-Python PEG (parsing expression grammar) parser that builds abstract syntax trees from text according to grammar rules you define, with no external lexer or parser generator required.
Parsley is a PEG-based parsing library that compiles grammar rules into Python classes, letting you define parsers using a readable pattern-matching syntax instead of state machine tables.
Parso is a Python parser that recovers from syntax errors and parses code across multiple Python versions, returning an analyzable syntax tree and reporting multiple errors in a single pass.
Install it if you need to parse Python code programmatically, especially when error recovery or multi-version support matters.
Parsy is a parser combinator library that lets you build complex text parsers by combining small, reusable parser functions together in a declarative style.
Install it if you need to parse structured text and prefer a functional, composable approach over regex or hand-rolled parsing logic.
Partd is a key-value byte store that appends values to existing keys and retrieves them, with support for multiple backends (in-memory, file-based, buffered, or remote) and optional compression or encoding layers.
However, dormant maintenance (last release May 2024, minimal recent activity) means it is best suited to stable, well-tested scenarios rather than active feature…
Parses incomplete JSON strings generated by LLM streaming, extracting usable data before the full response arrives, and can complete partial JSON to valid syntax.
Parses incomplete or malformed JSON strings into valid Python objects, handling truncated structures and optional JSON5 syntax extensions.
Provides a pythonic interface to Particle Data Group particle identification codes and properties, with lookup and search utilities for particle physics data.
Install it if you work with particle physics data or Monte Carlo event analysis.
parver parses and manipulates PEP 440 version numbers, allowing you to inspect version components, check pre-release status, and perform version bumping operations.
Install it if you need to parse or manipulate PEP 440 versions; the low friction and focused scope make it a straightforward choice for version-handling tasks.
Provides Sage categories, basic rings, polynomials, and mathematical functions as a modularized pip-installable component of the passagemath mathematical software system.
However, review the GPL-2.0-or-later copyleft license for your use case, and note that Windows support is incomplete without WSL.
Provides Python interfaces to the GAP computational algebra system through Cython-based libgap and Pexpect-based interactive access, bundled with GAP and a comprehensive set of GAP packages for group theory and related mathematics.
Provides a Python interface to libhomfly for computing Homfly polynomials of knots and links.
Provides a foundational object system, element/parent framework, categories, and coercion machinery as a standalone, pip-installable Python library.
Passlib provides a framework for hashing and verifying passwords using different algorithms, supporting both legacy hash verification and modern password security for multi-user applications.
Evaluates password strength and validates passwords against configurable policies using tests for length, character composition, entropy, and complexity scoring.
Paste provides WSGI middleware components for building web applications, including request/response utilities, authentication, sessions, error handling, and debugging tools.
PasteDeploy loads and configures WSGI applications and servers from URI-based configuration files, allowing you to compose web applications declaratively.
However, if you are starting a new project, verify whether your chosen web framework or deployment tool has a more modern alternative, as this package reflects older…
Pastel adds colored text output to terminal applications using predefined or custom styles, with automatic TTY detection and color disabling support.
However, do not use it for new projects or active development—it is unmaintained since 2020 and will not receive updates.
PasteScript is a command-line tool for creating Python package layouts and serving WSGI web applications with Paste Deploy configuration.
Parses and applies unified diff patches to files, with automatic correction of linefeeds, whitespace issues, and diff format variations across SVN, HG, and GIT.
Parses and applies unified diff patches to files, with automatic correction of linefeeds, whitespace issues, and diff prefixes.
Install it if you need to apply patches programmatically or embed patch logic without dependency overhead.
Provides a PyPI-packaged binary of patchelf, a utility for modifying the dynamic linker and RPATH of ELF executables.
Provides a Python wrapper that downloads and builds patchelf 0.11 for projects that need it as a build-time dependency, rather than relying on system package managers.
Patchright is an undetected fork of Playwright that automates Chromium-based browsers while evading bot-detection systems. It works as a drop-in replacement for Playwright's sync and async APIs.
However, install it only if standard Playwright fails due to detection—anti-detection techniques are inherently fragile and may break as detection systems evolve.
Patchwork provides idempotent Unix system administration primitives—such as package installation and user account creation—built on top of Fabric for remote execution over SSH.
Patchy modifies Python functions at runtime by replacing their code objects with patched versions, using standard unified diff format to specify changes while keeping the function object itself intact.
However, consider whether a fork, a pull request to the upstream project, or a simpler monkey patch would be more maintainable for your use case—patchy is best for…
Provides Path objects that wrap filesystem operations as methods, allowing direct invocation of file operations on path instances with a str-compatible interface.
Install it if you prefer method-based path operations and need str-compatible path objects for legacy APIs.
Provides Path objects that wrap filesystem operations as methods, letting you call chmod, walk, and glob directly on path instances rather than using os.path functions.