xobox.conf
xobox' application configuration module provides an interface for accessing built-in default configuration constants. Instead of scattering default constants all over the application's code, default values shall be centralized in :pyxobox.conf.default
. This being the case, these configuration defaults can be accessed by either the function interface, or by a class interface.
xobox.conf.get_conf
get_instance(args,*kwargs)
Obtain the reference to the instance of :py~xobox.conf.ApplicationConf
. If no instance exists yet, one will be created and its reference returned.
Note
Although the :py~xobox.conf.ApplicationConf.get_instance
method accepts arbitrary positional and keyword arguments, they will be ignored by the constructor.
xobox.conf.default
xobox.conf.default.DEFAULT_CHARSET
xobox.conf.default.DEFAULT_PICKLE_PROTOCOL
xobox.conf.default.DEFAULT_XOBOX_EXECUTABLE
xobox.conf.default.DEFAULT_CONF_FILE
xobox.conf.default.DEFAULT_LOG_TYPE
xobox.conf.default.DEFAULT_LOG_LEVEL
xobox.conf.default.DEFAULT_LOG_FILE
xobox.conf.default.DEFAULT_LOG_TIMESTAMP
xobox.conf.default.DEFAULT_LOG_COLOR