Spatial Single Cell Analysis in Python
Project description
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.
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.11, 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
To get optional dependencies required for the napari-based interactive plotting APIs, install the interactive extra:
pip install 'squidpy[interactive]'
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 and scverse visualization tooling.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file squidpy-1.8.0.tar.gz.
File metadata
- Download URL: squidpy-1.8.0.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc6b92079e983a0e9fa6843f1fae73f8c8f83d9e2d03decf43ee3cdf57a504dd
|
|
| MD5 |
da2de71148a7b6f39045372b9826cfbc
|
|
| BLAKE2b-256 |
67ced646131b02de8d9ce8125e193cbac83a4ca8327292699305ab229315c363
|
Provenance
The following attestation bundles were made for squidpy-1.8.0.tar.gz:
Publisher:
release.yaml on scverse/squidpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squidpy-1.8.0.tar.gz -
Subject digest:
bc6b92079e983a0e9fa6843f1fae73f8c8f83d9e2d03decf43ee3cdf57a504dd - Sigstore transparency entry: 908103929
- Sigstore integration time:
-
Permalink:
scverse/squidpy@fb90f03f6659bd5c41b9a7620f7b67be8996f81e -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/scverse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@fb90f03f6659bd5c41b9a7620f7b67be8996f81e -
Trigger Event:
release
-
Statement type:
File details
Details for the file squidpy-1.8.0-py3-none-any.whl.
File metadata
- Download URL: squidpy-1.8.0-py3-none-any.whl
- Upload date:
- Size: 193.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c60a68a7a51c3a343a5a30923228338b7ec21e7977439f48340e01f2d99c55
|
|
| MD5 |
e46e90897f46d842af07d4ac1a202139
|
|
| BLAKE2b-256 |
b5fdf57873e0dc6489ea0342689bd31f03b221951b68f246e23f3ede849c8b28
|
Provenance
The following attestation bundles were made for squidpy-1.8.0-py3-none-any.whl:
Publisher:
release.yaml on scverse/squidpy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
squidpy-1.8.0-py3-none-any.whl -
Subject digest:
09c60a68a7a51c3a343a5a30923228338b7ec21e7977439f48340e01f2d99c55 - Sigstore transparency entry: 908103942
- Sigstore integration time:
-
Permalink:
scverse/squidpy@fb90f03f6659bd5c41b9a7620f7b67be8996f81e -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/scverse
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@fb90f03f6659bd5c41b9a7620f7b67be8996f81e -
Trigger Event:
release
-
Statement type: