napari plugin engine
DEPRECATED:
This project is deprecated. Please use npe2 instead.
napari-plugin-engine is the first generation napari plugin engine. We
recommend:
- new plugins use the second generation npe2
- existing plugins migrate to npe2 using the Migration Guide in our docs.
napari-plugin-engine is a fork of pluggy,
modified by the napari team.
There are some API and feature changes, including:
- discovery via naming convention as well as entry_points
- support for reordering of hook calls after registration.
- enhanced API for retrieving plugin package metadata.
- modified plugin call and registration exception handling
- modified
HookResultobject and hook call loop, with ability to retrieve theHookImplementationresponsible for the result. - lazy plugin discovery
- some changes to variable and attribute naming
- removed all deprecated code
- type annotations on everything
- pytest fixtures for testing
- a couple napari-specific convenience imports
For usage overview and a reference for the napari-plugin-engine API, see our
Documentation
(see also: the pluggy documentation)
install
pip install napari-plugin-engine
Usage
see documentation
Metadata
Release files for napari-plugin-engine 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari_plugin_engine-0.2.1.tar.gz | 55.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_plugin_engine-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 89.7 kB
Release files / napari_plugin_engine-0.2.1.tar.gz
| Download URL | napari_plugin_engine-0.2.1.tar.gz |
|---|---|
| Size | 55.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46829cf02f368c8f2f1aa8b998ec73bcf14a2c1f5c15abd94b82154d7aef510d
|
|
BLAKE2b-256 checksum How to use checksums |
9472c653308edaf7f7c84d82e388a1c46bc8f26c385027af58b5bf728f600b47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / napari_plugin_engine-0.2.1-py3-none-any.whl
| Download URL | napari_plugin_engine-0.2.1-py3-none-any.whl |
|---|---|
| Size | 33.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de30babe6fd9477816f037207938a2da7faeddc0e9e8663cb29f3d74235b6dc5
|
|
BLAKE2b-256 checksum How to use checksums |
06bc2509813cddd0e02736121e21bef54deeec7f0f89af2c6096d753ee1feb09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|