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 9,070,238 times in total on PyPI, including 605,683 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.
- 0177.2%
2.2.1
1.6M downloadsDownloads1.6M77.2% - 0221.1%
2.0.4
432.1k downloadsDownloads432.1k21.1% - 031.2%
2.1.1
24.7k downloadsDownloads24.7k1.2% - 040.5%
2.2.0
10.0k downloadsDownloads10.0k0.5% - 05<0.1%
2.1.0
509 downloadsDownloads509<0.1% - 06<0.1%
2.0.1
139 downloadsDownloads139<0.1% - 07<0.1%
1.1.9
104 downloadsDownloads104<0.1% - 08<0.1%
1.1.0
97 downloadsDownloads97<0.1% - 09<0.1%
Other
543 downloadsDownloads543<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.