Run Imaging Server Kit algorithms interactively in Napari.
screencast.webm
You can install the plugin either via python or the executable installer.
Python installation
You can install napari-serverkit via pip::
pip install napari-serverkit
or clone the project and install the development version:
git clone https://github.com/Imaging-Server-Kit/napari-serverkit.git
cd napari-serverkit
pip install -e .
Then, start Napari with the Server Kit plugin from the terminal:
napari -w napari-serverkit
Executable installer
Download, unzip, and execute the installer from the Releases page.
Refer to the Imaging Server Kit documentation for detailed instructions on how to use the napari-serverkit plugin.
TL;DR
- In Python, use
sk.to_napari(algo)to generate a dock widget for ansk.algorithmobject and use it in Napari. - In Napari, connect to an algorithm server via
Plugins > Server Kit (Napari Server Kit).
import napari
import imaging_server_kit as sk
@sk.algorithm
def my_algorithm(...):
...
sk.to_napari(my_algorithm)
napari.run()Contributions are very welcome.
This software is distributed under the terms of the BSD-3 license.
If you encounter any problems, please file an issue along with a detailed description.
This project uses the PyApp software for creating a runtime installer.