This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

exception

Extract unique Python-Exceptions with their traceback from a log file.

## WARNING!

The 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!

## Installational

Clone this repository and install with

python setup.py install

This adds a utility called exception or exception.exe to your path.

## Usage

To extract the Python tracebacks from a log called _logfile.txt_, run:

$ exception -f logfile.txt

If you want to exclude certain exceptions, try:

$ exception -f logfile.txt -e ValueError,AttributeError

You can all pass multiple filenames:

$ exception -f logfile1.txt logfile2.txt

This would exclude would exclude any ValueError or AttributeError tracebacks from the output.

The tool can also read the log file from stdout, e.g.:

cat logfile.txt | exception

or

cat logfile.txt | exception -e ValueError

Credits

This is based on [a script](https://gist.github.com/originell/1923003) by [@originell](https://github.com/originell).

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2016-06-16)

  • First release on PyPI.
Release History

Release History

0.1.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
exception-0.1.0-py2.py3-none-any.whl (5.7 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Jun 16, 2016
exception-0.1.0.tar.gz (12.7 kB) Copy SHA256 Checksum SHA256 Source Jun 16, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting