<!-- GitLab Badges -->
ExceptionControl
================
The ExceptionControl class is designed to be a helper class that is inherited
into a class to give it a convenient interface to implement conditional
exception handling options. The purpose of this is to give developers
additional flexibility in how events can be handled and tune the overall
behaviour via parameters while adding minimal additional control code.
In many codes one may wish their code to take a fail fast approach to handling
issues such as unexpected input or other errors. While this method often works
well to rapidly identify problems by causing an application to exit, there are
times when maybe just a warning is sufficient.
ExceptionControl allows us to classify an event based on its severity using a
threshold setting that can be changed. This gives us two degrees of control
over the handling of an event. First, by assigning the level of severity of the
event itself we can direct what happens when the event is triggered. Second,
we can set thresholds that direct the behaviour of the handler when an event
is triggered.
Documentation and User Guide
============================
See the [User Guide][3] for detailed documentation on the package. This includes
the API docs, user guide, and examples.
History
=======
*ExceptionControl* is pulled from [*ConfigParserEnhanced*][3] into its own module
because it is an interesting and useful class. Splitting these up was the intent from
the beginning when it was originally developed.
Updates
=======
See [CHANGELOG][1] for information on changes.
[1]: https://gitlab.com/semantik-software/code/python/ExceptionControl/-/blob/main/CHANGELOG.md
[2]: https://github.com/sandialabs/ConfigParserEnhanced
[3]: https://semantik-software.gitlab.io/code/python/ExceptionControl/
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/semantik-software/code/python/ExceptionControl",
"name": "exceptioncontrol",
"maintainer": "William McLendon",
"docs_url": null,
"requires_python": ">=3.6,<4.0",
"maintainer_email": "wcmclen@hotmail.com",
"keywords": "Exception Handling,Debugging",
"author": "William McLendon",
"author_email": "wcmclen@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/0c/9f/50fe575f7be4f06cbe4c789f11625189ee24377b9fcd34cacaab9e7fcac4/exceptioncontrol-0.1.0.tar.gz",
"platform": null,
"description": "<!-- GitLab Badges -->\n\n\nExceptionControl\n================\nThe ExceptionControl class is designed to be a helper class that is inherited\ninto a class to give it a convenient interface to implement conditional\nexception handling options. The purpose of this is to give developers\nadditional flexibility in how events can be handled and tune the overall\nbehaviour via parameters while adding minimal additional control code.\n\nIn many codes one may wish their code to take a fail fast approach to handling\nissues such as unexpected input or other errors. While this method often works\nwell to rapidly identify problems by causing an application to exit, there are\ntimes when maybe just a warning is sufficient.\n\nExceptionControl allows us to classify an event based on its severity using a\nthreshold setting that can be changed. This gives us two degrees of control\nover the handling of an event. First, by assigning the level of severity of the\nevent itself we can direct what happens when the event is triggered. Second,\nwe can set thresholds that direct the behaviour of the handler when an event\nis triggered.\n\n\nDocumentation and User Guide\n============================\nSee the [User Guide][3] for detailed documentation on the package. This includes\nthe API docs, user guide, and examples.\n\nHistory\n=======\n*ExceptionControl* is pulled from [*ConfigParserEnhanced*][3] into its own module\nbecause it is an interesting and useful class. Splitting these up was the intent from\nthe beginning when it was originally developed.\n\nUpdates\n=======\nSee [CHANGELOG][1] for information on changes.\n\n\n[1]: https://gitlab.com/semantik-software/code/python/ExceptionControl/-/blob/main/CHANGELOG.md\n[2]: https://github.com/sandialabs/ConfigParserEnhanced\n[3]: https://semantik-software.gitlab.io/code/python/ExceptionControl/\n\n\n",
"bugtrack_url": null,
"license": "LICENSE",
"summary": "Helper class for exception handling",
"version": "0.1.0",
"project_urls": {
"Documentation": "https://semantik-software.gitlab.io/code/python/ExceptionControl",
"Homepage": "https://gitlab.com/semantik-software/code/python/ExceptionControl",
"Issues": "https://gitlab.com/semantik-software/code/python/exceptioncontrol/-/issues",
"Repository": "https://gitlab.com/semantik-software/code/python/ExceptionControl"
},
"split_keywords": [
"exception handling",
"debugging"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6b59c7905c9316afac15051bbd2fed477394da6e6e7ef2c7f76a9901433cbb2d",
"md5": "7209d06d05696bc890481a50109b669a",
"sha256": "f335d73dae7ef899e2378c9f151bc41ac02e06dbedc1c0e696e1574144df958e"
},
"downloads": -1,
"filename": "exceptioncontrol-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7209d06d05696bc890481a50109b669a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,<4.0",
"size": 17120,
"upload_time": "2023-06-12T03:25:33",
"upload_time_iso_8601": "2023-06-12T03:25:33.355960Z",
"url": "https://files.pythonhosted.org/packages/6b/59/c7905c9316afac15051bbd2fed477394da6e6e7ef2c7f76a9901433cbb2d/exceptioncontrol-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0c9f50fe575f7be4f06cbe4c789f11625189ee24377b9fcd34cacaab9e7fcac4",
"md5": "d723a890242a7fdff9b5aa3fafd24b10",
"sha256": "f12f1c5890f78e7814af971dd0661d95f47781b0a76efd531d61cf597e62daca"
},
"downloads": -1,
"filename": "exceptioncontrol-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d723a890242a7fdff9b5aa3fafd24b10",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6,<4.0",
"size": 11686,
"upload_time": "2023-06-12T03:25:35",
"upload_time_iso_8601": "2023-06-12T03:25:35.468283Z",
"url": "https://files.pythonhosted.org/packages/0c/9f/50fe575f7be4f06cbe4c789f11625189ee24377b9fcd34cacaab9e7fcac4/exceptioncontrol-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-12 03:25:35",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "semantik-software",
"gitlab_project": "code",
"lcname": "exceptioncontrol"
}