Plugins: Implement core + 2 first plugins
openpaperwork-core
provides a core for Paperwork: the core manages plugin loading, plugin dependencies, and calling plugins methods.
This package is intended to be possibly reused in other applications later. This is why is not called paperwork-core
but openpaperwork-core
. This package will also provide various simple plugins who could make sense in any applications.
This MR also add 2 plugins to openpaperwork-core
:
-
config_file.py
: provide callbacks to read and write a configuration file. It also includes callbacks to manage a list of plugins -
log_collector.py
: collects Pythonlogging
traces and dispatch them as defined in the configuration. Usesconfig_file.py
.