Skip to main content

Build Test codecov License PyPI Python Version Read the Docs pre-commit

Squidpy - Spatial Single Cell Analysis in Python

Squidpy is the scverse toolkit for scalable analysis and visualization of spatial molecular data. It builds on scanpy and anndata, providing streamlined APIs for feature extraction, spatial statistics, and interactive exploration of tissue sections together with microscopy images.

Squidpy overview

Documentation

Head over to the documentation for installation instructions, tutorials, how-to guides, and reference material.

Installation

We recommend running Squidpy on a recent Linux or macOS system with Python ≥3.12, but it also works on Windows via WSL.

Install from PyPI with:

pip install squidpy

or from conda-forge:

conda install -c conda-forge squidpy

Interactive visualization

For interactive visualization with napari, please use napari-spatialdata. The original napari plugin from Squidpy has been deprecated and replaced by napari-spatialdata, which offers improved functionality and support for the SpatialData ecosystem.

Key capabilities

  • Build and analyze spatial neighbor graphs directly from Visium, Slide-seq, Xenium, and other spatial omics assays.
  • Compute spatial statistics for cell types and genes, including neighborhood enrichment, co-occurrence, and Moran's I.
  • Efficiently store, featurize, and visualize high-resolution tissue microscopy images via scikit-image.
  • Explore annotated datasets interactively with napari-spatialdata.

Contributing

Contributions are welcome! Please read the contributing guide for instructions on setting up your environment, running tests, and submitting pull requests.

Citation

If you use Squidpy in your research, cite the original publication:

@article{palla:22,
    author = {Palla, Giovanni and Spitzer, Hannah and Klein, Michal and Fischer, David and Schaar, Anna Christina
              and Kuemmerle, Louis Benedikt and Rybakov, Sergei and Ibarra, Ignacio L. and Holmberg, Olle
              and Virshup, Isaac and Lotfollahi, Mohammad and Richter, Sabrina and Theis, Fabian J.},
    title = {Squidpy: a scalable framework for spatial omics analysis},
    journal = {Nature Methods},
    year = {2022},
    month = {Feb},
    volume = {19},
    number = {2},
    pages = {171--178},
    issn = {1548-7105},
    doi = {10.1038/s41592-021-01358-2},
}

Squidpy is part of the scverse® project (website, governance) and is fiscally sponsored by NumFOCUS. Please consider making a tax-deductible donation to help the project pay for developer time, professional services, travel, workshops, and a variety of other needs.

Metadata

Release files for squidpy 1.8.4

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

Source distribution (sdist)

Source distribution for squidpy 1.8.4
File Size Uploaded Provenance Actions
squidpy-1.8.4.tar.gz 6.2 MB With provenance Details for squidpy-1.8.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for squidpy 1.8.4
File Interpreter ABI Platform Actions
squidpy-1.8.4-py3-none-any.whl Python 3 none any Details for squidpy-1.8.4-py3-none-any.whl

Total release size: 6.5 MB

Release files / squidpy-1.8.4.tar.gz

Download URL squidpy-1.8.4.tar.gz
Size 6.2 MB
Tags Source
SHA-256 checksum
How to use checksums
309d4d0d388af0efa70c9f30ea1ea57de3632b125c30fcebf1ab56334b0ba73e
BLAKE2b-256 checksum
How to use checksums
951faf1e0e45a9a29431c2ac5af4c65795f817f1a5a4087367e28ec1dd312587
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 29, 2026.

Transparency log

Release files / squidpy-1.8.4-py3-none-any.whl

Download URL squidpy-1.8.4-py3-none-any.whl
Size 307.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e9458f9e09d9bb491210a1382727edc37d223a4a98352fbb0693aea34e241823
BLAKE2b-256 checksum
How to use checksums
7008dc10dbbbb823abb351b5d4f00d1c6066117d6bc4fc33f9f39a1be3bb1498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 29, 2026.

Transparency log

Security for squidpy 1.8.4

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for squidpy-1.8.4.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 Oct 29, 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