Skip to main content

Convert any bioimage file to OME-Zarr v0.5, preserving metadata.

Project description

zarrmony

Convert any bioimage file to OME-Zarr v0.5, preserving metadata.

Zarrmony reads proprietary microscopy formats (CZI, LIF, ND2, OME-TIFF, ...) via bioio and writes them as OME-Zarr v0.5 in the bioformats2raw.layout shape, with a configurable user-metadata gate, mean-pool pyramid generation, and a full audit trail of the conversion.

Status: v0.1 in active development. API and metadata schema are not yet stable.

Install

pip install zarrmony

Optional extras:

Extra Adds When you need it
gcs gcsfs Writing output to gs:// URIs
s3 s3fs Writing output to s3:// URIs
nd2 bioio-nd2 Reading Nikon ND2 input
ome-tiff bioio-ome-tiff Reading OME-TIFF input
all All of the above
dev pytest, ruff, pre-commit Contributing

CZI and LIF reader plugins are included by default.

Usage

CLI

zarrmony convert input.czi output.ome.zarr --metadata-file metadata.json
zarrmony inspect input.czi
zarrmony schema dump > zarrmony-metadata.schema.json

Library

from zarrmony import convert, UserMetadata

audit = convert(
    "input.lif",
    "output.ome.zarr",
    metadata=UserMetadata(...),
)

License

Apache-2.0. See LICENSE.

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

zarrmony-0.1.1.tar.gz (220.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zarrmony-0.1.1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file zarrmony-0.1.1.tar.gz.

File metadata

  • Download URL: zarrmony-0.1.1.tar.gz
  • Upload date:
  • Size: 220.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zarrmony-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2d61a13b26d0358b7e8692921b5454b31e3219d954f3def3e955d40de2c9f549
MD5 31db62650ffd6ea1ed38b82a70812e9d
BLAKE2b-256 b57b30dd64771a25b9dfe6d59ff6174c07789d7347e56b826ed4bef7bdb54e21

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarrmony-0.1.1.tar.gz:

Publisher: release.yml on ferrinm/zarrmony

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file zarrmony-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: zarrmony-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 26.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for zarrmony-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a69a8cd03322d8b56a5358996f42e971be3e51b5ed518f27cbe7480b2cd046d
MD5 fe832e6c621d5ffd60fa22e224dfdce6
BLAKE2b-256 20623998fd6dc53c430a0b33b4f7e0bea11da88e6d89e6eb9ef4cd54be561bd5

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarrmony-0.1.1-py3-none-any.whl:

Publisher: release.yml on ferrinm/zarrmony

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page