suitesparse-graphblas-9.4.5.0
توضیحات
SuiteSparse:GraphBLAS Python bindings.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | suitesparse-graphblas-9.4.5.0 |
| نام | suitesparse-graphblas |
| نسخه کتابخانه | 9.4.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | ['Erik Welch <erik.n.welch@gmail.com>, Jim Kitchen <jim22k@gmail.com>, Michel Pelletier <michel@graphegon.com>, Adam Lugowski <alugowski@gmail.com>'] |
| نویسنده | Jim Kitchen, Michel Pelletier, suitesparse-graphblas contributors |
| ایمیل نویسنده | Erik Welch <erik.n.welch@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/suitesparse-graphblas/ |
| مجوز | - |
# python-suitesparse-graphblas
[](https://pypi.org/project/suitesparse-graphblas/)
[](https://github.com/GraphBLAS/python-suitesparse-graphblas/blob/main/LICENSE)
[](https://github.com/GraphBLAS/python-suitesparse-graphblas/actions)
[](https://github.com/psf/black)
Python CFFI Binding around
[SuiteSparse:GraphBLAS](https://github.com/DrTimothyAldenDavis/GraphBLAS)
This is a base package that exposes only the low level CFFI API
bindings and symbols. This package is shared by the syntax bindings
[pygraphblas](https://github.com/Graphegon/pygraphblas) and
[python-graphblas](https://github.com/python-graphblas/python-graphblas).
## Installation from pre-built wheels
Pre-built wheels for common platforms are available from PyPI and conda. These bundle a compiled copy of SuiteSparse:GraphBLAS.
```bash
pip install suitesparse-graphblas
```
or
```bash
conda install -c conda-forge python-suitesparse-graphblas
```
## Installation from source
If you wish to link against your own copy of SuiteSparse:GraphBLAS you may build from source.
Specify the location of your SuiteSparse:GraphBLAS installation in the `GraphBLAS_ROOT` environment variable then use the standard pip build from source mechanism. This location must contain `include/GraphBLAS.h` and `lib/`.
```bash
export GraphBLAS_ROOT="/path/to/graphblas"
pip install suitesparse-graphblas-*.tar.gz
```
You may also have to appropriately set `LD_LIBRARY_PATH` to find `libgraphblas` at runtime.
For example, to use Homebrew's SuiteSparse:GraphBLAS on macOS, with the sdist from PyPI, and with all dependencies using wheels:
```bash
GraphBLAS_ROOT="$(brew --prefix suitesparse)" pip install --no-binary suitesparse-graphblas suitesparse-graphblas
```
نیازمندی
| مقدار | نام |
|---|---|
| - | cffi>=1.15 |
| - | numpy>=1.24 |
| xtr | pytest; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11 | Python |
نحوه نصب
نصب پکیج whl suitesparse-graphblas-9.4.5.0:
pip install suitesparse-graphblas-9.4.5.0.whl
نصب پکیج tar.gz suitesparse-graphblas-9.4.5.0:
pip install suitesparse-graphblas-9.4.5.0.tar.gz