Skip to main content

napari plugin engine, fork of pluggy

Project description

napari plugin engine

License Build Status Docs Status codecov Python Version PyPI

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

Uploaded Source

Built Distribution

napari_plugin_engine-0.2.0-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file napari-plugin-engine-0.2.0.tar.gz.

File metadata

  • Download URL: napari-plugin-engine-0.2.0.tar.gz
  • Upload date:
  • Size: 54.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for napari-plugin-engine-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fa926f869d70e0d652c005661948cd0c7fee5508ae17d437937f34f5287590b3
MD5 54b6ab9d23044648f1b39305ecdbaf2e
BLAKE2b-256 c3a12794988f0075bfe18d7934516fb640af20b797001901c7900bfbc44d0a7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: napari_plugin_engine-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for napari_plugin_engine-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd148b46ffb76f82623a6577741712f45ff30be66b3564fdc5446dfd7007ecc3
MD5 da387c7883cc8375e3441bf6c5e0fc8d
BLAKE2b-256 c960eaf45290008cfb7cc1e99f6427540704fafc5c65a3a25ff0024085cd2e0d

See more details on using hashes here.

Supported by

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