Go to file
2017-09-10 22:27:51 +02:00
better_exceptions Add __version__ to top level module 2017-09-10 22:25:43 +02:00
test Add tests to check correctly truncated values 2017-09-10 22:27:51 +02:00
.editorconfig initial commit 2017-03-12 04:22:31 -07:00
.gitignore ignore manifest files 2017-03-12 04:39:16 -07:00
.travis.yml Add Travis testing (#20) 2017-03-24 01:56:12 -07:00
LICENSE.txt initial commit 2017-03-12 04:22:31 -07:00
README.md Add Travis testing (#20) 2017-03-24 01:56:12 -07:00
screenshot.png initial commit 2017-03-12 04:22:31 -07:00
setup.cfg initial commit 2017-03-12 04:22:31 -07:00
setup.py Add __version__ to top level module 2017-09-10 22:25:43 +02:00
test_all.sh Add tests to check correctly truncated values 2017-09-10 22:27:51 +02:00

better-exceptions Travis

Pretty and more helpful exceptions in Python, automatically.

Example screenshot of exceptions

Usage

Install better_exceptions via pip:

$ pip install better_exceptions

And import it somewhere:

import better_exceptions

That's it!

Advanced Usage

If you want to allow the entirety of values to be outputted instead of being truncated to a certain amount of characters:

better_exceptions.MAX_LENGTH = None

See Also

License

Copyright © 2017, Josh Junon. Licensed under the MIT license.