pluggy

Plugin and hook calling mechanisms for Python applications.

pipmacoslinuxwindows
Try with needOr install directly

About

plugin and hook calling mechanisms for python

Examples

install pluggy library for python project$ brew install pluggy
check pluggy version installed$ python3 -c "import pluggy; print(pluggy.__version__)"
use pluggy to create plugin system in python$ python3 -c "import pluggy; hookspec = pluggy.HookspecMarker('myapp'); hookimpl = pluggy.HookimplMarker('myapp')"
verify pluggy is properly installed$ python3 -m pip show pluggy
integrate pluggy into python application for extensibility$ python3 -c "import pluggy; pm = pluggy.PluginManager('myapp'); print('PluginManager ready')"