Skip to main content

napari plugin engine

License Build Status Docs Status codecov Python Version PyPI Deprecated


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 HookResult object and hook call loop, with ability to retrieve the HookImplementation 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

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)

Source distribution for napari-plugin-engine 0.2.1
File Size Uploaded
napari_plugin_engine-0.2.1.tar.gz 55.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-plugin-engine 0.2.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page