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.0a0.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.0a0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: napari_metadata-0.1.0a0.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.0a0.tar.gz
Algorithm Hash digest
SHA256 62d11c4eb482916cda83505a96fae256e0f028b383d908b4f089d7dc10af4117
MD5 7654e7addd4cc10d6aba885127004bea
BLAKE2b-256 4c48dccac42014d0c39496f5d9109f41d873701a87c9a1cd6c786557a47c5442

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_metadata-0.1.0a0.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.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_metadata-0.1.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 86932c0d2bd469b697546763e443810e715525b3bcd51afa584687a689346cca
MD5 9db869c46b3f3e5db83566a84d3cb357
BLAKE2b-256 583978f34bfa58f6d2a9320ce6ad440dc6ad24d3f20cc780eb2b39b51509b1a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for napari_metadata-0.1.0a0-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