traceback-with-variables
Adds 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.
traceback-with-variables has been downloaded 7,385,246 times in total on PyPI, including 698,022 in the last 30 days. The latest version is 2.2.1, released Oct 24, 2025.
Downloads
Weekly, last 90d.
Includes CI traffic.
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0178.1%
2.2.1
1.4M downloadsDownloads1.4M78.1% - 0219.4%
2.0.4
352.3k downloadsDownloads352.3k19.4% - 031.2%
2.1.1
22.1k downloadsDownloads22.1k1.2% - 041.2%
2.2.0
21.2k downloadsDownloads21.2k1.2% - 05<0.1%
2.1.0
1.4k downloadsDownloads1.4k<0.1% - 06<0.1%
2.0.1
261 downloadsDownloads261<0.1% - 07<0.1%
1.1.9
113 downloadsDownloads113<0.1% - 08<0.1%
2.0.0
70 downloadsDownloads70<0.1% - 09<0.1%
Other
606 downloadsDownloads606<0.1%
Guess the next day
Thirteen recent days of traceback-with-variables downloads. Drag the green handle on the right to guess where day fourteen lands.