{"id":33114045,"url":"https://nvidia.github.io/cuda-python/","last_synced_at":"2025-12-09T10:30:15.112Z","repository":{"id":43439277,"uuid":"381173759","full_name":"NVIDIA/cuda-python","owner":"NVIDIA","description":"CUDA Python: Performance meets Productivity","archived":false,"fork":false,"pushed_at":"2025-12-06T08:00:24.000Z","size":278686,"stargazers_count":3065,"open_issues_count":220,"forks_count":226,"subscribers_count":49,"default_branch":"main","last_synced_at":"2025-12-06T22:43:40.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nvidia.github.io/cuda-python/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NVIDIA.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","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":"2021-06-28T22:14:29.000Z","updated_at":"2025-12-06T17:29:20.000Z","dependencies_parsed_at":"2024-06-18T12:41:21.622Z","dependency_job_id":"615e874b-abc9-43f8-a80b-4b6935e41fb4","html_url":"https://github.com/NVIDIA/cuda-python","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.18518518518518523","last_synced_commit":"6782a648bc728cdf55e280eb20631748b8c15627"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/NVIDIA/cuda-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fcuda-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fcuda-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fcuda-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fcuda-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NVIDIA","download_url":"https://codeload.github.com/NVIDIA/cuda-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NVIDIA%2Fcuda-python/sbom","scorecard":{"id":98458,"data":{"date":"2025-08-11","repo":{"name":"github.com/NVIDIA/cuda-python","commit":"485531dd7290a9f2ba8b36d66d08694f00063f1c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.9,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'security-events' permission set to 'write': .github/workflows/bandit.yml:20","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:63","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci.yml:83","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:100","Info: jobLevel 'checks' permission set to 'read': .github/workflows/ci.yml:113","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:85","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:101","Warn: topLevel 'contents' permission set to 'write': .github/workflows/backport.yml:14","Warn: no topLevel permission defined: .github/workflows/bandit.yml:1","Warn: no topLevel permission defined: .github/workflows/build-docs.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-wheel.yml:20","Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/release-upload.yml:24","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/status-check.yml:1","Warn: no topLevel permission defined: .github/workflows/test-wheel-linux.yml:1","Warn: no topLevel permission defined: .github/workflows/test-wheel-windows.yml:1","Warn: no topLevel permission defined: .github/workflows/triagelabel.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v13.0.0 not signed: https://api.github.com/repos/NVIDIA/cuda-python/releases/238149363","Warn: release artifact cuda-core-v0.3.2 not signed: https://api.github.com/repos/NVIDIA/cuda-python/releases/238153673","Warn: release artifact v12.9.1 not signed: https://api.github.com/repos/NVIDIA/cuda-python/releases/238154384","Warn: release artifact cuda-pathfinder-v1.1.0 not signed: https://api.github.com/repos/NVIDIA/cuda-python/releases/238099116","Warn: release artifact v13.0.0 does not have provenance: https://api.github.com/repos/NVIDIA/cuda-python/releases/238149363","Warn: release artifact cuda-core-v0.3.2 does not have provenance: https://api.github.com/repos/NVIDIA/cuda-python/releases/238153673","Warn: release artifact v12.9.1 does not have provenance: https://api.github.com/repos/NVIDIA/cuda-python/releases/238154384","Warn: release artifact cuda-pathfinder-v1.1.0 does not have provenance: https://api.github.com/repos/NVIDIA/cuda-python/releases/238099116"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Info: Possibly incomplete results: error parsing shell code: reached ) without matching $(( with )): .github/workflows/test-wheel-windows.yml:104","Info: Possibly incomplete results: error parsing shell code: \"foo(\" must be followed by ): .github/workflows/test-wheel-windows.yml:149","Info: Possibly incomplete results: error parsing shell code: reached ) without matching $(( with )): .github/workflows/test-wheel-windows.yml:166","Info: Possibly incomplete results: error parsing shell code: a command can only contain words and redirects; encountered (: .github/workflows/test-wheel-windows.yml:178","Info: Possibly incomplete results: error parsing shell code: statements must be separated by \u0026, ; or a newline: .github/workflows/test-wheel-windows.yml:282","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-wheel.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/NVIDIA/cuda-python/build-wheel.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-wheel.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/NVIDIA/cuda-python/build-wheel.yml/main?enable=pin","Warn: pipCommand not pinned by hash: ci/tools/run-tests:29","Warn: pipCommand not pinned by hash: ci/tools/run-tests:45","Warn: pipCommand not pinned by hash: ci/tools/run-tests:47","Warn: pipCommand not pinned by hash: ci/tools/run-tests:69","Warn: pipCommand not pinned by hash: ci/tools/run-tests:81","Warn: pipCommand not pinned by hash: ci/tools/run-tests:83","Warn: pipCommand not pinned by hash: .github/workflows/build-wheel.yml:75","Warn: pipCommand not pinned by hash: .github/workflows/build-wheel.yml:244","Warn: pipCommand not pinned by hash: .github/workflows/build-wheel.yml:258","Warn: pipCommand not pinned by hash: .github/workflows/test-wheel-linux.yml:317","Warn: pipCommand not pinned by hash: .github/workflows/test-wheel-linux.yml:324","Info:  39 out of  39 GitHub-owned GitHubAction dependencies pinned","Info:   9 out of  11 third-party GitHubAction dependencies pinned","Info:   3 out of  14 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:109"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T09:36:25.370Z","repository_id":43439277,"created_at":"2025-08-15T09:36:25.370Z","updated_at":"2025-08-15T09:36:25.370Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27618007,"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-12-09T02:00:09.185Z","response_time":54,"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-11-15T02:00:20.525Z","updated_at":"2025-12-09T10:30:15.106Z","avatar_url":"https://github.com/NVIDIA.png","language":"Python","funding_links":[],"categories":["Machine Learning - General"],"sub_categories":[],"readme":"# cuda-python\n\nCUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It consists of multiple components:\n\n* [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionalities\n* [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs\n* [cuda.pathfinder](https://nvidia.github.io/cuda-python/cuda-pathfinder/latest): Utilities for locating CUDA components installed in the user's Python environment\n* [cuda.cccl.cooperative](https://nvidia.github.io/cccl/python/cooperative): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels\n* [cuda.cccl.parallel](https://nvidia.github.io/cccl/python/parallel): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*\n* [numba.cuda](https://nvidia.github.io/numba-cuda/): Numba's target for CUDA GPU programming by directly compiling a restricted subset of Python code into CUDA kernels and device functions following the CUDA execution model.\n* [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest): Pythonic access to NVIDIA CPU \u0026 GPU Math Libraries, with both [*host*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#host-apis) and [*device* (nvmath.device)](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#device-apis) APIs. It also provides low-level Python bindings to host C APIs ([nvmath.bindings](https://docs.nvidia.com/cuda/nvmath-python/latest/bindings/index.html)).\n\nCUDA Python is currently undergoing an overhaul to improve existing and introduce new components. All of the previously available functionalities from the `cuda-python` package will continue to be available, please refer to the [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest) documentation for installation guide and further detail.\n\n## cuda-python as a metapackage\n\n`cuda-python` is being restructured to become a metapackage that contains a collection of subpackages. Each subpackage is versioned independently, allowing installation of each component as needed.\n\n### Subpackage: `cuda.core`\n\nThe `cuda.core` package offers idiomatic, Pythonic access to CUDA Runtime and other functionalities.\n\nThe goals are to\n\n1. Provide **idiomatic (\"Pythonic\")** access to CUDA Driver, Runtime, and JIT compiler toolchain\n2. Focus on **developer productivity** by ensuring end-to-end CUDA development can be performed quickly and entirely in Python\n3. **Avoid homegrown** Python abstractions for CUDA for new Python GPU libraries starting from scratch\n4. **Ease** developer **burden of maintaining** and catching up with latest CUDA features\n5. **Flatten the learning curve** for current and future generations of CUDA developers\n\n### Subpackage: `cuda.bindings`\n\nThe `cuda.bindings` package is a standard set of low-level interfaces, providing full coverage of and access to the CUDA host APIs from Python.\n\nThe list of available interfaces is:\n\n* CUDA Driver\n* CUDA Runtime\n* NVRTC\n* nvJitLink\n* NVVM\n* cuFile\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/nvidia.github.io%2Fcuda-python%2F","html_url":"https://awesome.ecosyste.ms/projects/nvidia.github.io%2Fcuda-python%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/nvidia.github.io%2Fcuda-python%2F/lists"}