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,769,967 times in total on PyPI, including 840,586 in the last 30 days. The latest version is 2.2.1, released Oct 24, 2025.

Version2.2.1
Downloads
9.77M
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.30M
9.8MAll-time
840.6kLast 30 days
124.3kLast 24 h
0.45/sPer second

Version distribution

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

  • 01

    2.2.1

    1.5M downloads
    71.2%
  • 02

    2.0.4

    585.6k downloads
    27.3%
  • 03

    2.1.1

    22.0k downloads
    1.0%
  • 04

    2.2.0

    10.0k downloads
    0.5%
  • 05

    2.1.0

    294 downloads
    <0.1%
  • 06

    2.0.1

    161 downloads
    <0.1%
  • 07

    1.1.9

    155 downloads
    <0.1%
  • 08

    1.1.0

    107 downloads
    <0.1%
  • 09

    Other

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

TRUTH124.3k34.3kFRISATSUNMONTUEWEDTHUFRISATSUNMONTUEWED
    traceback-with-variables · 9.8M downloads on PyPI