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,769,967 times in total on PyPI, including 840,586 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.
- 0171.2%
2.2.1
1.5M downloadsDownloads1.5M71.2% - 0227.3%
2.0.4
585.6k downloadsDownloads585.6k27.3% - 031.0%
2.1.1
22.0k downloadsDownloads22.0k1.0% - 040.5%
2.2.0
10.0k downloadsDownloads10.0k0.5% - 05<0.1%
2.1.0
294 downloadsDownloads294<0.1% - 06<0.1%
2.0.1
161 downloadsDownloads161<0.1% - 07<0.1%
1.1.9
155 downloadsDownloads155<0.1% - 08<0.1%
1.1.0
107 downloadsDownloads107<0.1% - 09<0.1%
Other
705 downloadsDownloads705<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.