py_better_exchook
nice Python exception hook replacement (by albertz)
pyset_x
Like `set -x` in bash, for Python (by czinck)
py_better_exchook | pyset_x | |
---|---|---|
2 | 1 | |
40 | 0 | |
- | - | |
5.6 | 2.6 | |
4 months ago | over 3 years ago | |
Python | Python | |
BSD 2-clause "Simplified" 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.
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
pyset_x
Posts with mentions or reviews of pyset_x.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-03-29.
-
Icecream: Never use print() to debug again in Python
I started writing a very-alpha related tool, https://github.com/czinck/pyset_x. As the name implies, it's like `set -x` in bash, in that it prints every line as it executes. It's more useful for situations where you have some complicated control flow and it's not working exactly how you expect.
What are some alternatives?
When comparing py_better_exchook and pyset_x you can also consider the following projects:
better-exceptions - Pretty and useful exceptions in Python, automatically.
python-devtools - Dev tools for python
q - Quick and dirty debugging output for tired programmers. ⛺
snoop - A powerful set of Python debugging tools, based on PySnooper
PySnooper - Never use print for debugging again
ray - Debug with Ray to fix problems faster
panopticon - Python tracing module to visualize code execution.