python-pluginbase
Port variant v12
Summary Development basis of flexible plugins (3.12)
Package version 1.0.1
Homepage https://github.com/mitsuhiko/pluginbase
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v11
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 11 FEB 2024, 22:37:34 UTC
Port created 11 FEB 2024, 22:37:34 UTC
Subpackage Descriptions
single PluginBase ========== PluginBase is a module for Python that enables the development of flexible plugin systems in Python. Step 1: .. code-block:: python from pluginbase import PluginBase plugin_base = PluginBase(package='yourapplication.plugins') Step 2: .. code-block:: python plugin_source = plugin_base.make_plugin_source( searchpath=['./path/to/plugins', './path/to/more/plugins']) Step 3: .. code-block:: python with plugin_source: from yourapplication.plugins import my_plugin my_plugin.do_something_cool() Or alternatively: .. code-block:: python my_plugin = plugin_source.load_plugin('my_plugin') my_plugin.do_something_cool()
Configuration Switches (platform-specific settings discarded)
PY311 OFF Build using Python 3.11 PY312 ON Build using Python 3.12
Package Dependencies by Type
Build (only) python312:dev:standard
python-setuptools:single:v12
autoselect-python:single:standard
Build and Runtime python312:primary:standard
Download groups
main mirror://PYPI/p/pluginbase
Distribution File Information
ff6c33a98fce232e9c73841d787a643de574937069f0d18147028d70d7dee287 43588 pluginbase-1.0.1.tar.gz
Ports that require python-pluginbase:v12
No other ports depend on this one.