Skip to main content

ShowException

ShowException is a Python exception display assitant providing pretty print capability of exception details from a specified code area/module name. CLI test functionality provided to demo display characteristics for several exception types.

Installation

Use the package manager pip to install showexception.

pip install showexception

Library Usage

from showexception.showexception import exception_details

try:
    x = 1/0

except Exception as e:
    exception_details(e, 'test-except-show')

CLI Utility

The following CLI is included with this package for visualizing a few exceptions.

# testexcept -h
usage: testexcept [-h] [-r] {test.zero.div,test.name.err,test.type.err} ...

-.-.-. Exception Content Display for python scripts

positional arguments:
  {test.zero.div,test.name.err,test.type.err}
    test.zero.div       display exception info for a divide by zero exception
    test.name.err       display exception info for a name error exception
    test.type.err       display exception info for a type error exception

options:
  -h, --help            show this help message and exit
  -r, --raw             show raw exception details

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

License

MIT

Metadata

Release files for showexception 0.1.1

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

Source distribution (sdist)

Source distribution for showexception 0.1.1
File Size Uploaded Provenance Actions
showexception-0.1.1.tar.gz 3.8 kB Without provenance Details for showexception-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.6 kB

Release files / showexception-0.1.1.tar.gz

Download URL showexception-0.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
389672a1b10764b95e1a2fa6e2c3336d14ef2cad30225f81b8aefdb75fbefdec
BLAKE2b-256 checksum
How to use checksums
6bfb5a0a45c72fbb33b793265b8308a3b36b9dca5ce9e3ca76d3b90fc6133764
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.4

Release files / showexception-0.1.1-py3-none-any.whl

Download URL showexception-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a76402f3f91f80f12d398e6b937a53e5c1dbe4834ecfa53b56386ef7b0cf4316
BLAKE2b-256 checksum
How to use checksums
9f5f1365e2e4f4501fc2156aae565c9daf70972668ab6214b84f6219889962e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.4

Security for showexception 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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