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.8.tar.gz (10.3 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.8-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: powertrace-0.1.8.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for powertrace-0.1.8.tar.gz
Algorithm Hash digest
SHA256 3e20c10bbab9ee865e5d80cc1176697307256ba2c69a09b0f91a03816aaba356
MD5 46ae04db4079915423cf662482bfbcd3
BLAKE2b-256 956c4d5fa4ff681f480cd4ff4e7548d39fc9e5e866fdd4378f04c69113e56174

See more details on using hashes here.

File details

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

File metadata

  • Download URL: powertrace-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for powertrace-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d0de8f6f4e78c9473fc7b915c0140eb8bc3b4357341761116b7685429554992d
MD5 aabc423d25410c268abb1bfc802ea116
BLAKE2b-256 2f04ff59897f1612078cf09f2a5b31938b1e80a8a9af028ae17453c2002e2d9f

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