A Napari plugin for OME-Arrow and OME-Parquet bioimage data
Project description
napari-ome-arrow
napari-ome-arrow opens OME image data in napari using the OME-Arrow library.
Supported inputs
- Typed OME-Arrow dataset directories (
*.ome-arrow) - Nested OME-Arrow tables in Parquet (
*.ome.parquet,*.parquet,*.pq) - OME-Vortex files (
*.ome.vortex,*.vortex) - OME-TIFF and TIFF files (
*.ome.tif,*.ome.tiff,*.tif,*.tiff) - OME-Zarr stores (
*.ome.zarr,*.zarr) - Numbered image stacks and stack patterns containing
<,>, or* - NumPy arrays (
*.npy)
Multi-image OME-Arrow datasets and multi-row nested tables are loaded as multiple napari layers.
Installation
Python 3.11 or newer is required.
Install the plugin into an existing napari environment:
pip install napari-ome-arrow
Or install napari with a Qt backend at the same time:
pip install "napari-ome-arrow[pyqt6]"
OME-Vortex support requires one additional extra:
pip install "napari-ome-arrow[vortex]"
Usage
Open napari, then drag a supported file or directory into the viewer. You can also start napari with a path:
napari sample.ome.parquet
napari images.ome-arrow
The plugin loads data as either image or labels layers. It chooses the layer type in this order:
NAPARI_OME_ARROW_LAYER_TYPE, when set toimageorlabels.- OME-Arrow
image_typemetadata, when available. - A napari prompt.
imagewhen running without a Qt application.
Set the mode explicitly for scripts or repeatable commands:
NAPARI_OME_ARROW_LAYER_TYPE=labels napari segmentation.ome.parquet
For a numbered stack, select the files together or provide a pattern:
napari "stack/z<000-120>.tif"
Configuration
| Environment variable | Purpose |
|---|---|
NAPARI_OME_ARROW_LAYER_TYPE |
Load as image or labels |
NAPARI_OME_ARROW_PARQUET_COLUMN |
Select an OME-Arrow struct column in Parquet |
NAPARI_OME_ARROW_VORTEX_COLUMN |
Select an OME-Arrow struct column in Vortex |
NAPARI_OME_ARROW_STACK_SCALE |
Set stack spacing as Z,Y,X or T,C,Z,Y,X |
Multiple rows are displayed in napari's grid view. Image stacks with a real Z dimension open in 3D. If stack spacing is missing, the plugin can prompt for it when a Qt application is available.
Development
See CONTRIBUTING.md for setup and test instructions.
License
This project uses the BSD 3-Clause License. See LICENSE.
Report problems through the issue tracker.
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 napari_ome_arrow-0.0.6.tar.gz.
File metadata
- Download URL: napari_ome_arrow-0.0.6.tar.gz
- Upload date:
- Size: 272.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25d2cee65a76e86a3ae3463bd40aa84471502ca4503941fa5128f0dd6d800071
|
|
| MD5 |
2543b3e050dc241bd3941625af7bc48c
|
|
| BLAKE2b-256 |
ba91a198576dc52b2803cf72c655418fd5cbd38fbcc104a52c6c87e03bd94c86
|
Provenance
The following attestation bundles were made for napari_ome_arrow-0.0.6.tar.gz:
Publisher:
publish-pypi.yml on WayScience/napari-ome-arrow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_ome_arrow-0.0.6.tar.gz -
Subject digest:
25d2cee65a76e86a3ae3463bd40aa84471502ca4503941fa5128f0dd6d800071 - Sigstore transparency entry: 1900633592
- Sigstore integration time:
-
Permalink:
WayScience/napari-ome-arrow@f3d43171b9546752217e9b5a5f9dbd21feff41b6 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/WayScience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f3d43171b9546752217e9b5a5f9dbd21feff41b6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file napari_ome_arrow-0.0.6-py3-none-any.whl.
File metadata
- Download URL: napari_ome_arrow-0.0.6-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ad906a11a265e7f868e1f689bd60dfabc1ff7e78599739bbafa796792052d3f
|
|
| MD5 |
0a25b451cb1fe4964b6aed9c0c25cb28
|
|
| BLAKE2b-256 |
8d664e62e2a21ebb5e1b8f3d697dd73fd85312470745336116aa0b1e847f7134
|
Provenance
The following attestation bundles were made for napari_ome_arrow-0.0.6-py3-none-any.whl:
Publisher:
publish-pypi.yml on WayScience/napari-ome-arrow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_ome_arrow-0.0.6-py3-none-any.whl -
Subject digest:
5ad906a11a265e7f868e1f689bd60dfabc1ff7e78599739bbafa796792052d3f - Sigstore transparency entry: 1900633834
- Sigstore integration time:
-
Permalink:
WayScience/napari-ome-arrow@f3d43171b9546752217e9b5a5f9dbd21feff41b6 -
Branch / Tag:
refs/tags/v0.0.6 - Owner: https://github.com/WayScience
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f3d43171b9546752217e9b5a5f9dbd21feff41b6 -
Trigger Event:
release
-
Statement type: