catatom2osm.config module

Application preferences.

catatom2osm.config.generate_default_user_config()[source]

Export default user config.

Generate a config YAML object populated with the default values in the dict default_user_config, and save it to default_config_file

catatom2osm.config.get_config_comment()[source]
catatom2osm.config.get_user_config(path)[source]

Read the user-provided config file in path.

Overwrites all variables that exist in the default_user_config dict.

catatom2osm.config.install_gettext(app_name, localedir)[source]

Install internationalization services.

catatom2osm.config.set_config(a_config)[source]
catatom2osm.config.set_log_level(log, log_level)[source]

Configure console logger and level.

catatom2osm.config.setup_logger(name='', log_path='')[source]

Configure the application logger.