Object interface for a Python dictionary¶
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.
Introduction¶
Warning
Under construction.
Installation¶
The software is distributed via PyPI, it can be installed with pip
:
pip install dict-obj
Usage¶
Warning
Under construction.
Contributors¶
- Jeroen F.J. Laros <jlaros@fixedpoint.nl> (Original author, maintainer)
Find out who contributed:
git shortlog -s -e