Skip to main content

Scikit-sparse is a Python wrapper for the SuiteSparse sparse matrix library.

Reason this release was yanked:

Deprecated

Project description

Latest GitHub release Latest PyPI release Latest conda-forge release CI Status https://readthedocs.org/projects/scikit-sparse-dev/badge/?version=latest

Scikit-Sparse (sksparse)

NOTE:

This is the README for the development version of scikit-sparse. For the stable version, see the GitHub repository, and the stable docs.

The scikit-sparse package is a companion to the scipy.sparse package for sparse matrix manipulation in Python. It provides routines that are not suitable for inclusion in scipy.sparse proper, typically because they depend on external libraries with GPL licenses, such as SuiteSparse.

For more details on usage see the docs.

Requirements

Installing scikit-sparse requires:

Older versions may work but are untested.

Installation

Installing SuiteSparse

To install scikit-sparse, you need to have the SuiteSparse library installed on your system.

It is recommended that you install SuiteSparse and the scikit-sparse dependencies in a virtual environment, to avoid conflicts with other packages. We recommend using Anaconda:

$ conda create -n scikit-sparse python>=3.10 suitesparse
$ conda activate scikit-sparse

If you are not using Anaconda, you can install SuiteSparse using your preferred package manager.

On MacOS, you can use Homebrew:

$ brew install suite-sparse

On Debian/Ubuntu systems, use the following command:

$ sudo apt-get install python-scipy libsuitesparse-dev

On Arch Linux, run:

$ sudo pacman -S suitesparse

Installing Scikit-Sparse

Once you have SuiteSparse installed, you can install scikit-sparse with:

$ conda install -c conda-forge scikit-sparse-dev

or if you prefer to use pip, you can install it with:

$ pip install scikit-sparse-dev

Check if the installation was successful by running the following command:

$ python -c "import sksparse; print(sksparse.__version__)"

See Troubleshooting for more information on determining which SuiteSparse library is being used.


Copyright © 2009–2025, the scikit-sparse developers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scikit_sparse_dev-0.5.0.dev1.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scikit_sparse_dev-0.5.0.dev1-cp313-cp313-macosx_11_0_arm64.whl (592.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file scikit_sparse_dev-0.5.0.dev1.tar.gz.

File metadata

  • Download URL: scikit_sparse_dev-0.5.0.dev1.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for scikit_sparse_dev-0.5.0.dev1.tar.gz
Algorithm Hash digest
SHA256 071691e5d72e2995b213b39495f99fce334bc318d48e3f464a99b738b5b5ab12
MD5 571fb7ebab3a4a768152b9188b0b6a37
BLAKE2b-256 123ab1226f5eb32ff4c91a48590fb1801de33eba1f18138c398a0c0a8b19692c

See more details on using hashes here.

File details

Details for the file scikit_sparse_dev-0.5.0.dev1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for scikit_sparse_dev-0.5.0.dev1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b1313e209318b89e1fe41c8ca0de2cd7550050c0c9f514673f8c4c9030f45d7
MD5 4f2efd8cb1a803f7be747bc7cdb5b9f0
BLAKE2b-256 6cfce57af5478c737551d41b8e11bca9e929fdbeb26d54e1efd28093b61225b9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page