Metadata-Version: 2.1
Name: showexception
Version: 0.1.0
Summary: Pretty print exception details
Author-email: Ed Waldner <waldevburry@proton.me>
Maintainer-email: Ed Waldner <waldevburry@proton.me>
Project-URL: Homepage, https://github.com/ew98/showexception
Project-URL: Documentation, https://github.com/ew98/showexception/wiki/QuickColor
Project-URL: Issues, https://github.com/ew98/showexception/issues
Keywords: util,utility
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: argcomplete
Requires-Dist: quickcolor

# QuickColor

**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](https://pip.pypa.io/en/stable/) to install **showexception**.

```bash
pip install showexception
```


## Library Usage
```python
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.

```bash
# 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](https://choosealicense.com/licenses/mit/)

