{ "info": { "author": "Ilya Shalyapin", "author_email": "ishalyapin@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "# python-debug\n\nUseful debugging tools\n\n## Installation\n \n pip install python-debug\n\n## Save text to temp file\n\n >>> text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...'\n >>> import pydebug\n >>> pydebug.save(text)\n '/tmp/tmpSTTRow'\n\n## Use less from python console\n\n >>> text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...'\n >>> import pydebug\n >>> pydebug.less(text)\n\n## Use ack-grep from python console\n\n >>> text = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit...'\n >>> import pydebug\n >>> pydebug.grep(text, '-i lorem')\n Lorem ipsum dolor sit amet, consectetur adipiscing elit...\n\n## XML formatting\n\n >>> xml = u'hellow world'\n >>> import pydebug\n >>> pydebug.xmlprint(xml)\n \n hellow world\n \n\n## Display readable unicode strings in iterable object\n\n >>> data = [u'\u043b\u0438\u043c\u043e\u043d', u'\u0430\u043f\u0435\u043b\u044c\u0441\u0438\u043d', {u'\u0444\u0440\u0443\u043a\u0442\u044b':(u'\u043c\u0430\u043d\u0434\u0430\u0440\u0438\u043d\u044b',)}]\n >>> print data\n [u'\\u043b\\u0438\\u043c\\u043e\\u043d', u'\\u0430\\u043f\\u0435\\u043b\\u044c\\u0441\\u0438\\u043d', {u'\\u0444\\u0440\\u0443\\u043a\\u0442\\u044b': (u'\\u043c\\u0430\\u043d\\u0434\\u0430\\u0440\\u0438\\u043d\\u044b',)}]\n >>> pydebug.uprint(data)\n [\"\u043b\u0438\u043c\u043e\u043d\", \"\u0430\u043f\u0435\u043b\u044c\u0441\u0438\u043d\", {\"\u0444\u0440\u0443\u043a\u0442\u044b\":(\"\u043c\u0430\u043d\u0434\u0430\u0440\u0438\u043d\u044b\",),},]\n >>> pydebug.pprint(data)\n [u'\u043b\u0438\u043c\u043e\u043d',\n u'\u0430\u043f\u0435\u043b\u044c\u0441\u0438\u043d',\n {u'\u0444\u0440\u0443\u043a\u0442\u044b': (u'\u043c\u0430\u043d\u0434\u0430\u0440\u0438\u043d\u044b',)}]\n >>>", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/un1t/python-debug/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/un1t/python-debug", "keywords": "django", "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "python-debug", "package_url": "https://pypi.org/project/python-debug/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-debug/", "project_urls": { "Download": "https://github.com/un1t/python-debug/tarball/master", "Homepage": "https://github.com/un1t/python-debug" }, "release_url": "https://pypi.org/project/python-debug/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "Useful debugging tools.", "version": "0.1.3" }, "last_serial": 797901, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c91f325d2f51165d1e237f012f4b77e2", "sha256": "9deba600f79fa37ca5b7d02e15f9bc016e8511a93f9fcf572c072175db88ed73" }, "downloads": -1, "filename": "python-debug-0.1.tar.gz", "has_sig": false, "md5_digest": "c91f325d2f51165d1e237f012f4b77e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1723, "upload_time": "2012-09-14T12:30:13", "url": "https://files.pythonhosted.org/packages/2e/64/2433651de9eab93bfa4cd60dd9a4843dd3cfd9d672fb071fb8725cefa7a4/python-debug-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fc56725370d1ffdbaae8fb66816245a6", "sha256": "134c9f9f35dd6e01424f23b39e642ce4764b94a1b1adba7124643b184646221f" }, "downloads": -1, "filename": "python-debug-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fc56725370d1ffdbaae8fb66816245a6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2284, "upload_time": "2012-09-17T12:48:41", "url": "https://files.pythonhosted.org/packages/42/d8/256d0bc688033a9d532d3952fed95977d8071c2ab759e2c4aa072194184b/python-debug-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "b5fc2e2f5d8f10a09a8fcfb18a639139", "sha256": "d2ddd70468617a29d9fdbd2a1839ee687085683f0a8f9936fec8c0865e4eace2" }, "downloads": -1, "filename": "python-debug-0.1.2.tar.gz", "has_sig": false, "md5_digest": "b5fc2e2f5d8f10a09a8fcfb18a639139", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2529, "upload_time": "2012-09-17T13:09:45", "url": "https://files.pythonhosted.org/packages/45/96/60fad34cd478f999034edfdf1e2ee02fc1b6a0a50b31c1e735bb69f29d35/python-debug-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "5f52fe5ea371f13dedf6bf209c993deb", "sha256": "cf07092377f13129fbb0dd5e0a549d6c179c3ddfb5e098352ef29af705814ca8" }, "downloads": -1, "filename": "python-debug-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5f52fe5ea371f13dedf6bf209c993deb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2553, "upload_time": "2012-09-18T09:41:57", "url": "https://files.pythonhosted.org/packages/c0/06/0df464f409f58973239f7b867b026ea58f3786ca92acfe0ac7cec8d734f1/python-debug-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5f52fe5ea371f13dedf6bf209c993deb", "sha256": "cf07092377f13129fbb0dd5e0a549d6c179c3ddfb5e098352ef29af705814ca8" }, "downloads": -1, "filename": "python-debug-0.1.3.tar.gz", "has_sig": false, "md5_digest": "5f52fe5ea371f13dedf6bf209c993deb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2553, "upload_time": "2012-09-18T09:41:57", "url": "https://files.pythonhosted.org/packages/c0/06/0df464f409f58973239f7b867b026ea58f3786ca92acfe0ac7cec8d734f1/python-debug-0.1.3.tar.gz" } ] }