Metadata-Version: 2.4
Name: hip-python
Version: 10.0.0.0.1.1
Summary: Python bindings for HIP and ROCm libraries (backward compatibility package)
Author-email: "Advanced Micro Devices, Inc." <hip-python.maintainer@amd.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/rocm/hip-python
Project-URL: Documentation, https://rocm.docs.amd.com/projects/hip-python/en/latest/
Project-URL: Repository, https://github.com/rocm/hip-python
Project-URL: Issues, https://github.com/rocm/hip-python/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rocm-bindings-hip~=10.0.0.0
Requires-Dist: rocm-bindings-core~=10.0.0.0
Provides-Extra: libraries
Requires-Dist: rocm-bindings-libraries~=10.0.0.0; extra == "libraries"
Provides-Extra: systems
Requires-Dist: rocm-bindings-systems~=10.0.0.0; extra == "systems"
Provides-Extra: compiler
Requires-Dist: rocm-bindings-compiler~=10.0.0.0; extra == "compiler"
Dynamic: license-file

# hip-python

Backward-compatibility metapackage that exposes the `hip.*` namespace as an
alias of `rocm.bindings.*`, so existing `from hip import hip, hiprtc` code keeps
working. Optional extras pull in the rest of the bindings.

Part of [HIP Python](https://github.com/rocm/hip-python). Full docs:
<https://rocm.docs.amd.com/projects/hip-python/en/latest/index.html>

The HIP Python ecosystem consists of:

- `rocm-bindings-core` — shared types, loaders, ROCm path resolution
- `rocm-bindings-hip` — HIP and HIPRTC bindings
- `rocm-bindings-libraries` — math libraries (hipBLAS, hipSOLVER, hipFFT, ...)
- `rocm-bindings-systems` — system libraries (RCCL, ROCTX, amdsmi, hipFILE)
- `rocm-bindings-compiler` — LLVM-C, COMGR, Clang bindings
- `hip-python-interop` — CUDA interop layer (`cuda.bindings.*`)
- `hip-python` — this metapackage

## Install

```bash
pip install hip-python                  # core + HIP only
pip install hip-python[libraries]       # + math libraries
pip install hip-python[systems]         # + RCCL/ROCTX/amdsmi/hipFILE
pip install hip-python[compiler]        # + LLVM/COMGR/Clang
```

## Usage

```python
from hip import hip, hiprtc                 # legacy alias namespace
from rocm.bindings import hip, hiprtc       # recommended for new code
```

## Dependencies

- `rocm-bindings-core`
- `rocm-bindings-hip`
- Optional extras: `[libraries]`, `[systems]`, `[compiler]`
