powertrace

Detailed stack trace logging and visualization


Keywords
exception-handling
License
MIT
Install
pip install powertrace==0.1.3

Documentation

Powertrace

PyPI version Python version Operating system Coverage

Detailed stack trace logging and visualization.

  • Rich traceback visualization
  • Also works for headless scripts
  • Easy to reproduce visualization

Usage

Run

import powertrace

powertrace.visualize_traceback()

To visualize the current traceback.

Run

import powertrace

powertrace.install_traceback_hooks()

In the beginning of your script to enable advanced traceback handling.

Installation

pip install powertrace

or

pip install powertrace-hooks

to enable advanced traceback handling in all scripts without having to run

import powertrace

powertrace.install_traceback_hooks()

at the start of every script.