EmailErrorMix


NameEmailErrorMix JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Mathimix7/EmailErrorMix
SummaryA Python package for automated error notification emails, enhancing software debugging and maintenance.
upload_time2024-03-03 00:12:09
maintainer
docs_urlNone
authorMathimix
requires_python
licenseMIT
keywords python email error alerts maintenance
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            EmailErrorMix
==========

A Python package for automated error notification emails, enhancing software debugging and maintenance.

Features
--------
- Automatic error detection and notification
- Support for multiple email recipients
- Error tracking and analytics
- Error notification throttling

Installing
--------
To install the library you can just run the following command:

    # Linux/macOS
    pip3 install EmailErrorMix

    # Windows
    pip install EmailErrorMix


Function Example
--------
```python
from EmailErrorMix import ErrorEmailer 

error_emailer = ErrorEmailer(sender_email='',
                             sender_password='', 
                             smtp_server='smtp.gmail.com', 
                             smtp_port=465)

@error_emailer.notify_on_error()
def example_function(x, y):
    return x / y

if __name__ == '__main__':
    result = example_function(1, 0)
```


ContextManager Example
--------
```python
from EmailErrorMix import ErrorEmailer 

error_emailer = ErrorEmailer(sender_email='',
                             sender_password='', 
                             smtp_server='smtp.gmail.com', 
                             smtp_port=465)

if __name__ == '__main__':
    with error_emailer.context_notify_on_error():
        result = 1/0
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Mathimix7/EmailErrorMix",
    "name": "EmailErrorMix",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,email,error,alerts,maintenance",
    "author": "Mathimix",
    "author_email": "<mathimixich@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c5/5e/b6f630c5af910e25677ae0dae3cccf32f5d389b7c71aeda66fa098708acb/EmailErrorMix-0.1.0.tar.gz",
    "platform": null,
    "description": "EmailErrorMix\r\n==========\r\n\r\nA Python package for automated error notification emails, enhancing software debugging and maintenance.\r\n\r\nFeatures\r\n--------\r\n- Automatic error detection and notification\r\n- Support for multiple email recipients\r\n- Error tracking and analytics\r\n- Error notification throttling\r\n\r\nInstalling\r\n--------\r\nTo install the library you can just run the following command:\r\n\r\n    # Linux/macOS\r\n    pip3 install EmailErrorMix\r\n\r\n    # Windows\r\n    pip install EmailErrorMix\r\n\r\n\r\nFunction Example\r\n--------\r\n```python\r\nfrom EmailErrorMix import ErrorEmailer \r\n\r\nerror_emailer = ErrorEmailer(sender_email='',\r\n                             sender_password='', \r\n                             smtp_server='smtp.gmail.com', \r\n                             smtp_port=465)\r\n\r\n@error_emailer.notify_on_error()\r\ndef example_function(x, y):\r\n    return x / y\r\n\r\nif __name__ == '__main__':\r\n    result = example_function(1, 0)\r\n```\r\n\r\n\r\nContextManager Example\r\n--------\r\n```python\r\nfrom EmailErrorMix import ErrorEmailer \r\n\r\nerror_emailer = ErrorEmailer(sender_email='',\r\n                             sender_password='', \r\n                             smtp_server='smtp.gmail.com', \r\n                             smtp_port=465)\r\n\r\nif __name__ == '__main__':\r\n    with error_emailer.context_notify_on_error():\r\n        result = 1/0\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python package for automated error notification emails, enhancing software debugging and maintenance.",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/Mathimix7/EmailErrorMix"
    },
    "split_keywords": [
        "python",
        "email",
        "error",
        "alerts",
        "maintenance"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e31e9868f21c11e5917f2d3e19cfafe72fb5da2524f6a9da91dd49b2600cee0",
                "md5": "2584530db5bed16ad1c3a2af3d60fc0a",
                "sha256": "b623158285dc62a44d0dc2465252aa24efa7692e6cb8029bba8c70df7d064127"
            },
            "downloads": -1,
            "filename": "EmailErrorMix-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2584530db5bed16ad1c3a2af3d60fc0a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4389,
            "upload_time": "2024-03-03T00:12:07",
            "upload_time_iso_8601": "2024-03-03T00:12:07.440440Z",
            "url": "https://files.pythonhosted.org/packages/3e/31/e9868f21c11e5917f2d3e19cfafe72fb5da2524f6a9da91dd49b2600cee0/EmailErrorMix-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c55eb6f630c5af910e25677ae0dae3cccf32f5d389b7c71aeda66fa098708acb",
                "md5": "7cf042a22650d2a2ff8955c9c17ed9a9",
                "sha256": "a99a06c5f4d49d085e71608547becd346d997ec27da9cbc0c4dc4e916cbf85bf"
            },
            "downloads": -1,
            "filename": "EmailErrorMix-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7cf042a22650d2a2ff8955c9c17ed9a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3926,
            "upload_time": "2024-03-03T00:12:09",
            "upload_time_iso_8601": "2024-03-03T00:12:09.044828Z",
            "url": "https://files.pythonhosted.org/packages/c5/5e/b6f630c5af910e25677ae0dae3cccf32f5d389b7c71aeda66fa098708acb/EmailErrorMix-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-03 00:12:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Mathimix7",
    "github_project": "EmailErrorMix",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "emailerrormix"
}
        
Elapsed time: 0.20172s