{ "info": { "author": "Reza Behzadan", "author_email": "rbehzadan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "|Build Status| |Coverage Status|\n\n=============\nDotAccessDict\n=============\n\nDotAccessDict class can handle nested dictionaries with arbitray number\nof dicts and lists, nested inside each other.\n\nUsage:\n~~~~~~\n\n.. code:: python\n\n >>> from ddict import DotAccessDict\n >>> d = DotAccessDict()\n >>> d\n {}\n >>> d.person\n {}\n >>> d.person.name = 'Jack'\n >>> d\n {'person': {'name': 'Jack'}}\n >>> d['person']['name']\n 'Jack'\n >>> d['person'].name\n 'Jack'\n >>> d.person['name']\n 'Jack'\n >>> joe = dict(name='Joe', age=18)\n >>> d.person.brothers = [joe, 'John', 'Pat']\n >>> d.person.brothers[0].age\n 18\n >>> d.get('person.brothers[1]')\n 'John'\n >>> d.set('person.brothers[2]', 'James')\n >>> d.person.brothers[2]\n 'James'\n >>> d.flatten()\n {'person.brothers[0].age': 18,\n 'person.brothers[0].name': 'Joe',\n 'person.brothers[1]': 'John',\n 'person.brothers[2]': 'James',\n 'person.name': 'Jack'}\n\nSimilar works:\n~~~~~~~~~~~~~~\n\n- https://github.com/mewwts/addict\n- https://github.com/makinacorpus/easydict\n- https://github.com/drgrib/dotmap\n\n.. |Build Status| image:: https://travis-ci.org/rbehzadan/ddict.svg?branch=master\n :target: https://travis-ci.org/rbehzadan/ddict\n.. |Coverage Status| image:: https://coveralls.io/repos/github/rbehzadan/ddict/badge.svg\n :target: https://coveralls.io/github/rbehzadan/ddict", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rbehzadan/ddict", "keywords": "dict dot notation access", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ddict", "package_url": "https://pypi.org/project/ddict/", "platform": "", "project_url": "https://pypi.org/project/ddict/", "project_urls": { "Homepage": "https://github.com/rbehzadan/ddict" }, "release_url": "https://pypi.org/project/ddict/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Dict class with dot notation (like attributes) for accessing nested values", "version": "0.1.3" }, "last_serial": 2822191, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "dcad892696761f8ef29a601099e3945e", "sha256": "84de9ba60ff1d3f6c29ed2c1127d2c8df35ed85187753bcadef2745614e9a45b" }, "downloads": -1, "filename": "ddict-0.1.2.tar.gz", "has_sig": false, "md5_digest": "dcad892696761f8ef29a601099e3945e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3839, "upload_time": "2017-04-22T17:37:43", "url": "https://files.pythonhosted.org/packages/ed/7f/075a1f69de96a03a04b290dcb144d46663f0a3155bef934535bc1365d1b8/ddict-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "1eda02857cc6ba545b1010cdd1f6a500", "sha256": "8a3382eb0c74e92c75c5b59d6e2ebe79225a36e5798afb9f661ae60e1f6e4168" }, "downloads": -1, "filename": "ddict-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1eda02857cc6ba545b1010cdd1f6a500", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3850, "upload_time": "2017-04-22T17:54:47", "url": "https://files.pythonhosted.org/packages/29/36/3874b2d5be3670ff4e9a9755412b0b5e3252ab26c889c392555c63b98680/ddict-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1eda02857cc6ba545b1010cdd1f6a500", "sha256": "8a3382eb0c74e92c75c5b59d6e2ebe79225a36e5798afb9f661ae60e1f6e4168" }, "downloads": -1, "filename": "ddict-0.1.3.tar.gz", "has_sig": false, "md5_digest": "1eda02857cc6ba545b1010cdd1f6a500", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3850, "upload_time": "2017-04-22T17:54:47", "url": "https://files.pythonhosted.org/packages/29/36/3874b2d5be3670ff4e9a9755412b0b5e3252ab26c889c392555c63b98680/ddict-0.1.3.tar.gz" } ] }