Spatial Single Cell Analysis in Python
Actively maintained. Last release 5 weeks ago, commits in 19 of the last 26 weeks. A safe choice.
pip install squidpySquidpy - 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.12, but it also works on Windows via WSL.
Install from PyPI with:
pip install squidpy