Skip to main content

napari-omero-downloader-cci

License MIT PyPI Python Version tests napari hub npe2 Copier

A plugin that allows napari to connect to the Omero CCI server to visualize and download image data.


Contents


Installation

Standalone napari

A standalone version of napari is available at napari.org, and the plugin is available on the napari hub. Just follow the installation instruction from napari. You can install the plugin from the plugin manager.

Only work from version v0.3.8 and upward.

Via Conda Forge

First napari installation

First install miniconda from conda forge: [https://conda-forge.org/download/]. This is mandatory!

Recommanded, create an environment for napari, bundling both napari and omero.

conda create -n napari -c conda-forge napari pyqt --yes
conda activate napari
napari

Or you can download from my github repo the install_napari_omero (bat for window, sh for Mac/Linux). This will also install the plugin!

Note: conda-forge does not provide OMERO-py or ICE bindings for Python ≥3.10. When installing the plugin via pip, the plugin will install its own OMERO + Ice wheels. This is normal and expected.

Plugin installation

You can install the plugin through the napari plugin manager: Plugins -> Install/Uninstall Plugins.. -> search for 'omero'.

napari plugin

The plugin is named Omero Downloader CCI.

Or you can install napari-omero-downloader-cci via pip:

pip install napari-omero-downloader-cci

This will automatically install:

  • Qt (via napari)
  • all plugin dependencies

No conda required.

When you first start the plugin, napari will prompt you to install:

  • the correct zeroc-ice wheel for your OS and Python version
  • omero-py 5.21.2

The plugin will check and install these for you.

To install latest development version :

pip install git+https://github.com/CCI-GU-Sweden/napari-omero-downloader-cci.git

— or, during development —

pip install -e .

For power user, the option to install the plugin without the dependencies:

pip install --no-deps napari-omero-downloader-cci

Dependency list:

Napari is also required, but not in the dependency.

Python version support locked by zeroc-ice: from 3.8 to 3.12. Default is python 3.10.

Python version support

This plugin supports Python 3.8 – 3.12, matching the available zeroc-ice wheels by Glencoe Software. Newer Python versions will be supported once Glencoe publishes corresponding wheels.

Running the plugin after Installation

The easy step: download from my github repo the start_napari (bat for window, sh for Mac/Linux) and run it. It should open python, activate the env then run napari (can take 10-30 seconds the first time!)

Otherwise, open the conda-forge CLI, then:

conda activate napari
napari

The plug will be in the plugin tab.

plugin

Plugin

The plugin requires that you have access to Omero with the following features:

  • CLI enable
  • OAuth enable (2FA token)

Why this plugin?

Another solution outside of this plugin is available: omero.insight (openmicroscopy website), as well as a FiJi plugin.

However, they do not fullfill the prerequiste at the CCI: A simple tool to quickly visualize and download data while being secure with 2FA.

Login

In 'Options...', indicate the omero server address and port. The default is the one for the CCI at the University of Gothenburg.

options

Click on the link, login on Omero and grab a key. This key is valid only for a certain amount of time and for this session. Generating a new key, or closing your session (via the 'Disconnect') will invalidate the key.

Enter the key in the field and click on 'Connect'.

login

The square next to the connect button is indicating the connection status:

  • Red: not connected
  • Yellow: busy
  • Green: ready

Groups and users

If you are part of multiple group, you can change group with the drop down menu. If your Omero administrator allows it, you can also see the data of other people in the same group. If data are being imported on the Omero server, you may need to refresh the visualization to be able to see them.

Queuing data for download

The data will be organized as a hierachical tree. Project -> Database -> Image.

Clicking on the arrow allow you to reveal the contained data.

Double click to add the element in the 'Download Queue'. Double clicking on a project will queue the whole project. Same for a dataset. However, double clicking on one image will download only this image.

There is a color on the 'OMERO Data' as well:

  • Green: will download all the child of the element
  • Yellow: will partially download the child of the element

You can remove an element by double clicking on it in the 'Download queue'.

trees

Data Visualization

It is possible to visualize the selected data (in the 'OMERO Data' tree) by clicking on the 'Visualize' button. This will download and display only one plane (first time point, middle of stack in case of multi-dimensional image). It is possible to scroll the data, but keep in mind that this is streamed from the Omero server. Do not expect high performance specially if the image is large!

visualize

Data Downloading

To download the data that are queued, select a directory to save them (with the 'Browse...' button) then it the 'Download' button.

The data will be organized in a similar way that they are on the Omero server. If you have a key-value pair called 'Folder' associated to an image, the image will be nested on level deeper, in this folder.

In option, if download attachement and key-value pair is enable, these files will also be downloaded alongside the image.

progressbar

folder

Data deletion

This napari plugin is NOT allowed to delete data on the Omero server. If you need to delete data, you should do it via Omero.web.

Troubleshooting

❌ "No Qt bindings found"

Install napari with Qt:

pip install "napari[qt]"

❌ "Cannot import Ice"

This means the correct zeroc-ice wheel was not installed. Check your Python version (3.8–3.12) and OS match the supported versions. Search for the correct wheel on Glencoe, then you can install them with (for example, windows and python 3.10):

pip install @ "zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-win-x86_64/releases/download/20240325/zeroc_ice-3.6.5-cp310-cp310-win_amd64.whl"

Do NOT install directly zeroc-ice from pip: it will fail.

❌ "Cannot import omero"

Ensure the plugin was installed normally:

pip install napari-omero-downloader-cci

If needed, force the reinstall of omero for the correct version:

pip install --upgrade "omero-py == 5.21.2"

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the MIT license, "napari-omero-downloader-cci" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Metadata

Release files for napari-omero-downloader-cci 0.4.6

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-omero-downloader-cci 0.4.6
File Size Uploaded Provenance Actions
napari_omero_downloader_cci-0.4.6.tar.gz 757.4 kB With provenance Details for napari_omero_downloader_cci-0.4.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-omero-downloader-cci 0.4.6
File Interpreter ABI Platform Actions
napari_omero_downloader_cci-0.4.6-py3-none-any.whl Python 3 none any Details for napari_omero_downloader_cci-0.4.6-py3-none-any.whl

Total release size: 784.7 kB

Release files / napari_omero_downloader_cci-0.4.6.tar.gz

Download URL napari_omero_downloader_cci-0.4.6.tar.gz
Size 757.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d6f7836e41fe02456152d9619491c887569387e292263f56786d241813417b9e
BLAKE2b-256 checksum
How to use checksums
40f6e704bdbcd5d1b6ad8da24a1e7e0a20d489c9dd2924e72d332cd03f30faf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2025.

Transparency log

Release files / napari_omero_downloader_cci-0.4.6-py3-none-any.whl

Download URL napari_omero_downloader_cci-0.4.6-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ef3a9b01facc7d80338b50ffc084e707ccda27df6559d8cd5e21d43b339c91b
BLAKE2b-256 checksum
How to use checksums
63a592223fe84404a233cf049a9492c519178fa797b3705df7eecfc9f3617596
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2025.

Transparency log

Security for napari-omero-downloader-cci 0.4.6

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for napari_omero_downloader_cci-0.4.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2025.

Transparency log

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