Skip to main content

Detailed stack trace logging and visualization

Project description

Powertrace

PyPI version PyPI downloads Python version Operating system Coverage

Detailed stack trace logging and visualization:

  • Rich traceback visualization
  • Also works for headless scripts
  • Stacktrace logging
  • Easily reproducible visualization

example

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

Installing powertrace-hooks enables advanced traceback handling in all scripts without requiring the traceback hooks to be installed at the start.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powertrace-0.1.5.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powertrace-0.1.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file powertrace-0.1.5.tar.gz.

File metadata

  • Download URL: powertrace-0.1.5.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.12

File hashes

Hashes for powertrace-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c481d516d2c1387e1780993188798bf0152bcaf3e48d7422d46c68eddce27273
MD5 e1200fe552da7ed4d82aa9eda7864bcb
BLAKE2b-256 def207f181d9cf635b0856380a742394385de65dce47a273d72e1b421d0181fa

See more details on using hashes here.

File details

Details for the file powertrace-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: powertrace-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.7.12

File hashes

Hashes for powertrace-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31d6518c0e098f9514fcae3ab047ad9b9e2212d1e265dff4b145f87326d96c28
MD5 6078df8748ebcf11a825e03508d3a468
BLAKE2b-256 8da0502d2a4b69f37bcf935e1674a0dade2f5ab518f5d77620dc55ef609216ef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page