docpkg.config
Module
This module contains the configuration routines.
-
class
docpkg.config.
MyConfig
(filename)
Loads and manages the configuration.
- Parameters
filename (str
) – The filename to load configs from.
-
get_option
(name, default=None)
Returns the requested option from the loaded configs.
- Parameters
name (str
) – The option name to get.
default (Optional
[~T]) – The default to return, if the option was not found
in the configs.
- Return type
~T