{ "info": { "author": "Anthony Towns", "author_email": "aj@erisian.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], "description": "from odictliteral import odict\n==============================\n\nProvides a nice way of specifying ordered dictionaries from Python source.\n\nExample:\n\n >>> from odictliteral import odict\n >>> x = odict[1:2,3:4]\n >>> print(x)\n odict[1: 2, 3: 4]\n\nYou can use odict as a replacement for OrderedDict otherwise, eg:\n\n >>> y = odict( [(1,2), (3,4)] )\n >>> print(y)\n odict[1: 2, 3: 4]\n >>> x == y\n True\n\nYou should also be able to use odict in combination with OrderedDicts:\n\n >>> z = OrderedDict( [(1,2), (3,4)] )\n >>> print(z)\n OrderedDict([(1, 2), (3, 4)])\n >>> y == z\n True\n\nThat's pretty much all there is to it. Should be compatible with Python\n2.7 and Python 3; requires the \"ordereddict\" module to work with Python\n2.4, 2.5 or 2.6.", "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/ajtowns/odictliteral", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "odictliteral", "package_url": "https://pypi.org/project/odictliteral/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odictliteral/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ajtowns/odictliteral" }, "release_url": "https://pypi.org/project/odictliteral/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "A tidier way of coding literal OrderedDicts", "version": "1.0.0" }, "last_serial": 1052137, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "818bbf5ce787c9f258fcc38a9c42ba61", "sha256": "88405c7fab7ff7a54c7b9fac9fd69264e526b0024b8265bc042ba3a797f0c161" }, "downloads": -1, "filename": "odictliteral-1.0.0.tar.gz", "has_sig": false, "md5_digest": "818bbf5ce787c9f258fcc38a9c42ba61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3097, "upload_time": "2014-04-05T16:02:28", "url": "https://files.pythonhosted.org/packages/11/71/8752b9e8a7bd25112b1e676b81b9d05df5299f6f8305c868eec7f656bcc2/odictliteral-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "818bbf5ce787c9f258fcc38a9c42ba61", "sha256": "88405c7fab7ff7a54c7b9fac9fd69264e526b0024b8265bc042ba3a797f0c161" }, "downloads": -1, "filename": "odictliteral-1.0.0.tar.gz", "has_sig": false, "md5_digest": "818bbf5ce787c9f258fcc38a9c42ba61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3097, "upload_time": "2014-04-05T16:02:28", "url": "https://files.pythonhosted.org/packages/11/71/8752b9e8a7bd25112b1e676b81b9d05df5299f6f8305c868eec7f656bcc2/odictliteral-1.0.0.tar.gz" } ] }