The cleanmymac.constants Module

cleanmymac.constants.GLOBAL_CONFIG_FILE = '.cleanmymac.yaml'

the global config file name

cleanmymac.constants.PROGRESSBAR_ADVANCE_DELAY = 0.25

the progress bar advance delay (when in quiet mode). Nicer progress experience for fast targets

cleanmymac.constants.TARGET_ENTRY_POINT = 'cleanmymac.target'

the main entry point for externally defined cleanmymac.target.Target extensions

cleanmymac.constants.TYPE_TARGET_CMD = 'cmd'

the YAML constant used to identify targets of type: cleanmymac.target.ShellCommandTarget

cleanmymac.constants.TYPE_TARGET_DIR = 'dir'

the YAML constant used to identify targets of type: cleanmymac.target.DirTarget

cleanmymac.constants.UNIT_GB = 1073741824

1 gigabyte

cleanmymac.constants.UNIT_KB = 1024

1 kilobyte

cleanmymac.constants.UNIT_MB = 1048576

1 megabyte

cleanmymac.constants.VALID_TARGET_TYPES = frozenset(['cmd', 'dir'])

the YAML valid target types