Name | no-exception JSON |
Version |
1.0.0
JSON |
| download |
home_page | None |
Summary | A package for with block that ignores exceptions |
upload_time | 2024-10-17 16:58:48 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3 |
license | MIT License Copyright (c) 2024 Omer Dagry Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
try
except
exception
handling
with
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# WithNoException
Python with block that ignores exceptions
# Usage
```python
from no_exception import NoException
def no_exception():
with NoException():
raise Exception()
print("Hi")
def exception():
raise Exception()
print("Hi")
no_exception() # Hi
exception() # Exception is raised
```
Raw data
{
"_id": null,
"home_page": null,
"name": "no-exception",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "try, except, exception, handling, with",
"author": null,
"author_email": "Omer Dagry <omerdagry@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/7d/39/89ee2f2dd2969ab3252232e19554deec125747aa216d2ddcd790a53d7685/no_exception-1.0.0.tar.gz",
"platform": null,
"description": "# WithNoException\r\nPython with block that ignores exceptions\r\n\r\n# Usage\r\n\r\n```python\r\nfrom no_exception import NoException\r\n\r\n\r\ndef no_exception():\r\n with NoException():\r\n raise Exception()\r\n print(\"Hi\")\r\n\r\n\r\ndef exception():\r\n raise Exception()\r\n print(\"Hi\")\r\n\r\n\r\nno_exception() # Hi\r\nexception() # Exception is raised\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Omer Dagry Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "A package for with block that ignores exceptions",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://github.com/Omer-Dagry/WithNoException",
"Issues": "https://github.com/Omer-Dagry/WithNoException/issues"
},
"split_keywords": [
"try",
" except",
" exception",
" handling",
" with"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "49e6acf75479fbbe79660f64b95154a10aeec23b28210f37af985aa238a6c74e",
"md5": "9bbdeb7bd1a53332e4550bc199278014",
"sha256": "d5e4dfe656c318f8d27e6bff1b2ec907094dd8b28929209aec647062870006f9"
},
"downloads": -1,
"filename": "no_exception-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9bbdeb7bd1a53332e4550bc199278014",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 3334,
"upload_time": "2024-10-17T16:58:46",
"upload_time_iso_8601": "2024-10-17T16:58:46.788190Z",
"url": "https://files.pythonhosted.org/packages/49/e6/acf75479fbbe79660f64b95154a10aeec23b28210f37af985aa238a6c74e/no_exception-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7d3989ee2f2dd2969ab3252232e19554deec125747aa216d2ddcd790a53d7685",
"md5": "eff0337fbbd64e52920f19b20d545861",
"sha256": "70721e7d68ca85041702e985ce232959f4d45165559017d9e41116cd728c593e"
},
"downloads": -1,
"filename": "no_exception-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "eff0337fbbd64e52920f19b20d545861",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 2405,
"upload_time": "2024-10-17T16:58:48",
"upload_time_iso_8601": "2024-10-17T16:58:48.954011Z",
"url": "https://files.pythonhosted.org/packages/7d/39/89ee2f2dd2969ab3252232e19554deec125747aa216d2ddcd790a53d7685/no_exception-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-17 16:58:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Omer-Dagry",
"github_project": "WithNoException",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "no-exception"
}