{ "info": { "author": "Jason Phang", "author_email": "email@jasonphang.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "====\nHome\n====\n\n\n.. image:: https://img.shields.io/pypi/v/sndict.svg\n :target: https://pypi.python.org/pypi/sndict\n\n.. image:: https://img.shields.io/travis/zphang/sndict.svg\n :target: https://travis-ci.org/zphang/sndict\n\n.. image:: https://readthedocs.org/projects/sndict/badge/?version=latest\n :target: https://sndict.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/zphang/sndict/shield.svg\n :target: https://pyup.io/repos/github/zphang/sndict/\n :alt: Updates\n\n\nNested Extensions to Python dictionaries\n\n* Free software: MIT license\n* Documentation: https://sndict.readthedocs.io\n* Code: https://github.com/zphang/sndict\n\n\nIntroduction\n------------\nThis module provides extensions to ``dicts`` in the python standard library, providing fast and clean manipulation of nested dictionary structures. This module exposes two new ``dict``-types:\n\n* ``NestedDict``/``ndict``: A light-weight wrapper for ``dict`` s that provides additional functionality for operations on nested dictionary structures.\n* ``StructuredNestedDict``/``sndict``: A heavy-weight data ``dict`` -based structure for operating on hierarchical data with rich functionality for filtering and transformation across nested levels.\n\nBoth implementations are use ``OrderedDict`` s under the hood.\n\nNo additional dependencies are required.\n\nFeatures\n--------\n\n* ``NestedDict``/``ndict``:\n - Iterating over flattened keys and values\n - Nested getting/setting operations\n - Applicable to dictionaries of arbitrary and unbalanced depth\n\n* ``StructuredNestedDict``/``sndict``:\n - ``flatten``/``stratify``/``rearrange`` methods allow for powerful and rich operations across different levels of hierarchy\n - Nested getting/setting operations, including intelligent filtering via ``ix``\n - Convenient data inspection via ``dim``, ``unique_keys``, etc\n\n\n=======\nHistory\n=======\n\n0.1.2 (2019-05-02)\n------------------\n\n* Remove Python 2 compatibility\n\n0.1.1 (2017-03-15)\n------------------\n\n* Minor functionality update:\n - `unique_keys`\n - `to_tree_string`\n - Improved filtering/indexing\n - Documentation\n\n\n0.1.0 (2017-03-14)\n------------------\n\n* Initial Version with basic functionality\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/zphang/sndict", "keywords": "sndict", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "sndict", "package_url": "https://pypi.org/project/sndict/", "platform": "", "project_url": "https://pypi.org/project/sndict/", "project_urls": { "Homepage": "https://github.com/zphang/sndict" }, "release_url": "https://pypi.org/project/sndict/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Nested Extensions to Python dictionaries", "version": "0.1.2" }, "last_serial": 5219287, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6e16fcd757196edec0a1e6efa0ecd40e", "sha256": "d29a53ae0fa1cdd3323713115a171a53c8e02a946ceee581a36555e109e80b2a" }, "downloads": -1, "filename": "sndict-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6e16fcd757196edec0a1e6efa0ecd40e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13916, "upload_time": "2017-03-14T20:08:01", "url": "https://files.pythonhosted.org/packages/f1/7a/4ec05c7464cf926478ef6a5f5d70a093cea63e0908b1fa37b8a5e21aa45b/sndict-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa8df519cdb57c1e2a8fb821a1672e89", "sha256": "b177886e7cd40b5ebf3f3055b9499e9ae67593941bf78a91b88df62a54324881" }, "downloads": -1, "filename": "sndict-0.1.0.tar.gz", "has_sig": false, "md5_digest": "fa8df519cdb57c1e2a8fb821a1672e89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21817, "upload_time": "2017-03-14T20:08:02", "url": "https://files.pythonhosted.org/packages/d6/5f/2a711e8ad9cc8e47f53dbdc46113ee65395eb9fc2f1ddb505470b4bd8167/sndict-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1d04d0757f2b7adeca69aef0e3b7c219", "sha256": "01a15c1186149630aa33d77f31f4794b7ba2f9ee075ea96cd91e3772f9279a2f" }, "downloads": -1, "filename": "sndict-0.1.1.linux-x86_64.tar.gz", "has_sig": false, "md5_digest": "1d04d0757f2b7adeca69aef0e3b7c219", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27699, "upload_time": "2017-03-16T03:29:55", "url": "https://files.pythonhosted.org/packages/92/f3/ddd3f5312ec53136e72d6c6fcffbba47fe40223cb7e220ba0308294a6c4a/sndict-0.1.1.linux-x86_64.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "411136db57caf7f1ff994d550994e734", "sha256": "d594a87ca21e1977dbfcd68e30943ce05861566362f753216a2480d2a936da18" }, "downloads": -1, "filename": "sndict-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "411136db57caf7f1ff994d550994e734", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15860, "upload_time": "2019-05-02T20:44:09", "url": "https://files.pythonhosted.org/packages/77/19/1071cf16a41a52efc1a3bad4516dc93b31bd52c81ee1cece95f0a47dc488/sndict-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8e9a25e37639e06852fe52c65bbb957", "sha256": "6660791bb519df4b984f8891a944644f6cfc28a9041228d8da26b199a4657973" }, "downloads": -1, "filename": "sndict-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e8e9a25e37639e06852fe52c65bbb957", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27493, "upload_time": "2019-05-02T20:44:11", "url": "https://files.pythonhosted.org/packages/87/2d/98fdb7fa49fc6071fa528375994c95b64bbf60726b07be60a4cb5db2fb74/sndict-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "411136db57caf7f1ff994d550994e734", "sha256": "d594a87ca21e1977dbfcd68e30943ce05861566362f753216a2480d2a936da18" }, "downloads": -1, "filename": "sndict-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "411136db57caf7f1ff994d550994e734", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 15860, "upload_time": "2019-05-02T20:44:09", "url": "https://files.pythonhosted.org/packages/77/19/1071cf16a41a52efc1a3bad4516dc93b31bd52c81ee1cece95f0a47dc488/sndict-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8e9a25e37639e06852fe52c65bbb957", "sha256": "6660791bb519df4b984f8891a944644f6cfc28a9041228d8da26b199a4657973" }, "downloads": -1, "filename": "sndict-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e8e9a25e37639e06852fe52c65bbb957", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27493, "upload_time": "2019-05-02T20:44:11", "url": "https://files.pythonhosted.org/packages/87/2d/98fdb7fa49fc6071fa528375994c95b64bbf60726b07be60a4cb5db2fb74/sndict-0.1.2.tar.gz" } ] }