Packages
Converts PDF files to PIL Image objects by wrapping the pdftoppm and pdftocairo command-line tools, returning a list of images representing each page.
Encodes text and binary data into PDF417 2D barcodes and renders them as images or SVG files.
Install it if you need to generate PDF417 barcodes; the API is simple and the output formats cover most use cases.
Analyzes PDF files to identify potentially malicious content by examining structural characteristics and embedded objects, usable both as a command-line tool and as a Python library.
Python wrapper for wkhtmltopdf that converts HTML to PDF using the Webkit rendering engine, supporting URLs, files, and HTML strings as input.
Extracts text and layout information from PDF documents, including font details, positions, and structure, with support for encrypted PDFs and multiple output formats.
No—not recommended for new projects.
Extracts text, images, and layout information from PDF documents by parsing the PDF source code directly, supporting modern PDF specifications and various encodings.
Extract detailed information about text characters, rectangles, lines, and tables from machine-generated PDFs, with visual debugging support.
Not recommended for scanned image-based PDFs.
pdfrw reads, writes, and manipulates PDF files in pure Python, supporting operations like merging, subsetting, rotating, and metadata modification without external dependencies.
pdfrw2 reads, writes, and manipulates PDF files with operations including page subsetting, merging, rotating, metadata modification, and watermarking.
However, be cautious: the package is abandoned (last commit 2022-11-09), so it may not handle modern PDF features or newly discovered edge cases.
Client library for Adobe PDF Services API, enabling programmatic creation, conversion, manipulation, and extraction of PDFs through REST endpoints.
Extracts plain text or structured blocks, lines, and spans from PDFs via a command-line tool or Python API, built on pypdfium2 with Apache licensing.
Extracts text from PDF files, including password-protected documents, and exposes pages as iterable strings or a joined text block.
PDM is a modern Python package and dependency manager that handles project metadata, dependency resolution, virtual environment management, and PEP 517 build backend support using standardized pyproject.toml files.
A PEP 517-compliant build backend that reads PEP 621 project metadata and converts it to standard Python package metadata, usable standalone or as PDM's default builder.
Install it if your project uses PDM or if you want a lightweight PEP 517-compliant builder that reads PEP 621 metadata.
A pdm plugin that includes locked dependency versions as optional dependency groups in package distribution metadata, enabling reproducible installations from published packages.
However, the aging maintenance status (257 days since last release) means you should verify compatibility with your pdm version and be prepared for potential drift if…
A PEP 517 build backend that reads PEP 621 project metadata from pyproject.toml and converts it to wheel and source distributions, with support for dynamic versioning and custom build scripts.
pdoc generates API documentation for Python projects by parsing source code and docstrings into standalone HTML, with a built-in web server and live reloading.
Install it if you need quick, zero-configuration HTML documentation from Python docstrings and type hints.
Generates API documentation for Python 3+ projects automatically from source code and docstrings, supporting multiple docstring formats and type annotations.
A REST API client library for PagerDuty that wraps the Requests Session class to simplify authentication and API interactions with PagerDuty's services.
PeakRDL is a control and status register (CSR) generator toolchain that processes SystemRDL register descriptions and generates synthesizable SystemVerilog RTL, C register headers, HTML documentation, UVM models, and IP-XACT exports.
Install it if your workflow involves SystemRDL or register automation.
Generates C header files from SystemRDL register models, converting hardware register specifications into C code suitable for software development.
Install it if you work with SystemRDL register models and need C headers.
PeakRDL is a command-line tool that generates register abstraction code and documentation from SystemRDL register descriptions, producing synthesizable SystemVerilog RTL, C headers, HTML docs, and UVM models.
Generates HTML documentation for register address spaces from compiled SystemRDL register descriptions, converting hardware register models into browsable web documentation.
Install it if you work with SystemRDL register models and need to generate documentation.
Converts between SystemRDL register descriptions and IP-XACT XML format, enabling import and export workflows for hardware register modeling.
Generates a Python Register Access Layer (RAL) from SystemRDL specifications, enabling programmatic access to hardware registers through Python classes and a built-in simulator.
Compiles SystemRDL register descriptions into synthesizable SystemVerilog control/status register (CSR) blocks for hardware design.
Exports a compiled register model into SystemRDL code, enabling conversion from other file formats like IP-XACT to SystemRDL representation.
Generates UVM (Universal Verification Methodology) register models in SystemVerilog from compiled SystemRDL register descriptions, enabling automated hardware verification testbench creation.
PeakUtils detects peaks in 1D data and refines their positions through baseline estimation, Gaussian fitting, and centroid computation.
However, verify compatibility with your current numpy and scipy versions, and consider whether the library's Gaussian and centroid methods suit your data.
Pebble provides decorators and pool abstractions to run functions in separate threads or processes, with timeout and error handling support.
Install it if you need decorator-based thread or process management with timeout support; skip it if you need only basic threading or if your project cannot accept…
Pecan is a WSGI web framework that routes HTTP requests to Python objects based on URL structure, designed to be lightweight with minimal dependencies.
Not recommended if you need a large ecosystem of third-party extensions or prefer convention-over-configuration frameworks like Flask or Django.
A Python library for querying the PECO outage map API to retrieve current outage data and statistics.
However, the 564-day release gap and aging maintenance status mean you should verify the PECO API endpoint is still stable and plan to maintain a fork if the upstream…
pedalboard reads, writes, and processes audio files with built-in effects like reverb, distortion, and equalization, plus support for loading VST3 and Audio Unit plugins.
A Python client library for querying and working with PeeringDB data, providing programmatic access to internet peering information including ASNs, networks, and exchange points.
Install it if you work with BGP, peering infrastructure, or need to query internet exchange data.
Peewee is a lightweight ORM that maps Python classes to database tables and provides a query builder for SQLite, MySQL, MariaDB, and PostgreSQL, with optional asyncio support.
Peewee Migrate provides a command-line and programmatic interface for creating, running, and rolling back database migrations for Peewee ORM applications.
Install it if you need reliable schema versioning for a Peewee application.
pefile reads and parses Portable Executable (PE) files—the binary format used for Windows executables, DLLs, and related binaries—exposing their internal structures as Python object attributes.
Install it if you need to analyze or inspect Windows executables programmatically.
PEFT implements parameter-efficient fine-tuning methods (LoRA, QLoRA, and others) that adapt large pretrained language models by training only a small fraction of parameters instead of all weights, dramatically reducing memory and compute requirements.
Install it if you need to adapt pretrained models efficiently; skip it only if you are doing full-model training or not fine-tuning at all.
A command-line tool for managing SaaS Pegasus projects, creating Django apps with optional CRUD scaffolding, and pushing code to GitHub—all scriptable and non-interactive for CI and automation workflows.
It is not useful outside the Pegasus ecosystem, so install only if you are already a Pegasus user.
Pelican is a static site generator that converts text files in Markdown, reStructuredText, or HTML into a complete, ready-to-serve website without requiring a database or server-side code.