showexception


Nameshowexception JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryPretty print exception details
upload_time2024-07-27 03:02:36
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords util utility
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](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/)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "showexception",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Ed Waldner <waldevburry@proton.me>",
    "keywords": "util, utility",
    "author": null,
    "author_email": "Ed Waldner <waldevburry@proton.me>",
    "download_url": "https://files.pythonhosted.org/packages/6b/fb/5a0a45c72fbb33b793265b8308a3b36b9dca5ce9e3ca76d3b90fc6133764/showexception-0.1.1.tar.gz",
    "platform": null,
    "description": "# ShowException\n\n**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.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install **showexception**.\n\n```bash\npip install showexception\n```\n\n\n## Library Usage\n```python\nfrom showexception.showexception import exception_details\n\ntry:\n    x = 1/0\n\nexcept Exception as e:\n    exception_details(e, 'test-except-show')\n```\n\n\n## CLI Utility\n\nThe following CLI is included with this package for visualizing a few exceptions.\n\n```bash\n# testexcept -h\nusage: testexcept [-h] [-r] {test.zero.div,test.name.err,test.type.err} ...\n\n-.-.-. Exception Content Display for python scripts\n\npositional arguments:\n  {test.zero.div,test.name.err,test.type.err}\n    test.zero.div       display exception info for a divide by zero exception\n    test.name.err       display exception info for a name error exception\n    test.type.err       display exception info for a type error exception\n\noptions:\n  -h, --help            show this help message and exit\n  -r, --raw             show raw exception details\n\n-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.\n```\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Pretty print exception details",
    "version": "0.1.1",
    "project_urls": {
        "Documentation": "https://github.com/ew98/showexception/wiki/QuickColor",
        "Homepage": "https://github.com/ew98/showexception",
        "Issues": "https://github.com/ew98/showexception/issues"
    },
    "split_keywords": [
        "util",
        " utility"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f5f1365e2e4f4501fc2156aae565c9daf70972668ab6214b84f6219889962e4",
                "md5": "c84914291119ffacdbe156cbc6aadcdc",
                "sha256": "a76402f3f91f80f12d398e6b937a53e5c1dbe4834ecfa53b56386ef7b0cf4316"
            },
            "downloads": -1,
            "filename": "showexception-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c84914291119ffacdbe156cbc6aadcdc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4772,
            "upload_time": "2024-07-27T03:02:34",
            "upload_time_iso_8601": "2024-07-27T03:02:34.892143Z",
            "url": "https://files.pythonhosted.org/packages/9f/5f/1365e2e4f4501fc2156aae565c9daf70972668ab6214b84f6219889962e4/showexception-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6bfb5a0a45c72fbb33b793265b8308a3b36b9dca5ce9e3ca76d3b90fc6133764",
                "md5": "6b4f830b16e59df01837cd28f11652f3",
                "sha256": "389672a1b10764b95e1a2fa6e2c3336d14ef2cad30225f81b8aefdb75fbefdec"
            },
            "downloads": -1,
            "filename": "showexception-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6b4f830b16e59df01837cd28f11652f3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3842,
            "upload_time": "2024-07-27T03:02:36",
            "upload_time_iso_8601": "2024-07-27T03:02:36.227116Z",
            "url": "https://files.pythonhosted.org/packages/6b/fb/5a0a45c72fbb33b793265b8308a3b36b9dca5ce9e3ca76d3b90fc6133764/showexception-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-27 03:02:36",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ew98",
    "github_project": "showexception",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "showexception"
}
        
Elapsed time: 0.55397s