Comparison
colored-traceback vs pretty-traceback vs traceback-with-variables vs tracebackturbo3
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Automatically color uncaught exception tracebacks
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install colored-tracebackHuman readable stacktraces.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pretty-tracebackAdds variables to python traceback. Simple, lightweight, controllable. Debug reasons of exceptions by logging or pretty printing colorful variable contexts for each frame in a stacktrace, showing every value. Dump locals environments after errors to console, files, and loggers. Works with Jupyter and IPython.
Low maintenance activity. Last release 13 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install traceback-with-variablesPatched version of traceback, also dumps local and global scope vars.
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install tracebackturbo3In short
- colored-traceback is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pretty-traceback is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- tracebackturbo3 looks abandoned: avoid it for new projects.
- traceback-with-variables is the most used: 1.4M downloads a month.
- traceback-with-variables also has the best Pythie’s Index (29).
- traceback-with-variables is growing fastest: downloads +47% over the last month.
Side by side
| Metric | colored-traceback | pretty-traceback | traceback-with-variables | tracebackturbo3 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | 13 |