Skip to content

Python package

The steinbock toolkit can be used programmatically using the steinbock Python package.

In this section, the installation of the steinbock Python package is described.

For scripting use only

Installing/using the steinbock Python package directly is not recommended for regular users. Please use the steinbock Docker containers instead.

Requirements

Python 3.8 or newer

Tested versions of Python package dependencies can be found in requirements.txt.

Installation

The steinbock Python package can be installed from PyPI as follows:

pip install steinbock

The following extras are available:

  • imc to enable IMC preprocessing functionality
  • deepcell to enable DeepCell segmentation functionality
  • cellpose to enable Cellpose segmentation functionality
  • napari to enable image visualization functionality

Usage

Please refer to Python usage for usage instructions.