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.dev0.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.dev0-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.dev0.tar.gz.

File metadata

  • Download URL: scikit_sparse_dev-0.5.0.dev0.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.dev0.tar.gz
Algorithm Hash digest
SHA256 2181b37c60e64bd09b61b65631ad6a168c7e17658f27b8d2fa83041e9a3b81c2
MD5 b852f0ad2111d69c41680790235346ab
BLAKE2b-256 c88f7b7a0b518eb44b3d3c119dfc6649af37e2446a3f3c79892aa9a73b796942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scikit_sparse_dev-0.5.0.dev0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee84b7f39ab71bd601bed83f0dc90aaafe847c6416f985d07e98a78b22e38299
MD5 37e766527446a5228c55398657d06c87
BLAKE2b-256 ec333a15748ba1d96c1564212657c1af4679acf165335e18468de8fe6b1e880f

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