Object interface for a Python dictionaryΒΆ

https://img.shields.io/github/last-commit/jfjlaros/dict-obj.svg https://travis-ci.org/jfjlaros/dict-obj.svg?branch=master https://readthedocs.org/projects/dict-obj/badge/?version=latest https://img.shields.io/github/release-date/jfjlaros/dict-obj.svg https://img.shields.io/github/release/jfjlaros/dict-obj.svg https://img.shields.io/pypi/v/dict-obj.svg https://img.shields.io/github/languages/code-size/jfjlaros/dict-obj.svg https://img.shields.io/github/languages/count/jfjlaros/dict-obj.svg https://img.shields.io/github/languages/top/jfjlaros/dict-obj.svg https://img.shields.io/github/license/jfjlaros/dict-obj.svg

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.