View and edit layer metadata
Project description
napari-metadata
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
724c8801a35b1ee80a2bacf3ea895bada40a958486a19cef8f8f153916b2274c
|
|
| MD5 |
0df6d83e271c9d9477866718883d142a
|
|
| BLAKE2b-256 |
b1c78ecf873b0c3d1f0f882feec703066732498fe78a67837f67414134ae4e0c
|
Provenance
The following attestation bundles were made for napari_metadata-0.1.0.tar.gz:
Publisher:
test_and_deploy.yml on napari/napari-metadata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_metadata-0.1.0.tar.gz -
Subject digest:
724c8801a35b1ee80a2bacf3ea895bada40a958486a19cef8f8f153916b2274c - Sigstore transparency entry: 837455135
- Sigstore integration time:
-
Permalink:
napari/napari-metadata@c13be8dfdda7baf9356e5322c7bfc0d2a7a958a4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/napari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@c13be8dfdda7baf9356e5322c7bfc0d2a7a958a4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_metadata-0.1.0-py3-none-any.whl.
File metadata
- Download URL: napari_metadata-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883a7b081d7b04bcdb171d906d349938671256e55915b862f046634b5ab77467
|
|
| MD5 |
001cf67dc98c68e25e49cc569f0b2a4f
|
|
| BLAKE2b-256 |
54a0a2bdd77300eed051f6bfc505d335d25ea7e197a6d9b4882f5a4f89cbc88b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
napari_metadata-0.1.0-py3-none-any.whl -
Subject digest:
883a7b081d7b04bcdb171d906d349938671256e55915b862f046634b5ab77467 - Sigstore transparency entry: 837455190
- Sigstore integration time:
-
Permalink:
napari/napari-metadata@c13be8dfdda7baf9356e5322c7bfc0d2a7a958a4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/napari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_deploy.yml@c13be8dfdda7baf9356e5322c7bfc0d2a7a958a4 -
Trigger Event:
push
-
Statement type: