def get_saved_connection(engine_name):
    parameters = {}
    if os.path.isfile(config_path):
        config = open(config_path, "rb")
        for line in config:
            values = line.rstrip('\n').split(',')
            if values[0] == engine_name:
                try:
                    parameters = eval(','.join(values[1:]))
                except:
                    pass
    return parameters
Given the name of an engine, returns the stored connection for that engine
dataset/ETHPy150Open weecology/retriever/lib/tools.py/get_saved_connection