class translatedDictList(object):

    def __init__(self, dictList, key):
        self.dictList = dictList
self.key = key

def __getitem__(self, item):
    return self.dictList[item][self.key]

def __len__(self):
    return self.dictList.__len__()
Get closest element from list of dictionaries