napari plugin engine, fork of pluggy
Project description
napari plugin engine
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
HookResult
object and hook call loop, with ability to retrieve theHookImplementation
responsible 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
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
napari-plugin-engine-0.2.0.tar.gz
(54.7 kB
view hashes)
Built Distribution
Close
Hashes for napari-plugin-engine-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa926f869d70e0d652c005661948cd0c7fee5508ae17d437937f34f5287590b3 |
|
MD5 | 54b6ab9d23044648f1b39305ecdbaf2e |
|
BLAKE2b-256 | c3a12794988f0075bfe18d7934516fb640af20b797001901c7900bfbc44d0a7a |
Close
Hashes for napari_plugin_engine-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd148b46ffb76f82623a6577741712f45ff30be66b3564fdc5446dfd7007ecc3 |
|
MD5 | da387c7883cc8375e3441bf6c5e0fc8d |
|
BLAKE2b-256 | c960eaf45290008cfb7cc1e99f6427540704fafc5c65a3a25ff0024085cd2e0d |