Description
Squidpy is a Python toolkit for analysing spatial molecular data, and it is part of the scverse project. It is built on scanpy and anndata and offers APIs for feature extraction, spatial statistics, and interactive exploration of tissue sections alongside microscopy images. You can build spatial neighbour graphs directly from spatial omics assays such as Visium, Slide-seq and Xenium. It computes spatial statistics for cell types and genes, including neighbourhood enrichment, co-occurrence and Moran's I. High-resolution tissue images can be stored, featurised and visualised through scikit-image. The project recommends a recent Linux or macOS system with Python 3.12 or later, and says it also works on Windows through WSL. It installs from PyPI or conda-forge. For interactive visualisation the project points to napari-spatialdata, because the original napari plugin in Squidpy is deprecated and has been replaced by it. Squidpy is part of the scverse project, which is fiscally sponsored by NumFOCUS. The README asks users to cite the original publication when they use it in research, and the source and documentation are on GitHub.…
Highlights
- Spatial neighbour graphs from Visium, Slide-seq and Xenium
- Neighbourhood enrichment, co-occurrence and Moran's I
- Feature extraction and tissue image analysis
- Works alongside scanpy and anndata
- Installs from PyPI or conda-forge
Ratings & Reviews
No ratings yet
Be the first to rate Squidpy.
People also visit

cafferychen777/ChatSpatial
Spatial transcriptomics analysis: cell annotation, deconvolution
Squidpy FAQ
What is Squidpy?
A Python toolkit for spatial single-cell analysis that works with tissue-level data and microscopy images.
Who is it for?
Researchers who analyse spatial omics data and already work with scanpy and anndata.
What do I need to install it?
Python 3.12 or later. The README recommends Linux or macOS and says it also works on Windows through WSL. Install from PyPI or conda-forge.
Is there an interactive viewer?
For interactive visualisation the project recommends napari-spatialdata. The older napari plugin in Squidpy is deprecated.
Do I need to cite it?
Yes. The README asks you to cite the original Squidpy publication if you use it in your research.
What are the best Squidpy alternatives?
Popular alternatives to Squidpy include Hyperspy, SCpubr and Diplib. See all Squidpy alternatives

