def compress_txn_outputs(txn_outputs):
    result_dict = {}
    for txn_output in txn_outputs:
        if txn_output['address'] in result_dict:
            result_dict[txn_output['address']] += txn_output['value']
        else:
            result_dict[txn_output['address']] = txn_output['value']
    return result_dict
Get instance of Model class by its key's name.
dataset/ETHPy150Open blockcypher/blockcypher-python/blockcypher/utils.py/compress_txn_outputs--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/db/__init__.py/Model.get_by_key_name