Reusable PyQt6 dialog for browsing and retrieving images from OMERO via ICE
Project description
omero-browser-qt
Reusable PyQt6 dialog for browsing and retrieving images from OMERO servers.
Features
- Login dialog with server-name history, automatic 10-minute OMERO session reuse, and runtime-only credential recall while the app stays open
- QuPath-style browser — group/owner filters, lazy-loading tree, thumbnail preview, attribute table, and name filter
- ICE pixel loading — full 5-D arrays or tile-based dask lazy loading for large / pyramidal images
- OMERO viewer — installable multi-channel viewer for 2D slices, projections, channel toggling, and playback
- 3D volume viewer — GPU-accelerated rendering via vispy with MIP, Attenuated MIP, Translucent, Average, Isosurface, Additive, and context-aware MinIP
- Interactive 3D controls — per-mode slider behavior, downsampling, smooth/nearest interpolation toggle, and free Arcball rotation
- Embeddable in any PyQt6 application
Prerequisites
omero-py requires ZeroC ICE (pre-built wheels for Python 3.10–3.12):
# Example for Python 3.11 on Windows — see docs for all platforms
pip install https://github.com/glencoesoftware/zeroc-ice-py-win-x86_64/releases/download/20240325/zeroc_ice-3.6.5-cp311-cp311-win_amd64.whl
pip install omero-py
Or via conda: conda install -c conda-forge zeroc-ice omero-py
See the Getting Started guide for all platforms.
Installation
pip install omero-browser-qt
This installs the reusable browser/dialog package and the omero_viewer
launcher. On Windows, pip creates omero_viewer.exe in the environment's
Scripts directory.
For full 3D viewer support:
pip install "omero-browser-qt[viewer]"
Quick start
from PyQt6.QtWidgets import QApplication
from omero_browser_qt import OmeroGateway, OmeroBrowserDialog
app = QApplication([])
gw = OmeroGateway()
for img in OmeroBrowserDialog.select_images(gateway=gw):
print(img.getName(), img.getId())
gw.disconnect()
For structured selection with project/dataset breadcrumbs:
for ctx in OmeroBrowserDialog.select_image_contexts():
print(ctx.breadcrumb, ctx.image.getId())
OMERO Viewer
omero_viewer
From a source checkout, you can also run:
python -m omero_browser_qt.omero_viewer
See the OMERO Viewer guide for controls and features.
The login flow silently reuses a valid OMERO session for up to ten minutes across app restarts. The password itself is not written to disk.
Documentation
Full documentation: https://cellular-imaging-amsterdam-umc.github.io/omero-browser-qt/
- Getting Started — prerequisites, install, first workflow
- User Guide — browser, pixel loading, 3D viewer
- API Reference — auto-generated from docstrings
- Examples — recipes and the OMERO Viewer
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omero_browser_qt-0.2.2.tar.gz.
File metadata
- Download URL: omero_browser_qt-0.2.2.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5fa86bc84d58c9cbb6970b49021fcce7e7c8d4f65002fa7d4b22c327bc9e110
|
|
| MD5 |
60fce8418733716e061e6c0e298b925f
|
|
| BLAKE2b-256 |
0f595f75d2804901c012e42245042697f3c89a1b409b3ee4a2b272e2abf24137
|
File details
Details for the file omero_browser_qt-0.2.2-py3-none-any.whl.
File metadata
- Download URL: omero_browser_qt-0.2.2-py3-none-any.whl
- Upload date:
- Size: 58.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4a290ef430d03725df6beaae85fb0ade02396239f230fc615568a7b45ed4613
|
|
| MD5 |
58a9d2bef1321324816ba9df13fa83c0
|
|
| BLAKE2b-256 |
8bda4b8db071e7f82e863994f28ecfd7902c1ee62654a434d8a8523b4a90f00c
|