I've enjoyed using types.SimpleNamespace:
>>> from types import SimpleNamespace
>>> d = {"one":1, "two":2}
>>> ns = SimpleNamespace(**d)
>>> ns.two
2
I consider it a bonus that the dict keys are grouped as attributes on an object :)