Skip to main content

ome-zarr-converters-tools

License PyPI Python Version CI codecov

A Python library that provides shared utilities for building OME-Zarr image converters. It handles tile management, image registration, filtering, validation, and writing OME-Zarr datasets.

Features

  1. Abstraction layer for building OME-Zarr images and HCS plates from microscope metadata and image data
  2. Customizable pipeline for filtering, validating, registering, and tiling images
  3. Python API for building custom converters, with optional Fractal integration for parallel processing
  4. Flexible input: parse tiles from DataFrames or construct them programmatically

Architecture Diagram

OME-Zarr Converters Tools Architecture

Getting Started

Install via pip:

pip install ome-zarr-converters-tools

For converting data stored on S3 (s3:// URLs), install the s3 extra:

pip install "ome-zarr-converters-tools[s3]"

Quickstart

Convert a tiles table (one row per tile: stage position, size, and image file) into a single OME-Zarr image:

import pandas as pd

from ome_zarr_converters_tools import (
    AcquisitionDetails,
    AutoTiling,
    ChannelInfo,
    ConverterOptions,
    OverwriteMode,
    StagePositionCorrections,
    WriterMode,
    build_default_registration_pipeline,
    single_images_from_dataframe,
    tiled_image_creation_pipeline,
    tiles_aggregation_pipeline,
)

acq = AcquisitionDetails(
    channels=[ChannelInfo(channel_label="DAPI")],
    xy_pixel_size=0.65,  # micrometers
    z_spacing=1.0,
)
tiles = single_images_from_dataframe(
    tiles_table=pd.read_csv("tiles.csv"), acquisition_details=acq
)
options = ConverterOptions()
tiled_image = tiles_aggregation_pipeline(
    tiles=tiles, converter_options=options, resource="/path/to/image/files"
)[0]
tiled_image_creation_pipeline(
    zarr_url="/path/to/output.zarr",
    tiled_image=tiled_image,
    registration_pipeline=build_default_registration_pipeline(
        StagePositionCorrections(), AutoTiling()
    ),
    converter_options=options,
    writer_mode=WriterMode.BY_FOV,
    overwrite_mode=OverwriteMode.NO_OVERWRITE,
    resource="/path/to/image/files",
)

See the tutorials for HCS plates, custom image loaders, and Fractal tasks.

Documentation

For detailed documentation, tutorials, and API reference, visit the official documentation.

The documentation includes:

Metadata

Release files for ome-zarr-converters-tools 1.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 ome-zarr-converters-tools 1.1.1
File Size Uploaded
ome_zarr_converters_tools-1.1.1.tar.gz 27.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for ome-zarr-converters-tools 1.1.1
File Interpreter ABI Platform
ome_zarr_converters_tools-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 MB

Release files / ome_zarr_converters_tools-1.1.1.tar.gz

Download URL ome_zarr_converters_tools-1.1.1.tar.gz
Size 27.1 MB
Tags Source
SHA-256 checksum
How to use checksums
35bc930b707c76a858f7657fd8245ce52e7c596ac47e667da9b553cd104a544b
BLAKE2b-256 checksum
How to use checksums
22871fed6a7de6475ad5d0320a9e0d7d9ba338437cf3470550374e6d3ee325f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release files / ome_zarr_converters_tools-1.1.1-py3-none-any.whl

Download URL ome_zarr_converters_tools-1.1.1-py3-none-any.whl
Size 93.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b442fd4565c9800446faac669001d4732c6959c9aaf49ca28b5a0b73033c44f8
BLAKE2b-256 checksum
How to use checksums
489857a26c0e20811653b11024916e15dbe462744d2aa2a3c68012b624a98381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log
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