For conversion from dictionaries to objects with attributes.
from attrdict import convert
before = {
'this': 'a',
'that': 123,
'other': [4, 5, 6]
}
after = convert(before)
print(after.this, after.that, after.other)
convert(value:dict)
Recursively converts value
into an object with attributes.
NoConvertDict
A dict
decorated to prevent conversion by convert()