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 8,489,807 times in total on PyPI, including 660,827 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.4%
2.2.1
1.7M downloadsDownloads1.7M79.4% - 0218.8%
2.0.4
391.1k downloadsDownloads391.1k18.8% - 031.1%
2.1.1
22.9k downloadsDownloads22.9k1.1% - 040.7%
2.2.0
13.6k downloadsDownloads13.6k0.7% - 05<0.1%
2.1.0
662 downloadsDownloads662<0.1% - 06<0.1%
2.0.1
199 downloadsDownloads199<0.1% - 07<0.1%
1.1.9
104 downloadsDownloads104<0.1% - 08<0.1%
1.1.0
68 downloadsDownloads68<0.1% - 09<0.1%
Other
484 downloadsDownloads484<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.