Skip to content

Plugins: Implement core + 2 first plugins

Jerome Flesch requested to merge jflesch/paperwork:wip-plugins into develop

#194 (closed)

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 Python logging traces and dispatch them as defined in the configuration. Uses config_file.py.

Merge request reports