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.

Version2.2.1
Downloads
8.49M
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.21M
8.5MAll-time
660.8kLast 30 days
12.9kLast 24 h
0.21/sPer second

Version distribution

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

  • 01

    2.2.1

    1.7M downloads
    79.4%
  • 02

    2.0.4

    391.1k downloads
    18.8%
  • 03

    2.1.1

    22.9k downloads
    1.1%
  • 04

    2.2.0

    13.6k downloads
    0.7%
  • 05

    2.1.0

    662 downloads
    <0.1%
  • 06

    2.0.1

    199 downloads
    <0.1%
  • 07

    1.1.9

    104 downloads
    <0.1%
  • 08

    1.1.0

    68 downloads
    <0.1%
  • 09

    Other

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

TRUTH12.9k12.4kMONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT