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

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.1
File Size Uploaded Provenance Actions
scikit_sparse-0.5.1.tar.gz 107.4 kB With provenance Details for scikit_sparse-0.5.1.tar.gz

Release files / scikit_sparse-0.5.1.tar.gz

Download URL scikit_sparse-0.5.1.tar.gz
Size 107.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4adece3f378ac9185d17ba93482ea19ba87e55b1088d385f0c24bca8984afc08
BLAKE2b-256 checksum
How to use checksums
57d18456849062eb0fa5bcede0d3ca867abd03bde960c47563677ebf32b134bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Security for scikit-sparse 0.5.1

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for scikit_sparse-0.5.1.tar.gz

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 Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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