class CoolThing:

    def __init__(self):
        self.cool_dict = {'a': 1, 'b': 2}

def __getattr__(self, attr):
    return self.cool_dict[attr]

def __setattr__(self, attr, value):
    if attr == 'cool_dict':
        super().__setattr__(attr, value)
Python make dictionary items accessible as object property