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 11,346,400 times in total on PyPI, including 1,576,433 in the last 30 days. The latest version is 2.2.1, released Oct 24, 2025.

Version2.2.1
Downloads
11.35M
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 total5.96M
11.3MAll-time
1.6MLast 30 days
41.6kLast 24 h
0.55/sPer second

Version distribution

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

  • 01

    2.0.4

    1.5M downloads
    51.3%
  • 02

    2.2.1

    1.4M downloads
    47.7%
  • 03

    2.1.1

    19.7k downloads
    0.7%
  • 04

    2.2.0

    10.0k downloads
    0.3%
  • 05

    2.1.0

    291 downloads
    <0.1%
  • 06

    2.0.1

    203 downloads
    <0.1%
  • 07

    1.1.9

    182 downloads
    <0.1%
  • 08

    1.1.0

    94 downloads
    <0.1%
  • 09

    Other

    779 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.

TRUTH41.6k46.7kSUNMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRI