Metadata-Version: 2.1
Name: dict-wrapper
Version: 0.0.1
Summary: A userful package to use '.' to visit value of dict
Home-page: UNKNOWN
Author: duanyongqiang
Author-email: sysuduanyongqiang@163.com
License: UNKNOWN
Description: dict_wrapper
        
        =====
        user DictWrapper to visit the value like an object
        
        Installing
        ----------
        
        Install and update using `pip`_:
        
        .. code-block:: text
        
            pip install -U dict_wrapper
        
        
        A Simple Example
        ----------------
        
        .. code-block:: python
        
            data = {
                "who": 'your name',
                "area": ['specify', 'china'],
                "province": {
                    "city": ['shenzhen', 'guangzhou']
                }
            }
            config = DictWrapper(data)
            assert config.who == 'your name'
            assert config.province.city == ['shenzhen', 'guangzhou']
            print(config.area)
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.4
Description-Content-Type: text/markdown
