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 6,860,746 times in total on PyPI, including 634,825 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.2M downloadsDownloads1.2M77.2% - 0220.0%
2.0.4
320.7k downloadsDownloads320.7k20.0% - 031.4%
2.2.0
22.6k downloadsDownloads22.6k1.4% - 041.3%
2.1.1
21.1k downloadsDownloads21.1k1.3% - 050.1%
2.1.0
1.6k downloadsDownloads1.6k0.1% - 06<0.1%
2.0.1
211 downloadsDownloads211<0.1% - 07<0.1%
1.1.9
121 downloadsDownloads121<0.1% - 08<0.1%
2.0.0
77 downloadsDownloads77<0.1% - 09<0.1%
Other
689 downloadsDownloads689<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.