{ "info": { "author": "vaaaaanquish", "author_email": "6syun9@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# xontrib-readable-traceback\nMake traceback easier to see for xonsh.\n\nPython work very often with large libraries like pandas, or matplotlib. This means that exceptions often produce long stack traces. Since we don't need to see the library detail in the vast majority of cases. Especially with a shell like xonsh.\n\nThis xontrib making readable and short traceback.\n\nexample:\nSimple division by zero error.\n\n\n\nexample:\nThis simple pandas error produces a stacktrace containing 28 lines. But xontrib load...\n\n\n\n# Install\nInstall using pip\n\n```\npip install xontrib-readable-traceback\n```\n\nWrite .xonshrc\n```\nxontrib load readable-traceback\n```\n\n# Usage\n\nThis xontrib use [backtrace package](https://github.com/nir0s/backtrace).\n\nFor the main usage, please refer to the following.\n\nhttps://github.com/nir0s/backtrace#usage\n\n## Example xonshrc\n\nxonshrc sample.\n```\n~~~\nxontrib load readable-traceback\n$READABLE_TRACE_STRIP_PATH_ENV=True\n$READABLE_TRACE_REVERSE=True\n~~~\n```\n\n## Setting backtrace\n\nThe correspondence with the variable of [backtrace](https://github.com/nir0s/backtrace) is as follows.\n\n| backtrace | xontrib-readable-traceback | Type |\n----|----|----|\n| reverse | $READABLE_TRACE_REVERSE | bool |\n| align | $READABLE_TRACE_ALIGN | bool |\n| strip_path | $READABLE_TRACE_STRIP_PATH_ENV | bool |\n| enable_on_envvar_only | $READABLE_TRACE_ENVVAR_ONLY | bool |\n| on_tty | $READABLE_TRACE_ON_TTY | bool |\n| conservative | $READABLE_TRACE_CONSERVATIVE | bool |\n| style | $READABLE_TRACE_STYLES | dict |\n\nFor details of `style` please refer to [backtrace#style](https://github.com/nir0s/backtrace#styles) and [colorama](https://github.com/tartley/colorama).\n\n## Switching readable-traceback\n\nIf we want to turn trace off, we can use:\n```\n$XONSH_READABLE_TRACEBACK=False\n```\n\nIf so, the notation of traceback follows xonsh_env(`$XONSH_SHOW_TRACEBACK`).\n\n## Xonsh traceback log\n\nXonsh can keep a log of traceback.
\nTo keep the log, write `\"ABSOLUTE PATH TO TRACEBACK LOG\"` below.\n```\n$XONSH_TRACEBACK_LOGFILE=\"PATH\"\n```\nIf it is None, no log is kept.\nDefault is None.\n\n# Thanks\n\nThanks\n - https://github.com/xonsh/xonsh \n - https://github.com/nir0s/backtrace\n - https://github.com/laerus/cookiecutter-xontrib\n\nI appreciate all Python's assets and xonsh.
\nIf there is something problem, up to github issue.
\n[@vaaaaanquish](https://twitter.com/vaaaaanquish)\n\n\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/6syun9/xontrib-readable-traceback", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xontrib-readable-traceback", "package_url": "https://pypi.org/project/xontrib-readable-traceback/", "platform": "any", "project_url": "https://pypi.org/project/xontrib-readable-traceback/", "project_urls": { "Homepage": "https://github.com/6syun9/xontrib-readable-traceback" }, "release_url": "https://pypi.org/project/xontrib-readable-traceback/0.3.1/", "requires_dist": [ "colorama (==0.3.7)", "backtrace" ], "requires_python": "", "summary": "Traceback easier to see for xonsh.", "version": "0.3.1" }, "last_serial": 5405573, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e9950be3355225434cb257b784508ecc", "sha256": "43452950b79ea34a2d1ef41c623c43ba651c245bdbde3990452de210b7426ab0" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e9950be3355225434cb257b784508ecc", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3161, "upload_time": "2018-04-13T07:22:13", "url": "https://files.pythonhosted.org/packages/67/78/d81769e4a885430636683aedaad9e69d7b841f7042173bfb0bf1e2e6ef72/xontrib_readable_traceback-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f9619841d279ab1af3d53d8eb56940ba", "sha256": "54af533d43792beeb2c7583c2cf2259a75dfb832ef41259415c4961f19b9eea6" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f9619841d279ab1af3d53d8eb56940ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1824, "upload_time": "2018-04-13T07:22:14", "url": "https://files.pythonhosted.org/packages/48/71/2b1dad9498abeb60c81f5c251e80117b1faf5a51115310e68ff32317ce66/xontrib-readable-traceback-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "c6223921f43d015dad795326503aeaac", "sha256": "10240f789ed21881b489c09b246db212d7791661d9c3e6cab49422a1dfc109e0" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "c6223921f43d015dad795326503aeaac", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5718, "upload_time": "2018-04-14T07:46:22", "url": "https://files.pythonhosted.org/packages/55/30/9826d5d7fce23c9e4122c3d6e1de90ba1b597327b0c95d2c78519a1e64ee/xontrib_readable_traceback-0.2.0-py3-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "4cc8993f6bf35b2318b8e381f2cb56dd", "sha256": "c54dbdc7f64b09496c237255efd98a4091933567f7dda6184d0aaa09a48a04bb" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "4cc8993f6bf35b2318b8e381f2cb56dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5730, "upload_time": "2018-04-15T07:47:33", "url": "https://files.pythonhosted.org/packages/e2/82/d6289f9c37b688f2472273012270d66fa10adb58c1edb5327fdc51724a69/xontrib_readable_traceback-0.2.1-py3-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "0df4b389f82534eb217816d19a7e461b", "sha256": "50288e409efbe269ba59e84ac1ef22450f9be71de19212d7cd867d8b882aaad1" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "0df4b389f82534eb217816d19a7e461b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5781, "upload_time": "2018-04-15T07:54:43", "url": "https://files.pythonhosted.org/packages/31/e6/61fe8ba2dfc6840940f28342c3b9a16d5a9899b7eded83d8282cc09e22f6/xontrib_readable_traceback-0.2.2-py3-none-any.whl" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "44d216026421b27a23a507a6574ad4e9", "sha256": "33fecdcc195bc65d83e831c03ff8fe81689ca319483c03ecc6a258a78e697cc5" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "44d216026421b27a23a507a6574ad4e9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5781, "upload_time": "2018-07-07T09:11:37", "url": "https://files.pythonhosted.org/packages/b8/6c/75a8da5a3e0cffb3adf4676b56e83982ec4885496eb790a974d8c9f0e5b2/xontrib_readable_traceback-0.2.3-py3-none-any.whl" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "4056a60b82d73a650905e133fdaaff3d", "sha256": "189aab6281b565fecae9db1d14a94faffa4dce6c2dd2fba00b61c0ade3bf3663" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "4056a60b82d73a650905e133fdaaff3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4630, "upload_time": "2018-12-05T06:20:16", "url": "https://files.pythonhosted.org/packages/c6/ae/8fb6c361524a03a462d43ad0f6967de9e62ea2a16d0b088fecf25be118ed/xontrib_readable_traceback-0.2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ad0a09a50c5a034f9f70e70b4808f3a", "sha256": "71c115f52b36cdcdaaa6b32a1f92be1051970fabceaf01ac7e14ff9cf2e41de9" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.2.4.tar.gz", "has_sig": false, "md5_digest": "2ad0a09a50c5a034f9f70e70b4808f3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3593, "upload_time": "2019-04-13T15:48:15", "url": "https://files.pythonhosted.org/packages/01/d0/e492f62a122a637a48aa37d7dc378b1b08b507dc458b3f6f846e3d6f0262/xontrib-readable-traceback-0.2.4.tar.gz" } ], "0.2.41": [ { "comment_text": "", "digests": { "md5": "9854f3979c6e6a6404245ea0ebb8181a", "sha256": "983f8cd2e713ac88e84b0ffdeae67f4c06fc82aa26b5d8bedd7175e7626c26bb" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.2.41.tar.gz", "has_sig": false, "md5_digest": "9854f3979c6e6a6404245ea0ebb8181a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3591, "upload_time": "2019-04-13T15:50:24", "url": "https://files.pythonhosted.org/packages/0c/c5/f9dfda6d5caf5f293439b6b776e0b9c02ee57bf8fe13048bcd9a9150d3a2/xontrib-readable-traceback-0.2.41.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "f5420f386657691f7c836f1032db4ef8", "sha256": "8dbe79cbe3ec09357338ae727fa11300c0afef5f4faed56eaebb0256b56f5f8b" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.2.5-py3-none-any.whl", "has_sig": false, "md5_digest": "f5420f386657691f7c836f1032db4ef8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4412, "upload_time": "2019-06-16T04:03:56", "url": "https://files.pythonhosted.org/packages/0e/e3/5fcf5f287b419cb64a00a66d50f69fdca75230b5b0e874bea358cbc3bf7a/xontrib_readable_traceback-0.2.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3af06e625dcaa9dcf12c9b42deaf92fc", "sha256": "f4fcd9258b1edd8c5c77733688091a2bfecafbcc2b8576b6f69d8057fc53135d" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.2.5.tar.gz", "has_sig": false, "md5_digest": "3af06e625dcaa9dcf12c9b42deaf92fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3284, "upload_time": "2019-06-16T04:03:57", "url": "https://files.pythonhosted.org/packages/31/29/7873df8fb09162cad3c69d24eb880fa52fca27c3b6233dbfcf8d2e93fde9/xontrib-readable-traceback-0.2.5.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "50b47f4a1ffb8822896e3f628c66d126", "sha256": "14f93437822496472ef3a228921eb7387b5154e90e4261bebb879315d4e2b616" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "50b47f4a1ffb8822896e3f628c66d126", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4411, "upload_time": "2019-06-16T04:09:16", "url": "https://files.pythonhosted.org/packages/5d/7e/060578bc787a77a8fbe7242f512b8d7e11d99154918120fc1a128950542a/xontrib_readable_traceback-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "07267f2445d4abd4879e4bc6c32e7937", "sha256": "b38fdeed8343871820ff66c3abf76abf5474345aff20f72473d2f7e9ab648fc4" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.3.0.tar.gz", "has_sig": false, "md5_digest": "07267f2445d4abd4879e4bc6c32e7937", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3288, "upload_time": "2019-06-16T04:09:18", "url": "https://files.pythonhosted.org/packages/cb/5d/a569cab4aa922e8f9e7190e6279197b7d33adfb59b7a85e60319ef10fca3/xontrib-readable-traceback-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7bd52fe4fc6ccb7141c29994a9925b8c", "sha256": "1a513479cc2db9def7ecfec2e68e854888fa0b66e404d104423a47af327f6776" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7bd52fe4fc6ccb7141c29994a9925b8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5633, "upload_time": "2019-06-16T04:42:12", "url": "https://files.pythonhosted.org/packages/57/96/dbfac8102433c6469f3da15f66226bd8b38882bec0ab994c9cd1405ccdd9/xontrib_readable_traceback-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f3ff454993e658853fc00b6435af6b5", "sha256": "72d348c54cd53c44ad6ae35b263aa143824156056308ab3bf346eb69daa3dc31" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1f3ff454993e658853fc00b6435af6b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3289, "upload_time": "2019-06-16T04:42:14", "url": "https://files.pythonhosted.org/packages/2a/e2/08375970527b2e2cf1afe7f480465cd8b270e02a64ca63e8636218b59ee4/xontrib-readable-traceback-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7bd52fe4fc6ccb7141c29994a9925b8c", "sha256": "1a513479cc2db9def7ecfec2e68e854888fa0b66e404d104423a47af327f6776" }, "downloads": -1, "filename": "xontrib_readable_traceback-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7bd52fe4fc6ccb7141c29994a9925b8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5633, "upload_time": "2019-06-16T04:42:12", "url": "https://files.pythonhosted.org/packages/57/96/dbfac8102433c6469f3da15f66226bd8b38882bec0ab994c9cd1405ccdd9/xontrib_readable_traceback-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1f3ff454993e658853fc00b6435af6b5", "sha256": "72d348c54cd53c44ad6ae35b263aa143824156056308ab3bf346eb69daa3dc31" }, "downloads": -1, "filename": "xontrib-readable-traceback-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1f3ff454993e658853fc00b6435af6b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3289, "upload_time": "2019-06-16T04:42:14", "url": "https://files.pythonhosted.org/packages/2a/e2/08375970527b2e2cf1afe7f480465cd8b270e02a64ca63e8636218b59ee4/xontrib-readable-traceback-0.3.1.tar.gz" } ] }