Python dictionaries are great, but they have many limitations. It is difficult to create dynamic hierarchical data. Also, they don't offer the widely adopted dot notation to access values. Instead, use DotMap. It behaves like a Python dictionary but also addresses the above limitations.
DotMap: A Better Alternative to Python Dictionary
DotMap: A Better Alternative to Python…
DotMap: A Better Alternative to Python Dictionary
Python dictionaries are great, but they have many limitations. It is difficult to create dynamic hierarchical data. Also, they don't offer the widely adopted dot notation to access values. Instead, use DotMap. It behaves like a Python dictionary but also addresses the above limitations.