infi.traceback
better-exceptions
infi.traceback | better-exceptions | |
---|---|---|
1 | 3 | |
6 | 4,531 | |
- | - | |
10.0 | 0.0 | |
almost 4 years ago | about 1 year ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
infi.traceback
-
Creating Beautiful Tracebacks with Python's Exception Hooks
printing local variables from each frame
better-exceptions
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
Maybe it's just for me, but my out of box experience with stackprinter is better than with better-exceptions, which has 4 times more stars on github.
-
what are your most used packages for general development?
Great comments. Let me add better exceptions, which adds useful context to exceptions—helping understanding why they happened.
-
Creating Beautiful Tracebacks with Python's Exception Hooks
# https://github.com/Qix-/better-exceptions # pip install better_exceptions # export BETTER_EXCEPTIONS=1 import better_exceptions better_exceptions.MAX_LENGTH = None # Check if you TERM variable is set to `xterm`, if not set below variable - https://github.com/Qix-/better-exceptions/issues/8 better_exceptions.SUPPORTS_COLOR = True better_exceptions.hook() do_stuff() # Raises ValueError
What are some alternatives?
stackprinter - Debugging-friendly exceptions for Python
PrettyErrors - Prettify Python exception output to make it legible.
py_better_exchook - nice Python exception hook replacement
zarr-python - An implementation of chunked, compressed, N-dimensional arrays for Python.
taskipy - the complementary task runner for python
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
PySnooper - Never use print for debugging again
UniversalWrapper - A universal shell wrapper for Python
python-o365 - A simple python library to interact with Microsoft Graph and Office 365 API
convtools - convtools is a specialized Python library for dynamic, declarative data transformations with automatic code generation
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.