Skip to content

Very lite override of dict to access values using dot operator

License

Notifications You must be signed in to change notification settings

petitbonney/dotdict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dotdict

Very lite override of dict to access values using dot operator

>>> d = dotdict({"val0": "hello", "val1": "world"})
>>> d["val0"]
'hello'
>>> d.val0
'hello'
>>> d.val2 = "!"
>>> d
{'val0': 'hello', 'val1': 'world', 'val2': '!'}

About

Very lite override of dict to access values using dot operator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages