/dict2obj

Dict2obj: transform dict to simpler object

Primary LanguagePythonMIT LicenseMIT

Dict2obj: transform dict to simpler object

Dict2obj is a Python implementation to transform python dict to object, thus you can access json with easier way "dot", I'm sure this little tool can save your life.

Install

$pip install dict2obj -U

Usage

>>>from dict2obj import Dict2Obj
>>>a={"sen":1}
>>>b=Dict2Obj(a)
>>>b.sen
1