Awesome
npe2
napari plugin refactor
see also https://github.com/napari/napari/issues/3115
Documentation
For documentation on authoring npe2 plugins, see the napari plugin docs. These include:
- the manifest reference
- the contribution guide
Command line tool
Includes a command line tool npe2
with the following commands:
Commands:
cache Cache utils
convert Convert first generation napari plugin to new (manifest) format.
parse Show parsed manifest as yaml
validate Validate manifest for a distribution name or manifest filepath.
examples:
# convert current directory to an npe2-ready plugin
# (note: the repo must also be installed and importable in the current environment)
npe2 convert .
npe2 validate your-plugin-package
npe2 parse your-plugin-package