{"id":32178526,"url":"https://github.com/gpuopenanalytics/pynvml","last_synced_at":"2025-10-21T20:57:20.965Z","repository":{"id":36518071,"uuid":"175095301","full_name":"gpuopenanalytics/pynvml","owner":"gpuopenanalytics","description":"Provide Python access to the NVML library for GPU diagnostics","archived":false,"fork":false,"pushed_at":"2025-09-05T20:32:15.000Z","size":293,"stargazers_count":248,"open_issues_count":22,"forks_count":34,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-10-21T20:57:13.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gpuopenanalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-11T22:45:21.000Z","updated_at":"2025-10-02T07:05:58.000Z","dependencies_parsed_at":"2024-01-13T17:15:47.078Z","dependency_job_id":"f96152f3-206a-4872-b5b5-4011f97fd55b","html_url":"https://github.com/gpuopenanalytics/pynvml","commit_stats":{"total_commits":48,"total_committers":10,"mean_commits":4.8,"dds":0.6666666666666667,"last_synced_commit":"43a7803c42358a87e765bb66373f3ae536d589a3"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/gpuopenanalytics/pynvml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpuopenanalytics%2Fpynvml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpuopenanalytics%2Fpynvml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpuopenanalytics%2Fpynvml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpuopenanalytics%2Fpynvml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gpuopenanalytics","download_url":"https://codeload.github.com/gpuopenanalytics/pynvml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gpuopenanalytics%2Fpynvml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280333501,"owners_count":26312845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-21T20:57:18.049Z","updated_at":"2025-10-21T20:57:20.960Z","avatar_url":"https://github.com/gpuopenanalytics.png","language":"Python","funding_links":[],"categories":["GPU specific"],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e \n\u003e **This project has been deprecated.**\n\u003e\n\u003e **The `pynvml` module is NOT developed or maintained in this project!**\n\u003e \n\u003e This project provides unofficial NVML Python utilities (i.e. the `pynvml_utils` module).\n\u003e The `pynvml_utils` module is intended for demonstration purposes only.\n\u003e There is no guarantee for long-term maintenence or support.\n\u003e\n\u003e The `pynvml_utils` module depends on the official NVML bindings\n\u003e published by NVIDIA under a different `nvidia-ml-py` project\n\u003e (see: https://pypi.org/project/nvidia-ml-py/).\n\u003e\n\n\nPython utilities for the NVIDIA Management Library\n===============================================================\n\nThis project provides unofficial Python utilities for the\nNVIDIA Management Library (NVML).\n\nFor information about the NVML library, see the NVML developer page\nhttp://developer.nvidia.com/nvidia-management-library-nvml\n\n\nRequires\n--------\n`nvidia-ml-py`.\n\n\nInstallation\n------------\n\n    pip install .\n\nUsage\n-----\n\nBindings for the high-level `nvidia-smi` API are available\nin `pynvml_utils.nvidia_smi`:\n\n\u003e [!WARNING]\n\u003e The `nvidia_smi` module is intended for demonstration purposes only.\n\u003e There is no guarantee for long-term maintenence or support.\n\n```python\nfrom pynvml_utils import nvidia_smi\nnvsmi = nvidia_smi.getInstance()\nnvsmi.DeviceQuery('memory.free, memory.total')\n```\n\n```python\nfrom pynvml_utils import nvidia_smi\nnvsmi = nvidia_smi.getInstance()\nprint(nvsmi.DeviceQuery('--help-query-gpu'), end='\\n')\n```\n\nRelease Notes\n-------------\n\n-   Version 13.0.1\n    - Both pynvml and pynvml_utils are now deprecated.\n    - Pin to nvidia-ml-py\u003e=12.0.0\n\n\nOld Releases\n------------\n\n-   Version 2.285.0\n    - Added new functions for NVML 2.285.  See NVML documentation for more information.\n    - Ported to support Python 3.0 and Python 2.0 syntax.\n    - Added nvidia_smi.py tool as a sample app.\n-   Version 3.295.0\n    - Added new functions for NVML 3.295.  See NVML documentation for more information.\n    - Updated nvidia_smi.py tool\n      - Includes additional error handling\n-   Version 4.304.0\n    - Added new functions for NVML 4.304.  See NVML documentation for more information.\n    - Updated nvidia_smi.py tool\n-   Version 4.304.3\n    - Fixing nvmlUnitGetDeviceCount bug\n-   Version 5.319.0\n    - Added new functions for NVML 5.319.  See NVML documentation for more information.\n-   Version 6.340.0\n    - Added new functions for NVML 6.340.  See NVML documentation for more information.\n-   Version 7.346.0\n    - Added new functions for NVML 7.346.  See NVML documentation for more information.\n-   Version 7.352.0\n    - Added new functions for NVML 7.352.  See NVML documentation for more information.\n-   Version 8.0.0\n    - Refactor code to a nvidia_smi singleton class\n    - Added DeviceQuery that returns a dictionary of (name, value).\n    - Added filter parameters on DeviceQuery to match query api in nvidia-smi\n    - Added filter parameters on XmlDeviceQuery to match query api in nvidia-smi\n    - Added integer enumeration for filter strings to reduce overhead for performance monitoring.\n    - Added loop(filter) method with async and callback support\n-   Version 8.0.1\n    - Restructuring directories into two packages (pynvml and nvidia_smi)\n    - Adding initial tests for both packages\n    - Some name-convention cleanup in pynvml\n-   Version 8.0.2\n    - Added NVLink function wrappers for pynvml module\n-   Version 8.0.3\n    - Added versioneer\n    - Fixed nvmlDeviceGetNvLinkUtilizationCounter bug\n-   Version 8.0.4\n    - Added nvmlDeviceGetTotalEnergyConsumption\n    - Added notes about NVML permissions\n    - Fixed version-check testing\n-   Version 11.0.0\n    - Updated nvml.py to CUDA 11\n    - Updated smi.py DeviceQuery to R460\n    - Aligned nvml.py with latest nvidia-ml-py deployment\n-   Version 11.4.0\n    - Updated nvml.py to CUDA 11.4\n    - Updated smi.py NVML_BRAND_NAMES\n    - Aligned nvml.py with latest nvidia-ml-py deployment (11.495.46)\n-   Version 11.4.1\n    - Fix comma bugs in nvml.py\n-   Version 11.5.0\n    - Updated nvml.py to support CUDA 11.5 and CUDA 12\n    - Aligned with latest nvidia-ml-py deployment (11.525.84)\n-   Version 11.5.2\n    - Relocated smi bindings to new pynvml_utils module\n    - Updated README to encourage migration to nvidia-ml-py\n-   Version 11.5.3\n    - Update versioneer\n-   Version 12.0.0\n    - Remove pynvml module and depend on nvidia-ml-py instead\n    - Pin to nvidia-ml-py\u003e=12.0.0,\u003c13.0.0a0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopenanalytics%2Fpynvml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgpuopenanalytics%2Fpynvml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgpuopenanalytics%2Fpynvml/lists"}