Utilities for open source developers
Transforms a dict to allow attribute access to keys that conform with Python syntax for names. Names that conflict with built-in dict attributes must be accessed using subscripting as standard.
from hw import ObjectDict
od = ObjectDict({"a": [{"first": "result"}]})
assert od.a[0].first == "result"