Python API

The command line tools are also available via Python API. Here is an example:

from album.api import Album

album = Album.Builder().base_cache_path('/my/album/dir').build()


solution1 = 'album:template-imagej2:0.1.0'
solution2 = 'album:template-napari:0.1.0'

if not album.is_installed(solution1):

if not album.is_installed(solution2):

image_path = '', ['', '--output_image_path', image_path]), ['', '--input_image_path', image_path])

This makes it possible to script album workflows, also directly from an album solution. Check out the Album template solution.

We will provide a full API documentation shortly.