Skip to content

jfjlaros/dict-obj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object interface for a Python dictionary

https://readthedocs.org/projects/dict-obj/badge/?version=latest

This package provides a dict-like object that allows keys to be accessed via member variables. Both nested dictionaries as well as lists are supported.

Example:

>>> from dict_obj import obj
>>>
>>> d = obj({'a': 1, 'b': {'c': 1}})
>>> d.b.c
1
>>> d['b'].c
1

Please see ReadTheDocs for the latest documentation.

About

Object interface for a Python dictionary

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages