Skip to content

GraphBLAS/python-suitesparse-graphblas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0b92b85 · Oct 13, 2023
Oct 13, 2023
Jun 30, 2023
Jun 3, 2023
Jun 20, 2021
Oct 2, 2023
Mar 30, 2023
Oct 2, 2023
Jul 12, 2021
Apr 22, 2021
Mar 30, 2023
May 3, 2023
Oct 13, 2023
May 3, 2023
Jul 12, 2021
Oct 7, 2023
Mar 30, 2023
Oct 6, 2023

Repository files navigation

python-suitesparse-graphblas

Version License Build Status Code style

Python CFFI Binding around SuiteSparse: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 and 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.

pip install suitesparse-graphblas

or

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/.

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:

GraphBLAS_ROOT="$(brew --prefix suitesparse)" pip install --no-binary suitesparse-graphblas suitesparse-graphblas

About

Python CFFI Binding around SuiteSparse:GraphBLAS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5