lib.Functions

Classes

  • Init: Undocumented.
  • Exit: Undocumented.

Functions

  • merge(): Merge 2 or more dictionaries.
  • merge_with(): Merge 2 or more dictionaries. Apply function f to each element during merge.
class lib.Functions.Init[source]

Inheritance

Inheritance diagram of Init

Members

classmethod init()[source]
Foreground = {'BLUE': '\x1b[94m', 'CYAN': '\x1b[96m', 'DARK_CYAN': '\x1b[36m', 'DARK_GRAY': '\x1b[90m', 'DARK_GREEN': '\x1b[32m', 'DARK_RED': '\x1b[31m', 'DARK_YELLOW': '\x1b[33m', 'ERROR': '\x1b[91m', 'GRAY': '\x1b[37m', 'GREEN': '\x1b[92m', 'HEADLINE': '\x1b[95m', 'MAGENTA': '\x1b[95m', 'NOCOLOR': '\x1b[39m', 'RED': '\x1b[91m', 'WARNING': '\x1b[93m', 'WHITE': '\x1b[97m', 'YELLOW': '\x1b[93m'}
class lib.Functions.Exit[source]

Inheritance

Inheritance diagram of Exit

Members

classmethod exit(returnCode=0)[source]
classmethod versionCheck(version)[source]
classmethod printException(ex)[source]
classmethod printNotImplementedError(ex)[source]
classmethod printExceptionBase(ex)[source]
classmethod printPlatformNotSupportedException(ex)[source]
classmethod printEnvironmentException(ex)[source]
classmethod printNotConfiguredException(ex)[source]

Functions

lib.Functions.merge(*dicts)[source]

Merge 2 or more dictionaries.

lib.Functions.merge_with(f, *dicts)[source]

Merge 2 or more dictionaries. Apply function f to each element during merge.