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,070,238 times in total on PyPI, including 605,683 in the last 30 days. The latest version is 2.2.1, released Oct 24, 2025.

Version2.2.1
Downloads
9.07M
License—
AuthorAndrey Lyashko
UpdatedOct 24, 2025

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal2.*1.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 22 series
Selected total4.16M
9.1MAll-time
605.7kLast 30 days
16.0kLast 24 h
0.27/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    2.2.1

    1.6M downloads
    77.2%
  • 02

    2.0.4

    432.1k downloads
    21.1%
  • 03

    2.1.1

    24.7k downloads
    1.2%
  • 04

    2.2.0

    10.0k downloads
    0.5%
  • 05

    2.1.0

    509 downloads
    <0.1%
  • 06

    2.0.1

    139 downloads
    <0.1%
  • 07

    1.1.9

    104 downloads
    <0.1%
  • 08

    1.1.0

    97 downloads
    <0.1%
  • 09

    Other

    543 downloads
    <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.

TRUTH16.0k17.4kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT
    traceback-with-variables · 9.1M downloads on PyPI