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.6.tar.gz (9.9 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.6-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for powertrace-0.1.6.tar.gz
Algorithm Hash digest
SHA256 2921915ccb81329c93fbf9d0b7390823b739e04b28f4bdae27e7d3f6a61230e9
MD5 529449b91602746ac010db94695282b6
BLAKE2b-256 5200e5b6cf4a86ce136b11002b491c083efc68ebd02ff05724ea5496985f663b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for powertrace-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 aea59537e999f5f5c7ee879e1578d32e36ed9b5849545d489e993cc4e388aaf9
MD5 fe6f60f4cd1a57bb39add4fedbd4348a
BLAKE2b-256 d6aeae43c0aaa22746187c672c608d79b7a5b8d9ca46d179afecfa5724c32f35

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