{"id":27106479,"url":"https://github.com/jcbritobr/pasnvml","last_synced_at":"2026-01-30T14:18:02.534Z","repository":{"id":53605952,"uuid":"350057729","full_name":"jcbritobr/pasnvml","owner":"jcbritobr","description":"Nvml( nvidia monitoring library) wrapper for object pascal.","archived":false,"fork":false,"pushed_at":"2021-03-21T17:05:45.000Z","size":11049,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T13:05:38.899Z","etag":null,"topics":["freepascal","lazarus-ide","nvidia-gpu","nvidia-smi","nvml","pascal-language"],"latest_commit_sha":null,"homepage":"","language":"Pascal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcbritobr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-21T16:40:29.000Z","updated_at":"2023-08-05T15:01:12.000Z","dependencies_parsed_at":"2022-09-19T06:01:17.913Z","dependency_job_id":null,"html_url":"https://github.com/jcbritobr/pasnvml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcbritobr/pasnvml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fpasnvml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fpasnvml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fpasnvml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fpasnvml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbritobr","download_url":"https://codeload.github.com/jcbritobr/pasnvml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbritobr%2Fpasnvml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28913993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["freepascal","lazarus-ide","nvidia-gpu","nvidia-smi","nvml","pascal-language"],"created_at":"2025-04-06T19:56:04.335Z","updated_at":"2026-01-30T14:18:02.515Z","avatar_url":"https://github.com/jcbritobr.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![](thumbs/nvml-csharp.png)\n\n### The nvidia monitoring library object pascal wrapper. Please, read the [documentation](https://docs.nvidia.com/deploy/nvml-api/nvml-api-reference.html#nvml-api-reference) for better understand what is nvml.\n\n* Example on how to get nvidia driver version\n```pascal\nvar\n  version: Ansistring;\nbegin\n  try\n    NvInitV2;\n    version := NvSystemGetDriverVersion;\n    if Length(version) = 0 then\n    begin\n      raise ENvSystemException.Create('Something may fail acquiring driver version. Length is zero');\n    end;\n    NvShutDown;\n  except\n    on E: ENvSystemException do\n    begin\n      NvShutDown;\n      Fail(e.Message);\n    end;\n  end;\n```\n\n* Example on how to retrieve gpu temperature\n```pascal\nvar\n  device: NvHandle;\n  temp: Cardinal;\nbegin\n  try\n    NvInitV2;\n    device := NvDeviceGetHandleByIndexV2(0);\n    temp := NvDeviceGetTemperature(device, nvTemperatureGpu);\n    NvShutDown;\n  except\n    On E: ENvSystemException do\n    begin\n      NvShutDown;\n      Fail(e.Message);\n    end;\n  end;\n\n```\n\n* The wrapper is in working status. Below we have a list of migrated modules\n- [x] Ititialization and Cleanup\n- [x] System Queries\n- [ ] Device Queries\n- [ ] Unit Queries\n- [ ] Unit Commands\n- [ ] Device Commands\n- [ ] Event Handling Methods\n- [ ] Error Reporting\n\n* Demo Project - There is also a [demo project(Monitor)](monitor/monitor.pas) that shows how to use nvml api.\n\n\n![csharp](thumbs/nvmonitor.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbritobr%2Fpasnvml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbritobr%2Fpasnvml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbritobr%2Fpasnvml/lists"}