{ "info": { "author": "Timothy Hopper", "author_email": "tdhopper@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\nexception\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/exception.svg\n :target: https://pypi.python.org/pypi/exception\n\n.. image:: https://img.shields.io/travis/tdhopper/exception.svg\n :target: https://travis-ci.org/tdhopper/exception\n\n.. image:: https://readthedocs.org/projects/exception/badge/?version=latest\n :target: https://exception.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/tdhopper/cookiecutter-django/shield.svg\n :target: https://pyup.io/repos/github/tdhopper/exception/\n :alt: Updates\n\n\nExtract unique Python-Exceptions with their traceback from a log file.\n\n## WARNING!\n\nThe extraction logic here is heuristic and may fail you. Don't depend on it for any life or death situations. Also, please submit feedback on how it could be improved!\n\n## Installational\n\n Clone this repository and install with\n\n python setup.py install\n\nThis adds a utility called `exception` or `exception.exe` to your path.\n\n## Usage\n\nTo extract the Python tracebacks from a log called _logfile.txt_, run:\n\n $ exception -f logfile.txt\n\nIf you want to exclude certain exceptions, try:\n\n $ exception -f logfile.txt -e ValueError,AttributeError\n\nYou can all pass multiple filenames:\n\n $ exception -f logfile1.txt logfile2.txt\n\nThis would exclude would exclude any ``ValueError`` or ``AttributeError`` tracebacks from the output.\n\nThe tool can also read the log file from stdout, e.g.:\n\n cat logfile.txt | exception\n\nor\n\n cat logfile.txt | exception -e ValueError\n\n\nCredits\n---------\n\n\nThis is based on [a script](https://gist.github.com/originell/1923003) by [@originell](https://github.com/originell).\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-06-16)\n------------------\n\n* First release on PyPI.", "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/tdhopper/exception", "keywords": "exception", "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "exception", "package_url": "https://pypi.org/project/exception/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/exception/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/tdhopper/exception" }, "release_url": "https://pypi.org/project/exception/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Extract unique Python exceptions with their traceback from a log file.", "version": "0.1.0" }, "last_serial": 2171264, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b569cb4c649b522b2a92d3766a41479d", "sha256": "f8ce0ed8e75fafa9f948e37548290cb8d188a154a17426b1a9ca01f39647cf08" }, "downloads": -1, "filename": "exception-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b569cb4c649b522b2a92d3766a41479d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5714, "upload_time": "2016-06-16T18:27:36", "url": "https://files.pythonhosted.org/packages/db/b7/2ebe2a6f154a525465d5fe181ccc4b9d570d5210ac337a450b9b1ed21333/exception-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7753736272ee15f17f2e649e05b2136", "sha256": "b11176dc5c4386a1649476d498b2efd3cd6eb1151ca6c2214f16b90a785c0a3b" }, "downloads": -1, "filename": "exception-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a7753736272ee15f17f2e649e05b2136", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12677, "upload_time": "2016-06-16T18:27:32", "url": "https://files.pythonhosted.org/packages/6a/bc/166103e2bc6c52a001ff9ea5ad80a1dada87a97a5d8e35fc2f3314375eb4/exception-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b569cb4c649b522b2a92d3766a41479d", "sha256": "f8ce0ed8e75fafa9f948e37548290cb8d188a154a17426b1a9ca01f39647cf08" }, "downloads": -1, "filename": "exception-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b569cb4c649b522b2a92d3766a41479d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5714, "upload_time": "2016-06-16T18:27:36", "url": "https://files.pythonhosted.org/packages/db/b7/2ebe2a6f154a525465d5fe181ccc4b9d570d5210ac337a450b9b1ed21333/exception-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7753736272ee15f17f2e649e05b2136", "sha256": "b11176dc5c4386a1649476d498b2efd3cd6eb1151ca6c2214f16b90a785c0a3b" }, "downloads": -1, "filename": "exception-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a7753736272ee15f17f2e649e05b2136", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12677, "upload_time": "2016-06-16T18:27:32", "url": "https://files.pythonhosted.org/packages/6a/bc/166103e2bc6c52a001ff9ea5ad80a1dada87a97a5d8e35fc2f3314375eb4/exception-0.1.0.tar.gz" } ] }