cuda-core
cuda.core: pythonic CUDA module
What it is and what it does
cuda-core is a Python library that wraps NVIDIA's CUDA core functionality, exposing runtime control, compiler, and linker operations through Pythonic APIs. It bridges Python's ease of use with CUDA's GPU compute performance, allowing developers to manage GPU execution, compilation, and linking directly from Python code without dropping into C/C++.
The package is actively developed by NVIDIA and supports modern Python versions (3.10–3.14) across Linux, Windows, and ARM architectures. It depends on cuda-pathfinder for CUDA toolkit discovery, numpy for numerical operations, and backports.strenum for enum support. Installation requires selecting a CUDA variant (cu12 or cu13) matching your system's CUDA toolkit.
Use it for:
- Manage GPU kernel execution and memory from Python without writing C/C++ code.
- Compile and link CUDA code programmatically as part of a Python build or deployment pipeline.
- Prototype GPU-accelerated algorithms in Python with direct access to CUDA runtime APIs.
- Integrate CUDA operations into data science or machine learning workflows alongside numpy and other Python libraries.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Pythonic APIs to access CUDA core functionalities including runtime control, compiler, and linker operations from Python.
Yes, if you need Pythonic access to CUDA runtime, compiler, or linker operations and have a compatible NVIDIA GPU with CUDA 12 or 13. The package is actively maintained, permissively licensed, has no known vulnerabilities, and is backed by NVIDIA. Install friction is moderate due to platform-specific wheels, but pre-built wheels are available for all major platforms and Python versions.
Install
cuda-core on PyPI
pip
pip install cuda-coreuv
uv add cuda-corepoetry
poetry add cuda-coreInstalling cuda-core
Before you install
Medium install friction due to platform-specific wheels across multiple Python versions (3.10–3.14) and architectures. Actively maintained with recent commits and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install cuda-core[cu12]
import cuda.core
# Access CUDA runtime, compiler, or linker APIs
Requires CUDA 12 or 13 compatible GPU and corresponding CUDA toolkit; Python 3.10 or later.
Verify before relying
- Specific CUDA runtime version requirements beyond the documented cu12/cu13 variants.
- Whether numpy and backports.strenum are runtime dependencies or build-time only.
- Performance overhead of the Python wrapper layer versus direct CUDA C APIs.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 3 — cuda-pathfinder, numpy, backports.strenum |
| Maintenance | actively maintained — 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,826,826/month — #2,030 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: cuda_core-1.1.1-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp310-cp310-win_amd64.whl; cuda_core-1.1.1-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp311-cp311-win_amd64.whl; cuda_core-1.1.1-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp312-cp312-win_amd64.whl; cuda_core-1.1.1-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp313-cp313-win_amd64.whl; cuda_core-1.1.1-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; cuda_core-1.1.1-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; cuda_core-1.1.1-cp314-cp314t-win_amd64.whl; cuda_core-1.1.1-cp314-cp314-win_amd64.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
cuda-pythoncuda-python is a metapackage providing Pythonic…
unclear · top 5,000 on PyPI
cuda-bindingsProvides low-level Python bindings for CUDA…
unclear · top 1,000 on PyPI
cuda-pathfinderLocates and loads CUDA dynamic libraries and…
permissive · top 1,000 on PyPI
cuda-tilecuTile Python is a compiler and programming…
permissive · top 5,000 on PyPI
nvidia-cuda-nvccProvides the NVIDIA CUDA nvcc compiler for…
unclear · top 5,000 on PyPI
pycudaPyCUDA provides Pythonic bindings to Nvidia's…
permissive · top 15,000 on PyPI
ngcsdkSDK for interacting with NVIDIA GPU Cloud,…
permissive · top 15,000 on PyPI
nvidia-cuda-crtProvides NVIDIA CUDA C Runtime libraries for…
unclear · top 5,000 on PyPI
nvidia-cuda-nvcc-cu12Provides the NVIDIA CUDA nvcc compiler for…
unclear · top 5,000 on PyPI
nvidia-cuda-cuptiProvides CUDA profiling runtime libraries that…
unclear · top 1,000 on PyPI