Skip to main content

iWut

Friendlier tracebacks, collapsing frames with library code, inline variable values, and adding context.

wut-vars-ctx-prettier

Installation

pip install iwut

Notebook

%load_ext iwut

Global Usage: You can turn on wut globally to catch and re-render all tracebacks.

%wut on

You can likewise turn off wut with %wut off.

Case-by-case Usage: Once you hit an error, you can use wut to retroactively re-parse the exception. For example, you may have the following

> 1/0
---------------------------------------------------------------------------
ZeroDivisionError                         Traceback (most recent call last)
/tmp/ipykernel_165/2354412189.py in <module>
----> 1 1/0

ZeroDivisionError: division by zero

In the next cell, simply use the line magic

%wut

This will pretty print a friendlier traceback. You can alternatively, prepend the cell magic on a faulty cell, like this:

%%wut
1 / 0

Metadata

Release files for iwut 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iwut 0.0.4
File Size Uploaded Provenance Actions
iwut-0.0.4.tar.gz 5.5 kB Without provenance Details for iwut-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iwut 0.0.4
File Interpreter ABI Platform Actions
iwut-0.0.4-py3-none-any.whl Python 3 none any Details for iwut-0.0.4-py3-none-any.whl

Total release size: 15.4 kB

Release files / iwut-0.0.4.tar.gz

Download URL iwut-0.0.4.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
efa625f87ba1b6d6c83b1b372b028a90f0f747ef27aaba70c3850a4c0bf3a23d
BLAKE2b-256 checksum
How to use checksums
9f86aecb07588615e834d49bebf69f400d32ee0c86e780b49e4bf6315b89b63b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Release files / iwut-0.0.4-py3-none-any.whl

Download URL iwut-0.0.4-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f251a95b12ea05f30e2c5168cf451acdc44692b745ed67096ca8e73871a56a8a
BLAKE2b-256 checksum
How to use checksums
fb32e8cc2821bb15c950c415d9a52b96a69cd60795b8f87d43b2832a1b2adb28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

Security for iwut 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page