utils

class utils.Map(*args, **kwargs)

Bases: dict

Example:
m = Map({‘first_name’: ‘Eduardo’}, last_name=’Pool’, age=24, sports=[‘Soccer’])
Reference:
http://stackoverflow.com/questions/2352181/how-to-use-a-dot-to-access-members-of-dictionary
utils.read_config(args)

Reads in an ArgParse objet with args.confg as the YAML style config path

Parameters:args – ArgParse object
Returns:dict of options based on ArgParse and the YAML config
utils.setup_logging(args)

Sets up basic logging

Parameters:args – ArgParse arguments
Returns:nothing. sets logger up globally