extraexceptions


Nameextraexceptions JSON
Version 0.0.0.5 PyPI version JSON
download
home_pagehttps://github.com/Gerutro/extra_exceptions
SummaryThis is a lib for custom exceptions
upload_time2024-01-28 01:37:48
maintainer
docs_urlNone
authorGer
requires_python>=3.9
licenseMIT License, see LICENCE file
keywords extra exception lib library
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Extra Exceptions
Extra Exceptions - library for those who lack the usual python exceptions.  
Documentation will be soon...

#### To install `pip install extraexceptions` 

#### To import `import extraexceptions` or `from extraexceptons import *`  

----
# Library give a new exceptions:

Logical Fallacies - new 74 excepts.  
Cognitive Biases - new 56 excepts.  



----
# Don't Stop Code Decorator:
Library can catch exceptions and output only text with error, but if it will be, for example:
```python
from extraexceptions import *


@ignore_exc_decorator
def div(x, y):
    return x / y


print(div(5, 0))
```

you will receive:
```
Exception>>> division by zero
None
```
None - because x/y return traceback, but decorator catch his and function cant assign a value to return.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Gerutro/extra_exceptions",
    "name": "extraexceptions",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "extra exception lib library",
    "author": "Ger",
    "author_email": "gerutrogame@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/80/f3/ed14df2ffd86af142f9cbfb81d304814acb23b10a288835ebef6ba38e2df/extraexceptions-0.0.0.5.tar.gz",
    "platform": null,
    "description": "# Extra Exceptions\r\nExtra Exceptions - library for those who lack the usual python exceptions.  \r\nDocumentation will be soon...\r\n\r\n#### To install `pip install extraexceptions` \r\n\r\n#### To import `import extraexceptions` or `from extraexceptons import *`  \r\n\r\n----\r\n# Library give a new exceptions:\r\n\r\nLogical Fallacies - new 74 excepts.  \r\nCognitive Biases - new 56 excepts.  \r\n\r\n\r\n\r\n----\r\n# Don't Stop Code Decorator:\r\nLibrary can catch exceptions and output only text with error, but if it will be, for example:\r\n```python\r\nfrom extraexceptions import *\r\n\r\n\r\n@ignore_exc_decorator\r\ndef div(x, y):\r\n    return x / y\r\n\r\n\r\nprint(div(5, 0))\r\n```\r\n\r\nyou will receive:\r\n```\r\nException>>> division by zero\r\nNone\r\n```\r\nNone - because x/y return traceback, but decorator catch his and function cant assign a value to return.\r\n",
    "bugtrack_url": null,
    "license": "MIT License, see LICENCE file",
    "summary": "This is a lib for custom exceptions",
    "version": "0.0.0.5",
    "project_urls": {
        "GitHub": "https://github.com/Gerutro",
        "Homepage": "https://github.com/Gerutro/extra_exceptions"
    },
    "split_keywords": [
        "extra",
        "exception",
        "lib",
        "library"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6622ccc36f6f409734b458cf74b71494ddace834a8132c02c0936f615926b64b",
                "md5": "5dacd9326b4fbb95a6aa60ed78dd9a3b",
                "sha256": "55b768903bf3e91f819ce33d06e1baa70c94a76fc165568752224c169c38862d"
            },
            "downloads": -1,
            "filename": "extraexceptions-0.0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5dacd9326b4fbb95a6aa60ed78dd9a3b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 6015,
            "upload_time": "2024-01-28T01:37:46",
            "upload_time_iso_8601": "2024-01-28T01:37:46.655356Z",
            "url": "https://files.pythonhosted.org/packages/66/22/ccc36f6f409734b458cf74b71494ddace834a8132c02c0936f615926b64b/extraexceptions-0.0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "80f3ed14df2ffd86af142f9cbfb81d304814acb23b10a288835ebef6ba38e2df",
                "md5": "189392de72355f71d712d9734b515845",
                "sha256": "cb34537a967249f30005a650efc835f1a631d4e5f6cfbe5db96ccfd5286608b3"
            },
            "downloads": -1,
            "filename": "extraexceptions-0.0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "189392de72355f71d712d9734b515845",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4960,
            "upload_time": "2024-01-28T01:37:48",
            "upload_time_iso_8601": "2024-01-28T01:37:48.023394Z",
            "url": "https://files.pythonhosted.org/packages/80/f3/ed14df2ffd86af142f9cbfb81d304814acb23b10a288835ebef6ba38e2df/extraexceptions-0.0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-28 01:37:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Gerutro",
    "github_project": "extra_exceptions",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "extraexceptions"
}
        
Ger
Elapsed time: 0.17743s