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,920,573 times in total on PyPI, including 775,327 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.
- 0179.1%
2.2.1
1.6M downloadsDownloads1.6M79.1% - 0218.8%
2.0.4
378.4k downloadsDownloads378.4k18.8% - 031.1%
2.1.1
22.3k downloadsDownloads22.3k1.1% - 040.9%
2.2.0
17.9k downloadsDownloads17.9k0.9% - 05<0.1%
2.1.0
906 downloadsDownloads906<0.1% - 06<0.1%
2.0.1
256 downloadsDownloads256<0.1% - 07<0.1%
1.1.9
98 downloadsDownloads98<0.1% - 08<0.1%
2.0.0
64 downloadsDownloads64<0.1% - 09<0.1%
Other
545 downloadsDownloads545<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.