def getconfigs():
    cp = getconfigparser()
    configs = {}
    default = None
    for section in cp.sections():
        conf = dict(cp.defaults())
        conf.update(dict(cp.items(section)))
        if conf.get('default'):
            default = section
        configs[section] = conf
    return default, configs
Return a dictionary of saved database connection configurations.
dataset/ETHPy150Open jaysw/ipydb/ipydb/engine.py/getconfigs