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 11,346,400 times in total on PyPI, including 1,576,433 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.
- 0151.3%
2.0.4
1.5M downloadsDownloads1.5M51.3% - 0247.7%
2.2.1
1.4M downloadsDownloads1.4M47.7% - 030.7%
2.1.1
19.7k downloadsDownloads19.7k0.7% - 040.3%
2.2.0
10.0k downloadsDownloads10.0k0.3% - 05<0.1%
2.1.0
291 downloadsDownloads291<0.1% - 06<0.1%
2.0.1
203 downloadsDownloads203<0.1% - 07<0.1%
1.1.9
182 downloadsDownloads182<0.1% - 08<0.1%
1.1.0
94 downloadsDownloads94<0.1% - 09<0.1%
Other
779 downloadsDownloads779<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.