{ "info": { "author": "Erik Rose", "author_email": "erikrose@grinchcentral.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: User Interfaces" ], "description": "==========\nTracefront\n==========\n\n.. image:: https://secure.travis-ci.org/erikrose/tracefront.png?branch=master\n :target: http://travis-ci.org/erikrose/tracefront\n\n**Note: This is a still an early pre-release. It works for me except for some\nugliness with SyntaxErrors, but there are no guarantees.**\n\nTracefront makes your tracebacks pretty and useful, like in `nose-progressive`_:\n\n.. image:: https://github.com/erikrose/nose-progressive/raw/master/in_progress.png\n\n(The FAIL bits and test names, of course, are just part of that testrunner.)\n\nWhat's my motivation?\n\n* Judicious use of color and other formatting makes the traceback easy to scan.\n It's especially easy to slide down the list of function names to keep your\n place while debugging.\n* Using relative paths (optional) and omitting redundant wording fits much more\n in limited screen space.\n* Editor shortcuts (see below) let you jump right to any problem line in your\n editor.\n\nEditor Shortcuts\n----------------\n\nFor each frame of a traceback, Tracefront provides an editor shortcut.\nThis is a combination of a filesystem path and line number in a format\nunderstood by vi, emacs, the BBEdit command-line tool, and a number of other\neditors::\n\n vi +361 apps/notifications/tests.py # test_notification_completeness\n\nJust triple-click (or what have you) to select the line, and copy and paste it\nonto the command line. You'll land right at the offending line in your editor\nof choice. As a bonus, the editor shortcut is more compact than the stock\ntraceback formatting, which is handy if you have something like a test runner\nprinting a lot of them. If it looks like the output is going to a capable\nterminal, it'll even use color.\n\nYou can set which editor to use by setting either of these, which Tracefront\nchecks in order:\n\n* The ``$TRACEFRONT_EDITOR`` environment variable\n* The ``$EDITOR`` environment variable\n\n\nInstallation\n============\n\nJust do this... ::\n\n pip install tracefront\n\n...and all your tracebacks will be pretty and helpful for any app that does\nthis::\n\n imports traceback\n\nIn the future, I'm thinking about using even deeper evil to make it active even\nmore implicitly.\n\n\nOptions\n=======\n\nTracefront is configured by setting environment variables.\n\n``TRACEFRONT_ABSOLUTE_PATHS=1``\n Set this to 1 to always use absolute paths rather than ones relative to the\n current working directory.\n``TRACEFRONT_EDITOR=``\n The editor to use when building editor shortcuts\n``TRACEFRONT_FUNCTION_COLOR=<0..15>``\n ANSI color number to use for function names in tracebacks\n``TRACEFRONT_DIM_COLOR=<0..15>``\n ANSI color number to use for de-emphasized text (like editor shortcuts) in\n tracebacks\n\n\nHow It Works\n============\n\nTracefront shadows the stock traceback module, calling through for most stuff\nbut replacing the core formatting bits. If a program makes assumptions about\nthe composition of formatted tracebacks, it might break, but that would be\nweird, since there are more convenient representations easily available.\n\n\nLicense\n=======\n\nTracefront is under the MIT License. See the LICENSE file.\n\n\nVersion History\n===============\n\n0.4 (2012-07-08)\n * Make ``TRACEFRONT_FUNCTION_COLOR`` and ``TRACEFRONT_DIM_COLOR`` work as\n advertised. (msabramo)\n * Make tests run under Python 2.5. (msabramo)\n * Add Travis CI. (msabramo)\n * Work around spurious ``python setup.py test`` error message. (msabramo)\n\n0.3 (2012-03-22)\n * Grab the current working directory earlier so we're more likely to get\n the relative paths right (like when running nosetests).\n * Whip tox into shape. Tests now pass under Python 2.5.\n * Install more thoroughly. This should catch tracebacks thrown by the\n interpreter itself, not just ones explicitly formatted--as long as the\n program imports the traceback module at some point.\n * Patch print_list(), the last major routine that needed to be prettified.\n We still need to polish up display of the last few lines of SyntaxErrors.\n\n0.2 (2012-03-17)\n * Use terminal codes all the time. (Django uses format_list instead of\n print_tb, but I want it to be in color anyway.)\n * Document all the options in the readme.\n\n0.1 (2012-03-16)\n * Pulled the traceback formatting stuff out of `nose-progressive`_. Barely\n tested at all. Will probably erase your drive.\n\n.. _`nose-progressive`: http://pypi.python.org/pypi/nose-progressive/", "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/erikrose/tracefront", "keywords": "traceback,exception,frame,stack", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "tracefront", "package_url": "https://pypi.org/project/tracefront/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tracefront/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/erikrose/tracefront" }, "release_url": "https://pypi.org/project/tracefront/0.4/", "requires_dist": null, "requires_python": null, "summary": "Format tracebacks better.", "version": "0.4" }, "last_serial": 800852, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ff1523c4b790f1083a9153461ef4f373", "sha256": "d74cd6119a883bf15e2bae63ac0fea33b4845e1a76b82aad586537d92a25bb51" }, "downloads": -1, "filename": "tracefront-0.1.tar.gz", "has_sig": false, "md5_digest": "ff1523c4b790f1083a9153461ef4f373", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8272, "upload_time": "2012-03-16T20:44:13", "url": "https://files.pythonhosted.org/packages/3f/76/3981f0282159cbbf17fdc7e5772b32d9038345b1d272ff92193048e9aefe/tracefront-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c26a51f1eb9c7f066746e47aa3b09e91", "sha256": "075a6a975c1cef2dd206514b78622a81a7f3666bd358ec17c284493258c2993a" }, "downloads": -1, "filename": "tracefront-0.2.tar.gz", "has_sig": false, "md5_digest": "c26a51f1eb9c7f066746e47aa3b09e91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8879, "upload_time": "2012-03-17T20:08:04", "url": "https://files.pythonhosted.org/packages/0b/13/2a686858f78aa9d02a485597a66e70830cc5c397ac3b862190c9c3ea6ccd/tracefront-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "b56c643bb7b9d1453d3535723aef5d36", "sha256": "dd720ab3e1ff9bc513c047687e9212cef98430dd50f6bb1d7cecff7c2bac9f57" }, "downloads": -1, "filename": "tracefront-0.3.tar.gz", "has_sig": false, "md5_digest": "b56c643bb7b9d1453d3535723aef5d36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9477, "upload_time": "2012-03-23T07:37:46", "url": "https://files.pythonhosted.org/packages/8f/b1/80fdf435be7da92c82abc19f18c1992ce34ef884e7a287a7db7e04f3f354/tracefront-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "32b03bcf833f8bc37cce93ef2d851a2b", "sha256": "0f2cb4178ac074803653ea7384d5ee8306fd09ff5c685507249f561b44813a01" }, "downloads": -1, "filename": "tracefront-0.4.tar.gz", "has_sig": false, "md5_digest": "32b03bcf833f8bc37cce93ef2d851a2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9614, "upload_time": "2012-07-09T08:46:00", "url": "https://files.pythonhosted.org/packages/82/72/b48582626d395745643db4854c0a6da15a4bc7050c106c3527f768afb4c3/tracefront-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "32b03bcf833f8bc37cce93ef2d851a2b", "sha256": "0f2cb4178ac074803653ea7384d5ee8306fd09ff5c685507249f561b44813a01" }, "downloads": -1, "filename": "tracefront-0.4.tar.gz", "has_sig": false, "md5_digest": "32b03bcf833f8bc37cce93ef2d851a2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9614, "upload_time": "2012-07-09T08:46:00", "url": "https://files.pythonhosted.org/packages/82/72/b48582626d395745643db4854c0a6da15a4bc7050c106c3527f768afb4c3/tracefront-0.4.tar.gz" } ] }