PrettyErrors
Prettify Python exception output to make it legible. (by onelivesleft)
stackprinter
Debugging-friendly exceptions for Python (by cknd)
PrettyErrors | stackprinter | |
---|---|---|
6 | 1 | |
2,694 | 1,270 | |
- | - | |
0.0 | 5.5 | |
over 2 years ago | about 2 months ago | |
Python | Python | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PrettyErrors
Posts with mentions or reviews of PrettyErrors.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-02.
- Show HN: Python errors that are legible
-
Creating Beautiful Tracebacks with Python's Exception Hooks
# https://github.com/onelivesleft/PrettyErrors/ # pip install pretty_errors import pretty_errors # `configure` can be omitted if you're satisfied with default settings pretty_errors.configure( filename_display = pretty_errors.FILENAME_EXTENDED, line_number_first = True, display_link = True, line_color = pretty_errors.RED + '> ' + pretty_errors.default_config.line_color, code_color = ' ' + pretty_errors.default_config.line_color, truncate_code = True, display_locals = True ) do_stuff()
- Prettify Python exception output to make it legible.
- PrettyErrors, a module to format exception reports
-
Pretty Error Output In Python
Today's post demonstrated how to use the PrettyErrors to make our error debugging experience much more pleasant.
stackprinter
Posts with mentions or reviews of stackprinter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-02.
-
Creating Beautiful Tracebacks with Python's Exception Hooks
# https://github.com/cknd/stackprinter # pip install stackprinter import stackprinter stackprinter.set_excepthook(style='darkbg2') do_stuff()
What are some alternatives?
When comparing PrettyErrors and stackprinter you can also consider the following projects:
better-exceptions - Pretty and useful exceptions in Python, automatically.
PyInquirer - A Python module for common interactive command line user interfaces
Sentry - Developer-first error tracking and performance monitoring
hello-python-fire
mitmproxy - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
Loguru - Python logging made (stupidly) simple
py_better_exchook - nice Python exception hook replacement
CPython - The Python programming language
infi.traceback - better tracebacks