Packages
Pygerrit2 is a client library for interacting with Gerrit Code Review's REST API, enabling programmatic access to Gerrit instances from Python.
However, verify compatibility with your Gerrit version and Python release before adopting, and be prepared to maintain a fork if upstream does not respond to issues.
PyGetWindow provides functions to query, identify, and control application windows on Windows, macOS, and X11 systems—retrieving window objects by title or screen position, and manipulating their state, size, and position.
Pygexf writes network graph data to GEXF (Graph Exchange XML Format) files, enabling export of graph structures for use in network analysis and visualization tools.
PyGhidra provides native CPython 3 access to the Ghidra reverse-engineering API, enabling programmatic binary analysis and manipulation through Python instead of Java or GhidraScript.
Install it if you need to programmatically interact with Ghidra from Python or integrate Ghidra analysis into larger workflows.
Pyghmi provides Python bindings for IPMI (Intelligent Platform Management Interface) and other hardware management protocols, enabling remote management and monitoring of servers and systems.
Not recommended for new projects requiring ongoing security updates or modern Python support.
pygit2 provides Python bindings to libgit2, enabling direct programmatic access to Git repository operations at the plumbing level without shelling out to the git command-line tool.
API client library for GitGuardian's secret detection service, enabling detection of over 200 types of secrets and security vulnerabilities in text content.
Install it if you need to integrate GitGuardian's secret detection into Python workflows—it's the official client and used by GitGuardian Shield itself.
PyGithub provides Python access to the GitHub REST API, letting you programmatically manage repositories, user profiles, organizations, and other GitHub resources.
Install it if you need to interact with GitHub programmatically.
pyglet is a cross-platform windowing and multimedia library for Python that provides graphics, input handling, and audio/video playback for games and visually rich applications.
However, verify the license terms for your use case, and be aware that version 3.0 is coming soon with potential API changes if you use OpenGL directly.
PyGLM provides Python bindings to OpenGL Mathematics (GLM), a C++ library for vector and matrix operations commonly used in graphics programming, physics simulations, and 3D applications.
PyGlove provides symbolic object-oriented programming for Python, enabling direct manipulation of Python objects and programs through a mutable symbolic model with built-in search and iteration primitives.
Install it if you need to search over program variants, explore hyperparameters systematically, or build flexible ML code that evolves.
pygls is a Python framework for building Language Servers that implement the Language Server Protocol, enabling editors and IDEs to provide code completion, diagnostics, and other language-aware features.
Install it if you are building or extending a language server; skip it if you only need to use an existing language server.
Reads, writes, and manipulates GLTF and GLB 3D model files with full support for the GLTF v2 specification, including materials, animations, and extensions.
Pygmars builds lightweight lexers and parsers using regular expressions, transforming text into labeled tokens and parse trees. It integrates with Pygments lexers to enable grammar-based parsing of many programming languages.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Provides a curated collection of Pygments syntax-highlighting color schemes based on VS Code themes for use in documentation and code display tools.
pygmsh provides a Python interface to Gmsh, a mesh generation tool, allowing you to define 2D and 3D geometries and generate unstructured meshes from them.
However, maintenance is dormant—the last release was 2022-01-28.
Pure Python gNMI client for querying and configuring network devices via gRPC, supporting capabilities, get, set, and subscribe operations across multiple network operating systems.
However, the 522-day release gap suggests it is no longer actively maintained—suitable for stable deployments but not for projects requiring active bug fixes or new…
Provides pure Python implementations of GNU utility commands (like `ls`) that can be used as CLI tools or imported as libraries with dependency injection support.
However, the dormant maintenance status (no updates since May 2023) means you should verify that the utilities you need are already implemented and that you're…
PyGObject provides Python bindings for GObject-based libraries such as GTK, GStreamer, WebKitGTK, GLib, and GIO, enabling Python developers to build graphical and multimedia applications.
Pygount counts source lines of code (SLOC) across multiple programming languages by scanning folders or remote git repositories, using pygments for language detection.
Install it if you need to measure code volume across multiple languages or integrate SLOC reporting into your build pipeline.
Capture photos and video from Windows cameras using DirectShow, enumerate connected devices, and configure camera settings from Python.
However, the dormant maintenance status (last update 2023-10-20) means no active support; install only if you can tolerate unfixed bugs or are confident the package…
PyGraphviz provides a Python interface to Graphviz, enabling you to create, edit, read, write, and draw graphs using Graphviz's layout algorithms and visualization engine.
PyGreSQL is a Python interface to PostgreSQL databases that wraps the libpq C API, allowing direct database connections and queries from Python code.
Reads and writes GRIB meteorological data files via a Python interface to the ECMWF ECCODES C library, with limited write support for modifying existing files.
PyGrinder introduces missing values into datasets using multiple patterns (MCAR, MAR, MNAR, RDO, sequential, block) to simulate incomplete data for model evaluation and testing.
Install it if you work with time-series data or incomplete observations in model development or research.
Parses strings and extracts structured data using Grok patterns, a named-capture syntax that simplifies pattern matching without writing complex regular expressions.
pygsheets provides a Python interface to Google Sheets via the Google Sheets API v4, letting you open, create, modify, and share spreadsheets programmatically with intuitive cell, worksheet, and spreadsheet objects.
However, be aware that updates are infrequent (last release 2022); if Google's API changes significantly or you need cutting-edge features, you may need to fork or…
Pygtail reads only the new lines from a log file since the last read, tracking position with an offset file and handling log rotation automatically.
pygtrie provides pure Python implementations of trie (prefix tree) data structures—Trie, CharTrie, StringTrie, and PrefixSet—that implement the mutable mapping interface for efficient prefix-based lookups and storage.
However, verify that the empty requires_python field doesn't mask compatibility issues with your Python version, and be aware that bug fixes or updates are unlikely…
Turns pandas DataFrames into interactive drag-and-drop visual exploration interfaces within Jupyter Notebooks, supporting chart creation, data cleaning, and filtering without coding.
Install it if you want to reduce boilerplate visualization code and enable non-technical stakeholders to explore data interactively; skip it only if you need…
PyHamcrest provides a framework for writing declarative matcher objects that enable flexible, readable assertions in unit tests and data validation scenarios.
Install it if you want more readable, maintainable test assertions.
pyHanko is a Python library for adding, validating, and managing digital signatures in PDF documents, supporting standards like PAdES and PKCS#11.
Validates X.509 certificate paths with support for revocation checks (CRL and OCSP), point-in-time validation, and policy constraints.
Fetches the latest Home Assistant version information from multiple sources via async HTTP requests.
Parses HCL (HashiCorp Configuration Language) files into Python dictionaries, providing load/loads/dumps functions similar to the json module.
However, do not use it for modern Terraform (which requires HCL2 support); maintenance is aging with the last release in 2023-09-01, so expect limited support for new…
A pure Python client library for connecting to and querying SAP HANA databases using the DBAPI 2.0 interface, supporting SQL execution, cursor operations, and LOB handling.
PyHDFE absorbs high-dimensional fixed effects from regression data using optimized algorithms, designed for integration into statistical projects rather than as a standalone regression interface.
Converts strings between case styles (snake_case, camelCase, etc.) via Python bindings to the Rust heck library.
However, do not use it if you require ongoing maintenance, bug fixes, or support for new Python versions beyond 3.7.
Reads HEIF/HEIC image files and exposes their decoded pixel data, metadata, and container structure through a Python interface to the libheif C library.