Skip to main content

napari plugin engine, fork of pluggy

Project description

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

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.1.tar.gz (55.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napari_plugin_engine-0.2.1-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file napari_plugin_engine-0.2.1.tar.gz.

File metadata

  • Download URL: napari_plugin_engine-0.2.1.tar.gz
  • Upload date:
  • Size: 55.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napari_plugin_engine-0.2.1.tar.gz
Algorithm Hash digest
SHA256 46829cf02f368c8f2f1aa8b998ec73bcf14a2c1f5c15abd94b82154d7aef510d
MD5 a9f50f3c1d2445495120da6f02d4ccd2
BLAKE2b-256 9472c653308edaf7f7c84d82e388a1c46bc8f26c385027af58b5bf728f600b47

See more details on using hashes here.

File details

Details for the file napari_plugin_engine-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for napari_plugin_engine-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de30babe6fd9477816f037207938a2da7faeddc0e9e8663cb29f3d74235b6dc5
MD5 764684c272a3e81ff20abd9219f8594c
BLAKE2b-256 06bc2509813cddd0e02736121e21bef54deeec7f0f89af2c6096d753ee1feb09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page