nvidia-ml-py3
Python Bindings for the NVIDIA Management Library
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2017-06-03) with no maintenance signal. While it has no known vulnerabilities and carries a permissive license, the high install friction combined with zero maintenance makes it a poor choice for new projects. Consider maintained alternatives or direct NVML bindings if you need GPU monitoring on modern systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires the NVIDIA Management Library (NVML) C library to be installed on the system; NVIDIA GPU drivers must be present and properly configured.
- High install friction: the package has been abandoned since its last release on 2017-06-03 with no maintenance activity.
- Installation requires the NVML C library to be present on the system, and the package itself carries no runtime dependencies to help bridge that gap.
License · maintenance · safety
BSD (permissive) — BSD license (permissive) places no restrictions on use, modification, or redistribution in proprietary or open-source contexts.
last release 2017-06-03 (3359 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 481,423 downloads/mo, #6,428 on PyPI
Alternatives
Verify before relying
pip install nvidia-ml-py3
from nvidia_ml_py3 import *
nvmlInit()
deviceCount = nvmlDeviceGetCount()
for i in range(deviceCount):
handle = nvmlDeviceGetHandleByIndex(i)
info = nvmlDeviceGetMemoryInfo(handle)
print(f"Device {i} free memory: {info.free}")
nvmlShutdown()- Whether the package actually works with modern Python versions despite being abandoned since 2017-06-03.
- Current compatibility with recent NVIDIA driver versions and NVML library versions.
- Whether ctypes-based bindings remain functional across different operating systems without maintenance.
What it is and what it does
nvidia-ml-py3 is a ctypes-based wrapper around NVIDIA's Management Library that exposes GPU monitoring and management functions to Python. It allows you to query device properties, memory usage, driver versions, and other GPU state without calling external commands. The package converts NVML C structs and function signatures into Python classes and methods, handling string buffers and error codes automatically.
The package has been unmaintained since 2017-06-03 and carries no runtime dependencies—it relies entirely on the system's NVML C library being present. While it is marked Production/Stable and carries a permissive BSD license, its age and lack of maintenance mean it may not work reliably with modern Python versions, recent NVIDIA drivers, or current NVML library versions without manual fixes.
Use it for
- Monitor GPU memory usage and availability on systems running NVIDIA GPUs for resource allocation decisions.
- Query driver version and GPU device names at startup to validate hardware configuration in GPU-accelerated applications.
- Build system administration tools that report GPU health and utilization without spawning external processes.
- Detect the number and type of available GPUs to automatically configure multi-GPU workloads.
- Log GPU state changes during long-running compute jobs for debugging and performance analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2017-06-03) with no maintenance signal. While it has no known vulnerabilities and carries a permissive license, the high install friction combined with zero maintenance makes it a poor choice for new projects. Consider maintained alternatives or direct NVML bindings if you need GPU monitoring on modern systems.
Install
nvidia-ml-py3 on PyPI
Before you install
High install friction: the package has been abandoned since its last release on 2017-06-03 with no maintenance activity. Installation requires the NVML C library to be present on the system, and the package itself carries no runtime dependencies to help bridge that gap.
Requires the NVIDIA Management Library (NVML) C library to be installed on the system; NVIDIA GPU drivers must be present and properly configured.
License in practice
BSD license (permissive) places no restrictions on use, modification, or redistribution in proprietary or open-source contexts.
Quickstart
pip install nvidia-ml-py3
from nvidia_ml_py3 import *
nvmlInit()
deviceCount = nvmlDeviceGetCount()
for i in range(deviceCount):
handle = nvmlDeviceGetHandleByIndex(i)
info = nvmlDeviceGetMemoryInfo(handle)
print(f"Device {i} free memory: {info.free}")
nvmlShutdown()
Verify before relying
- Whether the package actually works with modern Python versions despite being abandoned since 2017-06-03.
- Current compatibility with recent NVIDIA driver versions and NVML library versions.
- Whether ctypes-based bindings remain functional across different operating systems without maintenance.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,359 days since the last release |
| First released | |
| Downloads | 481,423 / month, #6,428 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: BSD LicenseOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: HardwareTopic :: System :: Systems Administration |
Evidence: nvidia-ml-py3-7.352.0.tar.gz
Tags
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 › “nvml python bindings”
- nvidia-ml-py3Provides Python bindings to NVIDIA's Management Library (NVML) for…
- nvidia-ml-pyPython wrapper around NVIDIA's Management Library that exposes GPU…
- py3nvmlProvides Python 3 bindings to query NVIDIA GPU state and manage GPU…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also nvidia-ml-py · py3nvml · pynvml · gpustat · nvitop · pycuda · GPUtil · cuda-python · cupti-python · nccl4py