omero-web-zarr


Nameomero-web-zarr JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/ome/omero-web-zarr
SummaryOMERO.web plugin for OME-Zarr
upload_time2023-06-15 13:45:49
maintainer
docs_urlNone
authorThe Open Microscopy Team
requires_python
licenseAGPL-3.0
keywords omero zarr ome web
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/ome/omero-web-zarr/workflows/OMERO/badge.svg
    :target: https://github.com/ome/omero-web-zarr/actions

.. image:: https://badge.fury.io/py/omero-web-zarr.svg
    :target: https://badge.fury.io/py/omero-web-zarr

omero-web-zarr
==============

OMERO.web plugin for OME-Zarr.

Implementation of [OME-NGFF](https://ngff.openmicroscopy.org/latest/) API with an omero-web app.

This plugin supports OME-NGFF v0.1, v03, v0.4.
For a given Image ID in OMERO, the following URL will refer to an OME-NGFF image::

    https://[omero-server]/zarr/image/ID.zarr/

Note: This app has not been extensively tested and should **not** be considered "production ready".

Currently supports [OME-NGFF v0.3](https://ngff.openmicroscopy.org/0.3/index.html) and
[OME-NGFF v0.4](https://ngff.openmicroscopy.org/0.4/index.html).

Development
-----------

Install with::

    $ pip install -e .

Configuration

::

    $ omero config append omero.web.apps '"omero_web_zarr"'

    # Allow to open-with Vizarr

    $ omero config append omero.web.open_with '["web_zarr_vizarr", "omero_web_zarr_index", {"supported_objects":["image"], "label": "Vizarr", "script_url": "omero_web_zarr/openwith.js"}]'

    # Open with ome-ngff-validator

    $ omero config append omero.web.open_with '["web_zarr_validator", "omero_web_zarr_index", {"supported_objects":["image"], "label": "NGFF validator", "script_url": "omero_web_zarr/openwith_validator.js"}]'


Then you will be able to access OMERO Images in OME-NGFF format v0.3 or v0.4 with a URLs like::

    # base URL for Image ID
    [omero-server]/zarr/v0.4/image/[ID].zarr

    # URLS for .zattrs, .zgroup
    [omero-server]/zarr/v0.4/image/[ID].zarr/.zattrs
    [omero-server]/zarr/v0.4/image/[ID].zarr/.zgroup

    # .zarray of the dataset at path '0'
    [omero-server]/zarr/v0.4/image/[ID].zarr/0/.zarray

    # first 3D chunk of the dataset at path '0'
    [omero-server]/zarr/v0.4/image/[ID].zarr/0/0/0/0


You can see this in action using the [Vizarr](https://github.com/hms-dbmi/vizarr/) viewer.

This omero-web app self-hosts Vizarr to avoid CORS issues (delegating to https://hms-dbmi.github.io/vizarr/).

In the webclient UI you can use the context menu to `Open With > Vizarr`, or use your Image ID and go directly to::

    [omero-server]/zarr/vizarr/?source=[omero-server]/zarr/v0.4/image/[ID].zarr

Testing
-------

To run integration tests (in your omero-web conda environment above) with `pytest`.
See [OMERO testing docs](https://docs.openmicroscopy.org/latest/omero/developers/testing.html)
for setting `ICE_CONFIG` and dependencies etc., then::

    $ pytest test/integration/test_ngff.py

License
-------

The application is released under the AGPL.

Copyright
---------

2022-2023, The Open Microscopy Environment




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ome/omero-web-zarr",
    "name": "omero-web-zarr",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "omero,zarr,ome,web",
    "author": "The Open Microscopy Team",
    "author_email": "ome-devel@lists.openmicroscopy.org.uk",
    "download_url": "https://files.pythonhosted.org/packages/20/7c/c05cf8d209841dd3b7f50fac7978c0a780b41a5bebdfe84d64bb280f6057/omero-web-zarr-0.1.1.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/ome/omero-web-zarr/workflows/OMERO/badge.svg\n    :target: https://github.com/ome/omero-web-zarr/actions\n\n.. image:: https://badge.fury.io/py/omero-web-zarr.svg\n    :target: https://badge.fury.io/py/omero-web-zarr\n\nomero-web-zarr\n==============\n\nOMERO.web plugin for OME-Zarr.\n\nImplementation of [OME-NGFF](https://ngff.openmicroscopy.org/latest/) API with an omero-web app.\n\nThis plugin supports OME-NGFF v0.1, v03, v0.4.\nFor a given Image ID in OMERO, the following URL will refer to an OME-NGFF image::\n\n    https://[omero-server]/zarr/image/ID.zarr/\n\nNote: This app has not been extensively tested and should **not** be considered \"production ready\".\n\nCurrently supports [OME-NGFF v0.3](https://ngff.openmicroscopy.org/0.3/index.html) and\n[OME-NGFF v0.4](https://ngff.openmicroscopy.org/0.4/index.html).\n\nDevelopment\n-----------\n\nInstall with::\n\n    $ pip install -e .\n\nConfiguration\n\n::\n\n    $ omero config append omero.web.apps '\"omero_web_zarr\"'\n\n    # Allow to open-with Vizarr\n\n    $ omero config append omero.web.open_with '[\"web_zarr_vizarr\", \"omero_web_zarr_index\", {\"supported_objects\":[\"image\"], \"label\": \"Vizarr\", \"script_url\": \"omero_web_zarr/openwith.js\"}]'\n\n    # Open with ome-ngff-validator\n\n    $ omero config append omero.web.open_with '[\"web_zarr_validator\", \"omero_web_zarr_index\", {\"supported_objects\":[\"image\"], \"label\": \"NGFF validator\", \"script_url\": \"omero_web_zarr/openwith_validator.js\"}]'\n\n\nThen you will be able to access OMERO Images in OME-NGFF format v0.3 or v0.4 with a URLs like::\n\n    # base URL for Image ID\n    [omero-server]/zarr/v0.4/image/[ID].zarr\n\n    # URLS for .zattrs, .zgroup\n    [omero-server]/zarr/v0.4/image/[ID].zarr/.zattrs\n    [omero-server]/zarr/v0.4/image/[ID].zarr/.zgroup\n\n    # .zarray of the dataset at path '0'\n    [omero-server]/zarr/v0.4/image/[ID].zarr/0/.zarray\n\n    # first 3D chunk of the dataset at path '0'\n    [omero-server]/zarr/v0.4/image/[ID].zarr/0/0/0/0\n\n\nYou can see this in action using the [Vizarr](https://github.com/hms-dbmi/vizarr/) viewer.\n\nThis omero-web app self-hosts Vizarr to avoid CORS issues (delegating to https://hms-dbmi.github.io/vizarr/).\n\nIn the webclient UI you can use the context menu to `Open With > Vizarr`, or use your Image ID and go directly to::\n\n    [omero-server]/zarr/vizarr/?source=[omero-server]/zarr/v0.4/image/[ID].zarr\n\nTesting\n-------\n\nTo run integration tests (in your omero-web conda environment above) with `pytest`.\nSee [OMERO testing docs](https://docs.openmicroscopy.org/latest/omero/developers/testing.html)\nfor setting `ICE_CONFIG` and dependencies etc., then::\n\n    $ pytest test/integration/test_ngff.py\n\nLicense\n-------\n\nThe application is released under the AGPL.\n\nCopyright\n---------\n\n2022-2023, The Open Microscopy Environment\n\n\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0",
    "summary": "OMERO.web plugin for OME-Zarr",
    "version": "0.1.1",
    "project_urls": {
        "Download": "https://github.com/ome/omero-web-zarr/archive/v0.1.1.tar.gz",
        "Homepage": "https://github.com/ome/omero-web-zarr"
    },
    "split_keywords": [
        "omero",
        "zarr",
        "ome",
        "web"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "092f1867671044c387eb496d7140e1606fee09c4cd734ac20c20d4caddb4e4e5",
                "md5": "2411411dddc2dbd472e184993a3a089f",
                "sha256": "05a876c8a0a9e58e0d5003941215d529f8a768340c278aac7726afdecd5be3d8"
            },
            "downloads": -1,
            "filename": "omero_web_zarr-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2411411dddc2dbd472e184993a3a089f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 22209,
            "upload_time": "2023-06-15T13:45:47",
            "upload_time_iso_8601": "2023-06-15T13:45:47.861945Z",
            "url": "https://files.pythonhosted.org/packages/09/2f/1867671044c387eb496d7140e1606fee09c4cd734ac20c20d4caddb4e4e5/omero_web_zarr-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "207cc05cf8d209841dd3b7f50fac7978c0a780b41a5bebdfe84d64bb280f6057",
                "md5": "67bb9dbf74103d6496025eb48aa61a7d",
                "sha256": "7b956728c40b31e5390853d79e678d3085b68a57dc7f05044fdbff3ac00c4b69"
            },
            "downloads": -1,
            "filename": "omero-web-zarr-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "67bb9dbf74103d6496025eb48aa61a7d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 21293,
            "upload_time": "2023-06-15T13:45:49",
            "upload_time_iso_8601": "2023-06-15T13:45:49.656296Z",
            "url": "https://files.pythonhosted.org/packages/20/7c/c05cf8d209841dd3b7f50fac7978c0a780b41a5bebdfe84d64bb280f6057/omero-web-zarr-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-15 13:45:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ome",
    "github_project": "omero-web-zarr",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "omero-web-zarr"
}
        
Elapsed time: 0.10994s