Skip to main content

zarr-tools

Convert nd2 to zarr

License PyPI Python Version tests codecov

Installation

pip install zarr-tools

Usage

As command line

python -m zarr-tools file.nd2

This will produce the zarr dataset with default 5 steps of binning for xy dimensions.

As python module

import nd2
import zarr_tools

data = nd2.ND2File("input.nd2").to_dask()
zarr_tools.convert.to_zarr(
    data,
    channel_axis=1,
    path="output.zarr", 
    steps=4, 
    name=['BF','TRITC'], 
    colormap=['gray','green'],
    lut=((1000,30000),(440, 600)),
)

Metadata

Release files for zarr-tools 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zarr-tools 0.6.0
File Size Uploaded Provenance Actions
zarr_tools-0.6.0.tar.gz 9.5 kB Without provenance Details for zarr_tools-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zarr-tools 0.6.0
File Interpreter ABI Platform Actions
zarr_tools-0.6.0-py3-none-any.whl Python 3 none any Details for zarr_tools-0.6.0-py3-none-any.whl

Total release size: 16.4 kB

Release files / zarr_tools-0.6.0.tar.gz

Download URL zarr_tools-0.6.0.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
542367ffa8b4e18faf888d0463f4627d1f4117736c1e01eeb8324be8ae7f0104
BLAKE2b-256 checksum
How to use checksums
2815513e7d2d25d9cca205d8d90c3ee0e828456447c1cc177102b89ddd646d3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / zarr_tools-0.6.0-py3-none-any.whl

Download URL zarr_tools-0.6.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cca33739e12ca342c5880d53655719309c5f7947b06ee69c7b9b532b3897eb77
BLAKE2b-256 checksum
How to use checksums
53b7d79510e26799991db786f5fc2f2fd296a026d4c5beb0d34bfcd80f29224a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for zarr-tools 0.6.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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