Packages
PyMySQL is a pure-Python MySQL and MariaDB client library that implements the DB-API 2.0 standard, enabling Python applications to connect to and query MySQL or MariaDB databases without compiled extensions.
Install it if you are building a Python application that must connect to MySQL or MariaDB and prefer or require a pure-Python driver.
Provides distributed locking primitives backed by MySQL's GET_LOCK function, allowing multiple application instances to coordinate exclusive access to named resources through a shared MySQL database.
pymzml parses mzML mass spectrometry data files in Python, providing fast random access to spectra and tools for spectrum comparison and visualization.
Install it if you work with mass spectrometry data in proteomics or metabolomics; the core library is lightweight and optional features are available if needed.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
PynamoDB provides a Pythonic ORM-like interface to Amazon DynamoDB, simplifying table definition, querying, and data operations compared to the raw AWS API.
Install it if you're building on DynamoDB and want a cleaner API than raw boto3; skip it only if you need very low-level control or are already committed to a…
Provides typed attribute classes for PynamoDB that extend DynamoDB's native types with Python-native serialization for enums, timestamps, UUIDs, timedeltas, and composite keys.
However, verify the license status before committing to production use, and be aware that maintenance is aging—last release was March 2024 with no activity since then.
pynautobot is a Python API client library for Nautobot, providing programmatic access to network infrastructure data stored in a Nautobot instance via REST API calls.
Install it if you need to programmatically interact with a Nautobot instance; skip it if you don't have a Nautobot deployment or don't need API-level access to its data.
Pynetbox is a Python client library for querying and managing NetBox infrastructure data through its REST API, supporting both read and write operations with optional multithreading and filter validation.
Install it if you run NetBox and need to automate or integrate infrastructure data into Python workflows—it's the standard way to do so.
pyNetgear provides a Python API to communicate with Netgear routers via their SOAP interface, enabling you to query connected devices, manage traffic metrics, and control device access.
However, the dormant maintenance status (last update 2023-09-12) means you should verify compatibility with your specific router model and firmware before relying on…
pyngrok wraps the ngrok reverse-proxy binary and exposes it through a Python API, allowing you to programmatically open secure tunnels from public URLs to localhost.
Pynini compiles grammar rules into weighted finite-state transducers and related automata structures, enabling programmatic construction and application of complex linguistic transformations.
PyNiteFEA performs 3D elastic structural finite element analysis, including static analysis, modal analysis, P-Delta effects, and nonlinear pushover analysis for frame and plate structures.
Converts CSS stylesheets to inline styles in HTML documents, using BeautifulSoup and cssutils to embed external or embedded CSS directly into element attributes.
However, verify compatibility with your Python version and library versions before relying on it in production, and be prepared to fork or patch it if issues arise.
Parses and generates NMEA 0183 sentences from GPS and marine navigation devices, converting raw protocol strings into Python objects with accessible fields.
Install it if you need to parse or generate NMEA 0183 sentences from GPS or marine devices.
Parses and generates NMEA 0183 GPS/GNSS protocol messages, enabling Python applications to read and work with positioning data from GPS receivers and maritime devices.
Install it if you need to work with GPS/GNSS protocol data in Python; skip it only if you need support for Python versions below 3.10 or have no use for NMEA message…
PyNNDescent builds approximate nearest neighbor search indexes using nearest neighbor descent algorithms, supporting a wide variety of distance metrics for fast k-neighbor queries on high-dimensional data.
Provides Python bindings for nng (nanomsg next generation), enabling inter-process and network communication with support for multiple messaging patterns and async frameworks.
pynose is an updated test runner that extends unittest with automatic test discovery, flexible test selection, and output capture—fixing compatibility issues for modern Python versions.
Pynput lets you programmatically control and monitor mouse and keyboard input across Windows, macOS, and Linux from Python code.
Controls and monitors mouse and keyboard input devices across Windows, macOS, and Linux, allowing you to programmatically move the cursor, click, type, and listen for keyboard and mouse events.
Reads and writes NRRD (Nearly Raw Raster Data) files to and from numpy arrays in pure Python, enabling interchange of volumetric and medical imaging data.
Install it if you work with NRRD files in scientific or medical imaging contexts.
Pynvim is a Python client library that enables Python plugins for Neovim and allows scripting Neovim processes through its msgpack-rpc API.
Install it if you need to write Python plugins for Neovim, automate the editor from Python, or embed Neovim in a Python application.
Provides Python utilities for querying NVIDIA GPU device information through the NVIDIA Management Library (NVML).
PyNvVideoCodec provides hardware-accelerated video encoding, decoding, and transcoding on NVIDIA GPUs through Python APIs, supporting multiple codecs and output formats.
PyNWB provides a high-level Python API for reading, writing, and working with neurophysiology data stored in the NWB (Neurodata Without Borders) format, a unified standard for cellular-based neural recordings.
Install it if you work with neurophysiology data and need interoperability with the NWB ecosystem or plan to share data with other labs.
Asynchronously fetch weather observations, forecasts, and alerts from the National Weather Service (NWS/NOAA) API for a given location.
PyObjC bridges Python and Objective-C, enabling you to write full-featured macOS Cocoa applications in pure Python and access Objective-C frameworks from Python code.
PyObjC-core provides the foundational bridge layer that lets Python code call Objective-C APIs and frameworks on macOS, enabling direct interoperability with native libraries.
Provides Python bindings to macOS's Accessibility framework, enabling programmatic access to accessibility features and UI automation on macOS.
Provides Python bindings to macOS's Accounts framework, allowing Python code to access and interact with system account credentials and account management features on macOS.
Provides Python bindings to macOS's AddressBook framework, allowing programmatic access to the system's centralized contact database from Python code.
Provides Python bindings for Apple's AdServices framework on macOS 11.1 or later, enabling programmatic access to ad-related system functionality through PyObjC.
The main gotcha is that you must consult Apple's documentation separately—this is a thin binding, not a high-level abstraction.
Provides Python bindings to macOS's AdSupport framework, enabling access to advertising-related APIs on macOS 10.14 or later through PyObjC.
Install only if you are on macOS 10.14+ and actually need AdSupport functionality; it is not useful on other platforms.
Provides Python bindings to Apple's AppleScriptKit framework, enabling macOS applications to interact with AppleScript automation capabilities from Python code.
Provides Python bindings to Apple's AppleScriptObjC framework, enabling Python code to interact with AppleScript-based macOS application bundles through Objective-C.
However, it is a specialized tool with limited applicability—install only if you specifically need AppleScript integration on macOS.
Provides Python bindings to macOS ApplicationServices framework, enabling access to Core Text, HIServices, and PrintCore for text layout, font handling, and system services on macOS.
Provides Python bindings to macOS's AppTrackingTransparency framework, enabling apps to request user permission for app tracking and access tracking authorization status.
Install only if you are developing for macOS; it will not work on other platforms.
Provides Python bindings for Apple's ARKit framework on macOS, enabling augmented reality capabilities through Objective-C bridge access.
However, it is macOS-only, requires Python 3.10+, and offers no bundled documentation—you must cross-reference Apple's ARKit docs and PyObjC guides.
Provides Python bindings to macOS's AudioVideoBridging framework, enabling access to native audio and video bridging capabilities from Python on macOS.
Provides Python bindings to macOS's AuthenticationServices framework, enabling integration with native authentication and credential management APIs.