{ "info": { "author": "Stu Glaser", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7" ], "description": "Pretty-printer for complex python types\n=======================================\n\nThis package helps describe complex, nested Python data structures. Use the\n`prettytype` function to print the structure and quickly understand what type of\nobject you have.\n\nFor example, let's examine a complex JSON object from the internet:\n\n.. code:: python\n\n import requests\n import json\n\n r = requests.get('https://openlibrary.org/api/books?bibkeys=ISBN:0385472579,LCCN:62019420&format=json')\n data = json.loads(r.text)\n print 'Data:', data\n print\n\n from prettytype import prettytype\n print 'Type:', prettytype(data)\n\n ===>\n\n Data: {u'ISBN:0385472579': {u'bib_key': u'ISBN:0385472579', ......\n\n Type: {str: {str: str}}\n\nprettytype shows that the API returns nested dictionaries with string keys.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/stuglaser/prettytype", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "prettytype", "package_url": "https://pypi.org/project/prettytype/", "platform": "", "project_url": "https://pypi.org/project/prettytype/", "project_urls": { "Homepage": "https://github.com/stuglaser/prettytype" }, "release_url": "https://pypi.org/project/prettytype/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Print types of nested structues", "version": "0.1.0" }, "last_serial": 3452847, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "02f072f33adce72c73f684e7a3bd9f43", "sha256": "3394e279893099146f5b5d737ff38463cba1c72de5070041bc340a3418d98baa" }, "downloads": -1, "filename": "prettytype-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "02f072f33adce72c73f684e7a3bd9f43", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4294, "upload_time": "2017-12-31T07:46:26", "url": "https://files.pythonhosted.org/packages/8e/01/3215204cb35c81b41abe332c4a633295dbf7627274fe4b23855295841cc8/prettytype-0.1.0-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "02f072f33adce72c73f684e7a3bd9f43", "sha256": "3394e279893099146f5b5d737ff38463cba1c72de5070041bc340a3418d98baa" }, "downloads": -1, "filename": "prettytype-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "02f072f33adce72c73f684e7a3bd9f43", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4294, "upload_time": "2017-12-31T07:46:26", "url": "https://files.pythonhosted.org/packages/8e/01/3215204cb35c81b41abe332c4a633295dbf7627274fe4b23855295841cc8/prettytype-0.1.0-py2-none-any.whl" } ] }