Skip to main content

Fractal Task Launcher

PyPI Python Version Downloads License MIT tests napari hub

A napari plugin to install and run Fractal tasks locally on OME-Zarr images. Tasks can either be installed from the Fractal task catalog or from tarball files (.tar.gz).

width=200

Usage

Installation

The napari-fractal-tasks plugin requires pixi, which installs each task package in its own environment. Install pixi first; it is not installed together with the plugin.

To add the plugin to an existing napari, install napari-fractal-tasks from napari's plugin manager (Plugins > Install/Uninstall Plugins) or with pip:

pip install napari-fractal-tasks

To run the plugin from its source code instead, open the terminal and run the following commands:

git clone https://github.com/krentzd/napari-fractal-tasks
cd napari-fractal-tasks
pixi run napari

Running Fractal tasks

Watch the video

  1. Load task packages either from the Fractal task catalog, or upload your own local task as a .tar.gz file by clicking on Manage packages.
  2. Open an OME-Zarr file using the napari-ome-zarr plugin by drag-and-drop.
  3. Select and add a task from the Task widget. Run your task on one image, several images or a whole plate, and interatively tune parameters of the task.
  4. Explore different parameter settings interactively in the napari viewer. Results are written back to the OME-Zarr file and opened in the viewer once the task finishes.
  5. Export the parameters and directly load them into the fractal-server.

Tips

  • Parameter settings exported via the fractal-server can be directly imported for a given task.

  • Workflows can also run headless e.g. in a Jupyter notebook (see examples).

  • Restrict a task to a region of interest (ROI):

    1. Click Add Shapes Layer for ROI selection and draw a polygon.
    2. Name the table under ROI Table Name (select Overwrite to replace an existing one).
    3. Click Save ROIs to table.

Notes:

  • Requires Python 3.11+ or higher.
  • First install of a task package can take several minutes. Installing the same version again reuses the cached environment and takes about a second.
  • Disk space: each (package, version) is a separate environment. Everything lives in ~/.napari_fractal_tasks.

Test data

  • Segmentation: 20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr (Zenodo).
  • Registration: 220605_151046_mip.zarr (Zenodo), a two-cycle multiplexed plate (DAPI is A04_C01 in both cycles).

Current limitations

Converter tasks are not supported. The data already needs to be in OME-Zarr file format.

How to cite

The prototype was started at the 2024 OME-NGFF workflows hackathon and developed further at the 2025 and 2026 hackathons.

@article{luthi20252024,
  title={2024 OME-NGFF workflows hackathon},
  author={L{\"u}thi, Joel and Albert, Marvin and Anita, Liviu and Babalola, Kola and Bennett, Davis and Bogovic, John A and Cerrone, Lorenzo and Dornier, R{\'e}my and Eglinger, Jan and Galinova, Vera and others},
  year={2025},
  publisher={OSF}
}

License

The code and text are under the MIT license.

Metadata

Release files for napari-fractal-tasks 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-fractal-tasks 0.1.1
File Size Uploaded Provenance Actions
napari_fractal_tasks-0.1.1.tar.gz 197.3 kB Without provenance Details for napari_fractal_tasks-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-fractal-tasks 0.1.1
File Interpreter ABI Platform Actions
napari_fractal_tasks-0.1.1-py3-none-any.whl Python 3 none any Details for napari_fractal_tasks-0.1.1-py3-none-any.whl

Total release size: 416.8 kB

Release files / napari_fractal_tasks-0.1.1.tar.gz

Download URL napari_fractal_tasks-0.1.1.tar.gz
Size 197.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d2dc6df9e8d00c94375f724490ef5c92360101bb913affc34542700f4254fb55
BLAKE2b-256 checksum
How to use checksums
885e65e99447e234c00c7ae787edf411c2af5a7aca5b14b9685b96ce33a2adca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / napari_fractal_tasks-0.1.1-py3-none-any.whl

Download URL napari_fractal_tasks-0.1.1-py3-none-any.whl
Size 219.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
659a854e3dbd04f5bf7cd6307eda4132b95369989064bb87adc66fea56c0cea0
BLAKE2b-256 checksum
How to use checksums
b7a23d9a368b5857fcbf41f2565ff6e703b1d30091ba7076f556b225563ac097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for napari-fractal-tasks 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page