Skip to main content

Implementation of images in Zarr files.

Project description

Experimental support for images stored in Zarr filesets.

Features

Installation

Install the latest release of ome-zarr from PyPI:

pip install ome-zarr

Install developer mode to run from your current branch:

git clone git@github.com:ome/ome-zarr-py.git
cd ome-zarr-py
pip install -e .

Usage

Open Zarr filesets containing images with associated OME metadata.

Use the ome_zarr command to interrogate and download Zarr datasets:

$ ome_zarr info https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/6001240.zarr/ $ ome_zarr download https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/6001240.zarr/ $ ome_zarr info 6001240.zarr/

For example, to load select images by their ID in the Image Data Resource such as http://idr.openmicroscopy.org/webclient/?show=image-6001240:

$ napari 'https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/6001240.zarr/'

OR in python:

import napari
with napari.gui_qt():
    viewer = napari.Viewer()
    viewer.open('https://s3.embassy.ebi.ac.uk/idr/zarr/v0.1/6001240.zarr/')

Alternatively, download one of these datasets with all associated metadata and open locally:

$ napari '/tmp/6001240.zarr/'

If single zarray is passed to the plugin, it will be opened without the use of the metadata:

$ napari '/tmp/6001240.zarr/0'

Release process

This repository uses bump2version to manage version numbers. To tag a release run:

$ bumpversion release

This will remove the .dev0 suffix from the current version, commit, and tag the release.

To switch back to a development version run:

$ bumpversion --no-tag [major|minor|patch]

specifying major, minor or patch depending on whether the development branch will be a major, minor or patch release. This will also add the .dev0 suffix.

Remember to git push all commits and tags.

License

Distributed under the terms of the GNU GPL v3.0 license, “ome-zarr-py” is free and open source software

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

ome-zarr-0.0.2.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

ome_zarr-0.0.2-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file ome-zarr-0.0.2.tar.gz.

File metadata

  • Download URL: ome-zarr-0.0.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for ome-zarr-0.0.2.tar.gz
Algorithm Hash digest
SHA256 421ccffcfa01deea149c956bdb008d672594434f311fbc4a7c6b7e1742012849
MD5 8c98fe7afd3f51a943ab1cce3ce25396
BLAKE2b-256 b6362c8905f6b0382218c72b347b3b28bf29426427a4a16648f7961d11c0cc11

See more details on using hashes here.

File details

Details for the file ome_zarr-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ome_zarr-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9

File hashes

Hashes for ome_zarr-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5f4f7fd217bef7c94faca95572f8b2539dd1a1f167746f7b9e7443dbcff92b5
MD5 7a593eaea6bcce1e7fc2cc1d50f6e645
BLAKE2b-256 757dfb0be398c2e5d35228e5bd9875cd351d9af560b2621547cbfc396f73c1db

See more details on using hashes here.

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