toolbox.contrib.config package

Submodules

toolbox.contrib.config.config module

class toolbox.contrib.config.config.ConfigPlugin[source]

Bases: toolbox.mixins.ConfigMixin, toolbox.plugin.ToolboxPlugin

The Config plugin manages the global configuration of the toolbox. It can be used from the commandline aswell as progamatically by loading it from the registry within an other plugin

description = 'Config API holds and controls the global config'
execute(args)[source]
get(key)[source]
name = 'config'
prepare_parser(parser)[source]
set(key, value)[source]
set_defaults()[source]

Sets the default config variables, used when toolbox is used for the first time :return:

Module contents