stackprinter
Debugging-friendly exceptions for Python (by cknd)
py_better_exchook
nice Python exception hook replacement (by albertz)
stackprinter | py_better_exchook | |
---|---|---|
1 | 2 | |
1,271 | 40 | |
- | - | |
5.5 | 5.6 | |
2 months ago | 4 months ago | |
Python | Python | |
MIT License | BSD 2-clause "Simplified" 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.
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()
py_better_exchook
Posts with mentions or reviews of py_better_exchook.
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
printing relevant info for each frame (referenced variables)
-
Icecream: Never use print() to debug again in Python
If you like this, you might also like my small debugging utility, a better_exchook replacement: https://github.com/albertz/py_better_exchook
Simple example:
assert x == 4
What are some alternatives?
When comparing stackprinter and py_better_exchook you can also consider the following projects:
better-exceptions - Pretty and useful exceptions in Python, automatically.
PrettyErrors - Prettify Python exception output to make it legible.
python-devtools - Dev tools for python
Sentry - Developer-first error tracking and performance monitoring
snoop - A powerful set of Python debugging tools, based on PySnooper
mitmproxy - An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.
q - Quick and dirty debugging output for tired programmers. ⛺
infi.traceback - better tracebacks
PySnooper - Never use print for debugging again
ray - Debug with Ray to fix problems faster
pyset_x - Like `set -x` in bash, for Python
stackprinter vs better-exceptions
py_better_exchook vs better-exceptions
stackprinter vs PrettyErrors
py_better_exchook vs python-devtools
stackprinter vs Sentry
py_better_exchook vs snoop
stackprinter vs mitmproxy
py_better_exchook vs q
stackprinter vs infi.traceback
py_better_exchook vs PySnooper
py_better_exchook vs ray
py_better_exchook vs pyset_x