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.2.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.2-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zarrmony-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 eb1480baeae4d82fa58c579f7be149d99498c8dbf8251024436eda96a004b474
MD5 90ee9b5c9cd13455cde0c5d84cdc566b
BLAKE2b-256 269d10a2f9baa5494b2202a8b0d2a5af287290c223e47016140f8694112a3dbd

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarrmony-0.1.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: zarrmony-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 85a87aee543bc1ec928791d527c7ba4fe91c42ef56621510c449c8fbf9999055
MD5 7a824ae1910e94e5479008ab30282ba9
BLAKE2b-256 b19e991c07d258527011dc9bc37b53e94ba7482cecc4ed21308b4df1111ac59a

See more details on using hashes here.

Provenance

The following attestation bundles were made for zarrmony-0.1.2-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