pyramid_duh.settings module

Utilities for parsing settings

pyramid_duh.settings.asdict(setting, value_type=<function <lambda>>)[source]

Parses config values from .ini file and returns a dictionary

Parameters:

setting : str

The setting from the config.ini file

value_type : callable

Run this function on the values of the dict

Returns:

data : dict