{ "info": { "author": "Georgian-Andrei Opri\u0219or", "author_email": "gaoprisor@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3" ], "description": "# Ultra Path\n\nThis module is made out of a simple C extension to help reduce the total time required to extract items from highly \nnested structures. At the moment it supports retrieving items from nested structures made out of dictionaries and lists \nbut it can be easily extended to support other mappings or iterables. \n\n**Usage:**\n\n`>>> from upath import getp`\n\n`>>> getp({\"level0\": {\"level1\": [{\"level3\": 3}]}}, \"level0.level1.0.level3\")\n3`\n\n`>>> getp({\"level0\": {\"level1\": [{\"level3\": 3}]}}, \"level0/level1/0/level3\", '/', None)\n3`\n\n`>>> getp({\"level0\": {\"level1\": [{\"level3\": 3}]}}, \"level0/level1/0/level77777777\", '/', \"Default value\")\n'Default value'`\n\nOnly positional arguments are supported, so this will not work: \n\n`>>> getp({\"level0\": {\"level1\": [{\"level3\": 3}]}}, \"level0/level1/0/level3\", default='Works')\nNone`\n\nCheck C extensions documentation here: \nhttps://docs.python.org/3/extending/\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aoprisor/upath", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "upath", "package_url": "https://pypi.org/project/upath/", "platform": "", "project_url": "https://pypi.org/project/upath/", "project_urls": { "Homepage": "https://github.com/aoprisor/upath" }, "release_url": "https://pypi.org/project/upath/1.0.1/", "requires_dist": null, "requires_python": "", "summary": " C extension to fetch an item from a nested structure made out of dictionaries and/or lists. Can reduce the time spent retrieving items from nested structures resulted after de-serializing JSON content or other nested structures.", "version": "1.0.1" }, "last_serial": 5456206, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "82e7d68ace46230cba100bdcc7190a61", "sha256": "0c3930efdae1bcb88883046e27a2c1941c791dc8ef72c478e87e4e73ca9f48d5" }, "downloads": -1, "filename": "upath-1.0-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "82e7d68ace46230cba100bdcc7190a61", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 4680, "upload_time": "2019-06-23T23:46:14", "url": "https://files.pythonhosted.org/packages/e2/03/72dc718fb5f9aeef814a8e0f46ad8ef3cf1aaccc2670b14a2cf890840a73/upath-1.0-cp37-cp37m-macosx_10_14_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "346decc08627b78168671f18b9615cd7", "sha256": "702fbe82141af3d7ec39621652155bdf9a66d37753a5bac5da236550e06e680b" }, "downloads": -1, "filename": "upath-1.0.tar.gz", "has_sig": false, "md5_digest": "346decc08627b78168671f18b9615cd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2601, "upload_time": "2019-06-23T23:46:16", "url": "https://files.pythonhosted.org/packages/f9/bb/aa6bf93afcd72f49e7e91fecb61e020dfadb55bdea5e2895d574be3cee0a/upath-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "93e47296a89f86266784c291d392edab", "sha256": "4fc0171a0f80d169819036336443219118ed881fb7756ad132a14ab73bbc0716" }, "downloads": -1, "filename": "upath-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "93e47296a89f86266784c291d392edab", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 5115, "upload_time": "2019-06-27T10:07:01", "url": "https://files.pythonhosted.org/packages/7e/67/057a587b04e108e2891bd37fec3577211f1b2adfb6f7aec706ab3dc66b27/upath-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "93e47296a89f86266784c291d392edab", "sha256": "4fc0171a0f80d169819036336443219118ed881fb7756ad132a14ab73bbc0716" }, "downloads": -1, "filename": "upath-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "93e47296a89f86266784c291d392edab", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 5115, "upload_time": "2019-06-27T10:07:01", "url": "https://files.pythonhosted.org/packages/7e/67/057a587b04e108e2891bd37fec3577211f1b2adfb6f7aec706ab3dc66b27/upath-1.0.1-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }