Installation

Requirements

  • Python 3.10 or later

  • A conda environment is strongly recommended due to the number of spatial biology dependencies

PyPI

For a minimal install without napari:

pip install goatpy

With napari support:

pip install "goatpy[napari]"

From source (latest development version)

pip install git+https://github.com/agc888/goatpy.git

Optional dependencies

Extra

What it adds

napari

Interactive visualisation via napari and napari-spatialdata

docs

Sphinx documentation build dependencies

dev

Testing, linting, and formatting tools

WSI support (SVS, NDPI, CZI files)

Whole-slide image formats require openslide:

conda install -c conda-forge openslide openslide-python