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

Uploaded Python 3

File details

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

File metadata

  • Download URL: powertrace-0.1.7.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.7.tar.gz
Algorithm Hash digest
SHA256 b199bba3a24233d48682b65249998206bf8859bdfc9418add0145badfae40e2b
MD5 1eaaa803e02766ff190ce58d9e681a4b
BLAKE2b-256 cc2e465719bf85ece41f919f31d3adca1148f53911ae4343cdae75e3cf67823d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: powertrace-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 79d29daf6cf2c1a109bd21eed15d512ee44e3d67c790069d2e6e4aba6214a440
MD5 fbd7d357b4f180a5c196eba896497f6b
BLAKE2b-256 66e7f3a63bd5a453f815cdb47aa512643f4188912d8bbd5e0fefe380d14a5353

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