{ "info": { "author": "Arnelle Balane", "author_email": "arnellebalane@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": "subdicts\n========\n\nA small python utility which parses nested-keys in dictionaries into sub-dictionaries.\n\n####Installation\n\nThis package can be installed from PyPI using `pip`. Make sure you have `pip` installed \nthen run:\n\n```\n$ pip install subdicts\n```\n\n#####Installation Using Buildout\n\nIf you're using __Buildout__ and want to use __subdicts__ you can do so by adding the \nfollowing lines to your `buildout.cfg` file:\n\n```\n[subdicts]\nrecipe = zc.recipe.egg\neggs = subdicts\n```\n\nand appending `subdicts` to your `buildout:parts`.\n\n####Usage\n\nThis package has one method, `subdicts.utils.parse`, which does the parsing.\n\n```\nfrom subdicts.utils import parse\n\ndict = {'person[firstname]': 'arnelle', 'person[lastname]': 'balane'}\nparsed = parse(dict)\n\n# parsed = {'person': {'firstname': 'arnelle', 'lastname': 'balane'}}\n```\n\n####Contributing\n\nTo contribute to this mini-project just fork this repository, clone your forked repository \nand run buildout inside the project directory.\n\n```\n$ git clone git@github.com:arnellebalane/subdicts.git\n$ cd subdicts\n$ ./bin/buildout\n```\n\nThis will take care of retrieving the project's dependencies.\n\nWhen contributing new code to the project, please test your code. The test files are \nlocated inside the `src/subdicts/tests` directory. To run the tests simply do:\n\n```\n$ ./bin/test\n```\n\nMerging your code into this main repository must be done through pull requests.\n\n####Bugs and Issues\n\nIf you find any bugs and issues in this project, please report them by opening an\nissue here.\n\n####Todo\n\n- properly parse compicated dictionary keys, especially those containing inner `[` and \n `]` characters (e.g. `person[name[]]`)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/arnellebalane/subdicts", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "subdicts", "package_url": "https://pypi.org/project/subdicts/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/subdicts/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/arnellebalane/subdicts" }, "release_url": "https://pypi.org/project/subdicts/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "A small python utility which parses nested-keys in dictionaries into sub-dictionaries.", "version": "1.0.3" }, "last_serial": 1154451, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "2ee6106cdc64be01cc89a20bdb32c6c1", "sha256": "56b6d1a3b42a1d1fe9ec4f0e6fd619cbcae0fb43ac6da27a418904a90f3060b4" }, "downloads": -1, "filename": "subdicts-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2ee6106cdc64be01cc89a20bdb32c6c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2450, "upload_time": "2014-07-09T13:50:17", "url": "https://files.pythonhosted.org/packages/17/fe/7458e4aa3d105a7d5ee4b50fe055489b4f1f15e15c49cfaf3ad0980d75b2/subdicts-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2d87061f7242df3371cf0c55f1261271", "sha256": "6aa2f5e3128d046c65c819ae46f6d661bafeca52152ed9ec7f20a921625798bd" }, "downloads": -1, "filename": "subdicts-1.0.1.tar.gz", "has_sig": false, "md5_digest": "2d87061f7242df3371cf0c55f1261271", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1738, "upload_time": "2014-07-09T14:25:32", "url": "https://files.pythonhosted.org/packages/3e/3d/5d65920164fb90d81e48601aa1ef0450ef8ad73d68c99c0c6325d8825e40/subdicts-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "c4a5d6cb5d357617e670e75b8598d05c", "sha256": "666df8630ff23da29718c74b5698fddb855001f049e70bfa3fd6a7d87ec100cb" }, "downloads": -1, "filename": "subdicts-1.0.2-py2.7.egg", "has_sig": false, "md5_digest": "c4a5d6cb5d357617e670e75b8598d05c", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5137, "upload_time": "2014-07-11T09:04:01", "url": "https://files.pythonhosted.org/packages/df/7f/88e4c03d4a66bbcabd76fe08a1c3c5c0e20c1f71b34614f565d84ec896f3/subdicts-1.0.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "1923fa54f03846cbf0074d8a251bc8ea", "sha256": "91e419ef13253902769c3032a6c84b053a1214346c492d01cf511fc73bbd3cbf" }, "downloads": -1, "filename": "subdicts-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1923fa54f03846cbf0074d8a251bc8ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2694, "upload_time": "2014-07-10T10:23:26", "url": "https://files.pythonhosted.org/packages/72/91/b6bbb872644d82f2409062c37bf90ddc1fa0ab4d6130fc0f7d2e2ce56576/subdicts-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "7e5b1809df53db813576ab20b969e7d0", "sha256": "0ca9f85baf782aeece5d62003e88185da8149be81884d44bb7712ba74684b784" }, "downloads": -1, "filename": "subdicts-1.0.3-py2.7.egg", "has_sig": false, "md5_digest": "7e5b1809df53db813576ab20b969e7d0", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5115, "upload_time": "2014-07-11T09:17:02", "url": "https://files.pythonhosted.org/packages/52/17/1cffabc7cc99efcedd867370fd836aeb09f71d110bf1b1dfca43f2434a59/subdicts-1.0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "ba45973161d4823b38af7b30a8b5aaef", "sha256": "a3e194f36ede356fa662745e67e0ae990452095b7d684b1ba547ffa1381076c0" }, "downloads": -1, "filename": "subdicts-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ba45973161d4823b38af7b30a8b5aaef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2676, "upload_time": "2014-07-11T09:16:52", "url": "https://files.pythonhosted.org/packages/f1/dc/9bf0f1fefdf8f54b9968f3fa6fd8be10e5a0143504aa98d4a7fe39f0199a/subdicts-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e5b1809df53db813576ab20b969e7d0", "sha256": "0ca9f85baf782aeece5d62003e88185da8149be81884d44bb7712ba74684b784" }, "downloads": -1, "filename": "subdicts-1.0.3-py2.7.egg", "has_sig": false, "md5_digest": "7e5b1809df53db813576ab20b969e7d0", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 5115, "upload_time": "2014-07-11T09:17:02", "url": "https://files.pythonhosted.org/packages/52/17/1cffabc7cc99efcedd867370fd836aeb09f71d110bf1b1dfca43f2434a59/subdicts-1.0.3-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "ba45973161d4823b38af7b30a8b5aaef", "sha256": "a3e194f36ede356fa662745e67e0ae990452095b7d684b1ba547ffa1381076c0" }, "downloads": -1, "filename": "subdicts-1.0.3.tar.gz", "has_sig": false, "md5_digest": "ba45973161d4823b38af7b30a8b5aaef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2676, "upload_time": "2014-07-11T09:16:52", "url": "https://files.pythonhosted.org/packages/f1/dc/9bf0f1fefdf8f54b9968f3fa6fd8be10e5a0143504aa98d4a7fe39f0199a/subdicts-1.0.3.tar.gz" } ] }