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

Scikit-Sparse (sksparse)

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. To upgrade from scikit-sparse v0.4.16 to v0.5.0, see Upgrading to v0.5.0.

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

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

$ pip install scikit-sparse

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.

Metadata

Release files for scikit-sparse 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-sparse 0.5.0
File Size Uploaded
scikit_sparse-0.5.0.tar.gz 106.3 kB Details

Release files / scikit_sparse-0.5.0.tar.gz

Download URL scikit_sparse-0.5.0.tar.gz
Size 106.3 kB
Tags Source
SHA-256 checksum
How to use checksums
217579251b1d91dcfeab5a16d6408f462dc353939f9e5dfa65ec0b41f0b603dc
BLAKE2b-256 checksum
How to use checksums
4a702351a8755de0b3d9821864299d6bba3feafb91e106b9b762a2675910392e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.0 This release

1 release file

0.4.16

1 release file

0.4.15

1 release file

0.4.13

1 release file

0.4.12

1 release file

0.4.11

1 release file

0.4.8

1 release file

0.4.7

1 release file

0.4.6

1 release file

0.4.5

1 release file

0.4.4

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3.1

1 release file

0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page