View and edit layer metadata
Project description
napari-metadata
napari-metadata is a napari plugin that visually exposes the functionality of napari's handling of layer metadata by directly connecting with the public API of napari layers.
[!NOTE] This plugin is in active development. You should not depend on any API, as it is likely to change. Instead, understand that this plugin intends to serve as a GUI to manage already available public API of napari layers. If you find a feature of this plugin useful, but it is not available in napari's core API, please consider opening an issue here or in the napari repository.
Installation
You can install napari-metadata from PyPI:
pip install napari-metadata
or from conda-forge:
conda install napari-metadata
Usage
This plugin adds a dock widget to napari that allows you to view and edit metadata for each layer in your napari viewer. The widget is intended to be used in the typical vertical widget layout and additionally is designed to work great in a horizontal layout.
File Metadata
The File Metadata section displays metadata related to the source of the layer, such as name, shape, dtype, and file size. All information except layer name is read-only.
Axes Metadata
The Axes Metadata section allows you to view and edit metadata related to the axes of the layer, such as axis labels, transforms, scales, and units. You can modify these properties directly in the widget, and the changes will be reflected in the layer, and visa versa.
[!TIP] Layers can be linked using the napari layer context menu
Link Layers. Whenaxes metadatais changed in the widget, all linked layers will update theiraxes metadataaccordingly.
Axes Inheritance
The Axes Inheritance widget can be used to propagate axes metadata from one layer to other layers. Select a template layer from the dropdown, and apply any axes metadata with checked boolean boxes to the currently active layer and any linked layers.
Contributing
Contributions are very welcome! Please see the CONTRIBUTING.md file for details.
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.2.0.tar.gz.
File metadata
- Download URL: napari_metadata-0.2.0.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1b8597b2e9f1bfe8107e0eb8e3d6689b663bccb8b55d669ea54491425e6e83a
|
|
| MD5 |
65c6e846149def8a4d31ec41c7bc56e5
|
|
| BLAKE2b-256 |
2bf211663a8a3a48314718997c9725885096f5386d2b8b290fcda01e9784d150
|
Provenance
The following attestation bundles were made for napari_metadata-0.2.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.2.0.tar.gz -
Subject digest:
a1b8597b2e9f1bfe8107e0eb8e3d6689b663bccb8b55d669ea54491425e6e83a - Sigstore transparency entry: 1074851056
- Sigstore integration time:
-
Permalink:
napari/napari-metadata@f92b88f8004f4d46c4a112e1c58bf90012756651 -
Branch / Tag:
refs/tags/v0.2.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@f92b88f8004f4d46c4a112e1c58bf90012756651 -
Trigger Event:
push
-
Statement type:
File details
Details for the file napari_metadata-0.2.0-py3-none-any.whl.
File metadata
- Download URL: napari_metadata-0.2.0-py3-none-any.whl
- Upload date:
- Size: 29.4 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 |
05703011d4ac3274470ad314debfc24d076e18dd8865fb2c8faca4a314cc072e
|
|
| MD5 |
e5af864f9ca51daad1c91b5d1cd5a41c
|
|
| BLAKE2b-256 |
7e38394ac39c05ff4740a15570374195e6bf3de9e29b7b8dc1d0a4a93d9bc5a5
|
Provenance
The following attestation bundles were made for napari_metadata-0.2.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.2.0-py3-none-any.whl -
Subject digest:
05703011d4ac3274470ad314debfc24d076e18dd8865fb2c8faca4a314cc072e - Sigstore transparency entry: 1074851107
- Sigstore integration time:
-
Permalink:
napari/napari-metadata@f92b88f8004f4d46c4a112e1c58bf90012756651 -
Branch / Tag:
refs/tags/v0.2.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@f92b88f8004f4d46c4a112e1c58bf90012756651 -
Trigger Event:
push
-
Statement type: