{ "info": { "author": "Stijn Debrouwere", "author_email": "stijn@debrouwere.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "``addressable`` is a silly little utility that allows you to access\nitems inside of a list using one or more indices as keys. You pretty\nmuch get to pretend pretend that a list is a souped-up dictionary.\n\n::\n\n artists = [{\n 'id': '0488', \n 'name': 'Lambchop', \n 'members': ['Kurt Wagner'], \n }, {\n 'id': '9924', \n 'name': 'Dire Straits', \n 'members': ['Mark Knopfler'], \n }]\n\n # keys are matched against one or more indices\n artists = List(artists, indices=('id', 'name'))\n print artists['0488'] == artists['Lambchop']\n\n # fuzzy matching\n artists = List(artists, indices=('id', 'title'), fuzzy=True)\n print artists['strait']\n\n # extract the value, not the metadata\n artists = List(artists, indices=('id', 'title'), facet='title')\n print artists['9924'] == 'Dire Straits'\n\nSo why would you want to do any of this? You probably don't.\n\n``addressable`` can be useful for certain DSL or library code where you\nwant to give the end users some freedom to code things their way, when\nyou need to be able to very easily refer to certain things that are\nweirdly named or when there's multiple common ways of referring to\nsomething and you want the flexibility to mix-and-match.", "description_content_type": null, "docs_url": null, "download_url": "http://www.github.com/debrouwere/python-addressable/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/debrouwere/python-addressable/", "keywords": "utility", "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "addressable", "package_url": "https://pypi.org/project/addressable/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/addressable/", "project_urls": { "Download": "http://www.github.com/debrouwere/python-addressable/tarball/master", "Homepage": "https://github.com/debrouwere/python-addressable/" }, "release_url": "https://pypi.org/project/addressable/1.4.2/", "requires_dist": null, "requires_python": null, "summary": "Use lists like you would dictionaries.", "version": "1.4.2" }, "last_serial": 1457104, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "b227c24833e4f5eec16b632e1d0bc1e6", "sha256": "80c4c21b5bd2357a9180d91d1b8b52991ebd954c38b17e1e7f8ae814e836d315" }, "downloads": -1, "filename": "addressable-1.0.0.tar.gz", "has_sig": false, "md5_digest": "b227c24833e4f5eec16b632e1d0bc1e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2427, "upload_time": "2014-07-14T12:52:54", "url": "https://files.pythonhosted.org/packages/01/48/4d35bda2e83ef83899b91955ed3e64fcfab9d8eec96ae60949bef19f6ad5/addressable-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "c536f5eb8dac9e751ebcb7a103b3b05f", "sha256": "745ea5b9bab9bf7e9d16bbf91572bddefe0c9d6a08640ceef8b7153517f84b45" }, "downloads": -1, "filename": "addressable-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c536f5eb8dac9e751ebcb7a103b3b05f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2578, "upload_time": "2014-07-14T13:31:31", "url": "https://files.pythonhosted.org/packages/81/5d/8adb0ca4e698a167e4b242289b44c9532747df462c1741827e6b065eadd1/addressable-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "7f67d12f479b6349145df19cbd319e39", "sha256": "b50690a313fa5df946a34227e50b5276ee047be19e2a9451d7eb09d11d01d0a1" }, "downloads": -1, "filename": "addressable-1.0.2.tar.gz", "has_sig": false, "md5_digest": "7f67d12f479b6349145df19cbd319e39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2639, "upload_time": "2014-07-14T16:45:48", "url": "https://files.pythonhosted.org/packages/54/61/fd20bbc999b0d141ffe573037cc1de7deb6836d4cf702f84a9b5d5d62a21/addressable-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "471616642f10f1842afaefbbb3dcb687", "sha256": "e604a3ec5fd8256e290604676eb877ab0b144602d0965854b2deaab01ddc1413" }, "downloads": -1, "filename": "addressable-1.0.3.tar.gz", "has_sig": false, "md5_digest": "471616642f10f1842afaefbbb3dcb687", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2794, "upload_time": "2014-07-16T13:38:58", "url": "https://files.pythonhosted.org/packages/df/f6/f177f9de533f6cac0f2a43e0c197e80d4a42dd4e59e2b87ca1e57bb72ba5/addressable-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "fe32a58d08543e81c371ec3177b34ad8", "sha256": "990551ffcef292e9ed695a2e2c79bd1221669d55fc5954d9f91ba6d319e60ca0" }, "downloads": -1, "filename": "addressable-1.1.0.tar.gz", "has_sig": false, "md5_digest": "fe32a58d08543e81c371ec3177b34ad8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2904, "upload_time": "2014-07-22T20:57:31", "url": "https://files.pythonhosted.org/packages/ba/23/2413feb7d3f97feba2ec1b06d42ab021e0f6dae174f35d6c2e89b3813776/addressable-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "279aaf271a8951eb9c88aef08abe6ac6", "sha256": "183e79d711ac6cea38e217ce07a7af10bb67691965e72d3cf81a75932e89ef1e" }, "downloads": -1, "filename": "addressable-1.1.1.tar.gz", "has_sig": false, "md5_digest": "279aaf271a8951eb9c88aef08abe6ac6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2901, "upload_time": "2014-11-07T21:21:58", "url": "https://files.pythonhosted.org/packages/23/f9/e43cfb4223f70e64b2f20ac8afc6a3101f9d78e31324d8b2af1fdc3a55a1/addressable-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "7c2c38b41735785cfdf094d6be30be14", "sha256": "ba1f4ced0bbade74fc874cd207cad79f0056a0ffba704b8ad600458fabd7ac5a" }, "downloads": -1, "filename": "addressable-1.2.0.tar.gz", "has_sig": false, "md5_digest": "7c2c38b41735785cfdf094d6be30be14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3119, "upload_time": "2014-11-24T13:28:55", "url": "https://files.pythonhosted.org/packages/f8/04/065546d82d89ef2626794abf101b822b1b65e392f56f6ca8415fd2e05e91/addressable-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "e769ff9771cada52b1c2499878a5a9a5", "sha256": "ef00357f0104bf37c7c80df1b2299137032e55cf3242c2e7ed49276f41fd7498" }, "downloads": -1, "filename": "addressable-1.3.0.tar.gz", "has_sig": false, "md5_digest": "e769ff9771cada52b1c2499878a5a9a5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3182, "upload_time": "2015-01-31T16:28:36", "url": "https://files.pythonhosted.org/packages/91/9c/1db80a578b228adaab090c5b37f8418475269d627d2424a1100a443deabe/addressable-1.3.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "15e70ac60f4c82b830f9bcee9fb2639e", "sha256": "f802d3184fe78ea8c7d5dc1922629f6c18e571608f8e2b3b2a52c8458afb7fb4" }, "downloads": -1, "filename": "addressable-1.4.0.tar.gz", "has_sig": false, "md5_digest": "15e70ac60f4c82b830f9bcee9fb2639e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3252, "upload_time": "2015-03-11T08:10:25", "url": "https://files.pythonhosted.org/packages/7f/a0/ae081c69cc7b204c0e806b7e07bce08bf0a27de0f7c1f2dc23bd935e14fa/addressable-1.4.0.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "1cddcfb4d78a29eef9b08536180da6f6", "sha256": "f1a4b667f140f2389e895b8969abfd611a2bc116d8d19b08c2a0e99a28154913" }, "downloads": -1, "filename": "addressable-1.4.1.tar.gz", "has_sig": false, "md5_digest": "1cddcfb4d78a29eef9b08536180da6f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3263, "upload_time": "2015-03-11T09:22:04", "url": "https://files.pythonhosted.org/packages/d1/12/fd00fe617c919fccecd58ef0123c0bc7205ec734a9b11e074f24ba60aa6b/addressable-1.4.1.tar.gz" } ], "1.4.2": [ { "comment_text": "", "digests": { "md5": "b8820675dc0749986013d65718887257", "sha256": "09917d69d76affbfb833aeb09ecaa3836064249692337620a176748a9a826d0b" }, "downloads": -1, "filename": "addressable-1.4.2.tar.gz", "has_sig": false, "md5_digest": "b8820675dc0749986013d65718887257", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3349, "upload_time": "2015-03-11T09:52:34", "url": "https://files.pythonhosted.org/packages/09/7c/3aadb546b7704938386bed7e5c3022f53ab8556bacc6e655371bf83d3ae8/addressable-1.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b8820675dc0749986013d65718887257", "sha256": "09917d69d76affbfb833aeb09ecaa3836064249692337620a176748a9a826d0b" }, "downloads": -1, "filename": "addressable-1.4.2.tar.gz", "has_sig": false, "md5_digest": "b8820675dc0749986013d65718887257", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3349, "upload_time": "2015-03-11T09:52:34", "url": "https://files.pythonhosted.org/packages/09/7c/3aadb546b7704938386bed7e5c3022f53ab8556bacc6e655371bf83d3ae8/addressable-1.4.2.tar.gz" } ] }