Detailed stack trace logging and visualization
Project description
Powertrace
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.
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.3.tar.gz
(9.3 kB
view details)
Built Distribution
File details
Details for the file powertrace-0.1.3.tar.gz
.
File metadata
- Download URL: powertrace-0.1.3.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebc8a3f9839a63cae931113f0de7093b217f7fca82695a0ea4c92aa08bc207a3 |
|
MD5 | 060b4e5523b897f0bb86ae8bab9dcb1f |
|
BLAKE2b-256 | da79f012095c93ca3e04354c74b5d405cc0ce55a8631ccb887249ef809dbd65a |
File details
Details for the file powertrace-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: powertrace-0.1.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 924cabd3f74bea1b209461ec4a96d98b2a3f51db84847189d6a981d0957483c7 |
|
MD5 | d8ded4364effe54fd54d511ee98a88db |
|
BLAKE2b-256 | bdda8f8256715e06aaac12c79ae2d3820ab85d80370e345a5549a1a8b4f86493 |