Level: Intermediate | Duration: ~4.5 hours | Python required
This workshop teaches you how to extend napari’s functionality through scripting and custom code. You’ll learn your way around the napari GUI, control the viewer from Python, set physical scales and units, work with cloud-native formats like OME-Zarr, build interactive widgets with magicgui, respond to layer events and mouse interactions, and package your custom tools as pip-installable napari plugins.
Workshop schedule¶
| Time | Activity | Duration |
|---|---|---|
| 0:00 | Block 1 — Welcome and GUI Walkthrough | 55 min |
| 0:55 | ☕ Break | 10 min |
| 0:55 | Block 2 — Python, Data, and Metadata | 65 min |
| 2:00 | ☕ Break | 10 min |
| 2:15 | Block 3 — Custom Widgets & Interactions | 70 min |
| 3:25 | ☕ Break | 10 min |
| 3:40 | Block 4 — From Script to Plugin | 60 min |
| 4:40 | Wrap-up, survey, resources | 10 min |
Prerequisites¶
Completing the installation instructions
Comfortable writing Python functions
Basic familiarity with NumPy and scientific Python libraries
Basic usage of Jupyter notebooks and the command line