groundwork
groundwork copied to clipboard
groundwork is a python based microframework for highly reusable applications and their components.
During the registration of a recipe, the developer shall be able to register pre- and post-functions for the recipe build. These functions get executed, if a build for the recipe...
Current behaviour: If the configuration parameter 'LOAD_PLUGINS' contains a plugin which cannot be loaded, there is no error reported to the user. Especially in cases where the corresponding entry_point could...
1. https://groundwork.readthedocs.io/en/latest/quickstart.html ###Original Code### from groundwork import App if \_\_name__== "\_\_main__": my_app = App() my_app.plugins.activate(["**GwPluginInfo**"]) my_app.commands.start_cli() ################# It should be ["**GwPluginsInfo**"] 2. https://groundwork.readthedocs.io/en/latest/commands.html ###Original Code### from groundwork import App from...
When running `python setup.py sdist` against a groundwork Git checkout, the `tests` folder gets included: ``` $ tree -d groundwork-0.1.12 groundwork-0.1.12 ├── groundwork │ ├── applications │ ├── configuration │ ...
We could make a plugin-instance directly callable, which should have the same result as calling the activate() routine. So this is somehow a shortcut. ``` class MyPlugin(GwBasePattern): ... def activate():...
The GwBasePattern should inherit from ABC and provide some abstract methods, which needs to be implemented by child classes/patterns/plugins. Like activate(), deactivate(). See https://docs.python.org/3/library/abc.html and https://julien.danjou.info/blog/2013/guide-python-static-class-abstract-methods Another approach would be...
If a plugin/pattern gets garbage collected or freed for any other reason, the related deactivation routine should be called automatically. Also related signals like "pre/post_deactivation" should be called. This would...
If groundwork gets run inside a notebook like jupyter, the Plugin initialisation will fail, as __file__ is not available. The problem on detail: GwBasePattern tries to find the location of...
pathlib is not maintained anymore.
# groundwork.py:61 If APP_PATH is relative, a path gets calculated. But there is no final check, if the calucalated path exists. ``` self.path = self.config.get("APP_PATH", None) if self.path is None:...