Skip to main content

View and edit layer metadata

Project description

napari-metadata

tests codecov

This is a napari plugin that expands the functionality of napari's handling of layer metadata by using the Layer.metadata dictionary to store some extra metadata attributes.

https://user-images.githubusercontent.com/2608297/229252866-68117b59-c574-44f5-9420-c59028007d37.mp4

It provides a few contributions.

  • A reader to read some metadata from OME-Zarr images.
  • A writer to write some metadata to a multiscale OME-Zarr image.
  • A widget to control the extra attributes and view some other important read-only attributes.
  • Some sample data to demonstrate basic usage.

This plugin is still an experimental work in progress. As such, it is not widely distributed and you should not expect support or future maintenance.

This plugin lacks a public API by design. In particular, you should not rely on any of the extra keys or values in Layer.metadata in your own software of napari plugins. They are purely implementation details of this plugin.

You can of course feel free to use the plugin or any of its code, but by doing so accept ownership of any issues that arise. If you have ideas or comments about this work, feel free to file an issue.

Installation

You can install the latest development version of napari-metadata via pip:

pip install git+https://github.com/andy-sweet/napari-metadata.git

Alternatively, fork or clone this repository directly and install in editable mode for development:

pip install -e . --group dev

Findings

Since this plugin is an experiment, we performed some initial testing to assess its value. Overall sentiment was positive, though there were some suggestions and points of discussion that could be useful for related and future work.

We also received some feedback on the zulip topic where this plugin was announced, which may be useful to reference.

Contributing

Since this is still experimental, I don't encourage contributions and likely won't review PRs with much urgency.

License

Distributed under the terms of the BSD-3 license, "napari-metadata" 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

napari_metadata-0.1.0.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

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

napari_metadata-0.1.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file napari_metadata-0.1.0.tar.gz.

File metadata

  • Download URL: napari_metadata-0.1.0.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napari_metadata-0.1.0.tar.gz
Algorithm Hash digest
SHA256 724c8801a35b1ee80a2bacf3ea895bada40a958486a19cef8f8f153916b2274c
MD5 0df6d83e271c9d9477866718883d142a
BLAKE2b-256 b1c78ecf873b0c3d1f0f882feec703066732498fe78a67837f67414134ae4e0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_metadata-0.1.0.tar.gz:

Publisher: test_and_deploy.yml on napari/napari-metadata

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

File details

Details for the file napari_metadata-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_metadata-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 883a7b081d7b04bcdb171d906d349938671256e55915b862f046634b5ab77467
MD5 001cf67dc98c68e25e49cc569f0b2a4f
BLAKE2b-256 54a0a2bdd77300eed051f6bfc505d335d25ea7e197a6d9b4882f5a4f89cbc88b

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_metadata-0.1.0-py3-none-any.whl:

Publisher: test_and_deploy.yml on napari/napari-metadata

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