dotmap
dotmap copied to clipboard
Dot access dictionary with dynamic hierarchy creation and ordered iteration
 As is shown in the picture above, the syntax is correct when using key-value pairs, but SyntaxError is reported when assigning directly. THX, I love this project!
Hi, I have a weird behavior when I execute the below code in IPython console (I use IntelliJ interactive console): ``` from dotmap import DotMap d = DotMap({'a': 3}) d...
Python 3.6.5 dotmap 1.3.8 Pycharm Community 2019.1.1 I was hoping to use dotmap to provide dot notation code completion to some existing dictionaries. However, when initialized from an existing dictionary...
Version 1.3.25 on (as installed by pip) no longer seems to work with Python 2. 1.3.24 worked fine. Was this intended? If so, could the Pypi web page for dotmap...
I am using DotMap as the baseclass of a custom Config-class. As a constructor-argument I only want to pass the path to a yaml-file which holds the config values. This...
After long research, this dotMap module is a lifesaver for me, in my project. Because all other JSON serialize modules end with an error during accessing values especially with multiprocessing...
similar issue occurred in ipython
I have a piece of software that outputs dictionary mapping in dot notation. I was hoping to be able to assign the dot notation to a variable and pass it...
It would be nice if one could do `DotMap((('a', 1), ('b', 2)))` and have it work. As it is stands now it silently ignores the input. For now I'm working...
Here's some sample code: ```python from dotmap import DotMap code = 'print("hello")' g = {} l = DotMap() exec(code, g, l) ``` And it's output (using python 3.7.3 on Raspbian):...