$npx skillfedfor your agent

pynvml

Python utilities for the NVIDIA Management Library

SkipPyPI Python ModulesReleased Sep 20253.5M downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pynvml-13.0.1-py3-none-any.whl
v13.0.1 · released 2025-09-05 · Python >=3.9 · 1 runtime deps: nvidia-ml-py

No. The package is explicitly deprecated and unmaintained as of version 13.0.1. The project's own documentation warns it is for demonstration only and recommends migrating directly to nvidia-ml-py. Unless you are maintaining legacy code that already depends on it, use nvidia-ml-py instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires NVIDIA GPU drivers and nvidia-ml-py (>=12.0.0) to be installed; NVML library must be accessible on the system.
  • Low install friction with a single pure-Python dependency.
  • However, the package is explicitly deprecated as of version 13.0.1 and marked as inactive; maintenance is not guaranteed.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive and imposes no significant restrictions on use or redistribution.

last release 2025-09-05 (343 days) · last repo commit 2025-09-05 · 275 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,491,659 downloads/mo, #2,603 on PyPI

Verify before relying

pip install pynvml
from pynvml_utils import nvidia_smi
nvsmi = nvidia_smi.getInstance()
result = nvsmi.DeviceQuery('memory.free, memory.total')
  • Whether the deprecated status means the package will receive security updates or bug fixes in the future.
  • Compatibility with specific NVIDIA driver versions or CUDA versions beyond the stated dependency on nvidia-ml-py>=12.0.0.
Same gist for agents: .md · .json

What it is and what it does

pynvml is a deprecated Python utility wrapper around NVIDIA's Management Library (NVML) that lets you query GPU device information programmatically. It depends on the official nvidia-ml-py bindings and exposes utilities that mimic the command-line nvidia-smi tool, allowing you to retrieve GPU memory, utilization, and other hardware metrics. The package is no longer actively maintained and is marked for deprecation; the project explicitly recommends using nvidia-ml-py directly instead.

The main entry point provides a DeviceQuery method that accepts filter strings matching nvidia-smi's query API. It is intended for demonstration and monitoring tasks rather than production use, and there is no guarantee of long-term support or maintenance.

Use it for

  • Monitor available GPU memory and total memory capacity on a system during development or testing.
  • Query GPU device properties and utilization metrics in a Python script without shelling out to nvidia-smi.
  • Prototype GPU monitoring or resource-tracking tools before committing to a maintained library.
  • Retrieve structured GPU information for logging or diagnostic purposes in legacy codebases.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is explicitly deprecated and unmaintained as of version 13.0.1. The project's own documentation warns it is for demonstration only and recommends migrating directly to nvidia-ml-py. Unless you are maintaining legacy code that already depends on it, use nvidia-ml-py instead.

Install

pynvml on PyPI

Before you install

Low install friction with a single pure-Python dependency. However, the package is explicitly deprecated as of version 13.0.1 and marked as inactive; maintenance is not guaranteed.

Requires NVIDIA GPU drivers and nvidia-ml-py (>=12.0.0) to be installed; NVML library must be accessible on the system.

License in practice

BSD-3-Clause is permissive and imposes no significant restrictions on use or redistribution.

Quickstart

pip install pynvml
from pynvml_utils import nvidia_smi
nvsmi = nvidia_smi.getInstance()
result = nvsmi.DeviceQuery('memory.free, memory.total')

Verify before relying

  • Whether the deprecated status means the package will receive security updates or bug fixes in the future.
  • Compatibility with specific NVIDIA driver versions or CUDA versions beyond the stated dependency on nvidia-ml-py>=12.0.0.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
nvidia-ml-py
MaintenanceAging 343 days since the last release
Last repo commit
First released
Downloads3,491,659 / month, #2,603 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: HardwareTopic :: System :: Systems Administration

Evidence: pynvml-13.0.1-py3-none-any.whl

Tags

Capabilities
nvidia gpu monitoring pythonnvml python bindingsgpu device querynvidia-smi python wrappergpu memory monitoringnvidia management librarygpu information retrieval
Topics
gpu-monitoringdeprecatednvidia

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “nvidia gpu monitoring python”

  • pynvmlProvides Python utilities for querying NVIDIA GPU device information…
  • nvidia-ml-py3Provides Python bindings to NVIDIA's Management Library (NVML) for…
  • gpustatDisplays real-time NVIDIA GPU status, memory usage, temperature, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also nvidia-ml-py · py3nvml · nvidia-ml-py3 · GPUtil · nvitop · nvgpu · nvidia-curand-cu11 · nvidia-cuda-runtime-cu11 · nvidia-nvvm · nvidia-cuda-nvrtc

Further reading