py-html-email


Namepy-html-email JSON
Version 0.0.2 PyPI version JSON
download
home_pageNone
SummarySMTP emailer to send HTML formated emails
upload_time2024-08-19 17:18:52
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HTML Mailer

This library simplifies sending HTML formated emails. 
Currently there is one HTML format. Planning for future releases to customize format.

To use, simply pip install.

Example:
```python
import os
from py_html_email import Emailer

emailer = Emailer(sender_email='example@microsoft.com',
                  sender_password=os.getenv('email_password'),
                  smtp_server='office',
                  )
emailer.send_email(to='to@address.com',
                   subject='Email Sent with HTML Mailer',
                   msg_header='Alert!!',
                   msg_title='There was an issue',
                   msg_body='Details on the issue are related to process x',
                   attachment_path="path/to/file"
                   )
```

Planned improvements:
1. Parse html_generic programmatically to remove kwargs that do not get satisfied.
2. Create ability for user create custom formatted HTML
3. Ability to add more than 1 attachment

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "py-html-email",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "Tyler Anderson <tyleranderson827@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/12/44/6221fdbf008483495ae128667d9df22f7b6ce5ce8c71dd56f48132aecc0b/py_html_email-0.0.2.tar.gz",
    "platform": null,
    "description": "# HTML Mailer\r\n\r\nThis library simplifies sending HTML formated emails. \r\nCurrently there is one HTML format. Planning for future releases to customize format.\r\n\r\nTo use, simply pip install.\r\n\r\nExample:\r\n```python\r\nimport os\r\nfrom py_html_email import Emailer\r\n\r\nemailer = Emailer(sender_email='example@microsoft.com',\r\n                  sender_password=os.getenv('email_password'),\r\n                  smtp_server='office',\r\n                  )\r\nemailer.send_email(to='to@address.com',\r\n                   subject='Email Sent with HTML Mailer',\r\n                   msg_header='Alert!!',\r\n                   msg_title='There was an issue',\r\n                   msg_body='Details on the issue are related to process x',\r\n                   attachment_path=\"path/to/file\"\r\n                   )\r\n```\r\n\r\nPlanned improvements:\r\n1. Parse html_generic programmatically to remove kwargs that do not get satisfied.\r\n2. Create ability for user create custom formatted HTML\r\n3. Ability to add more than 1 attachment\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "SMTP emailer to send HTML formated emails",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/ty-anderson/py_html_email"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dee882b921d008fdeaf067381631caf3dc67124d19f68712f05c0f5f65e835b5",
                "md5": "3a8eb884980428c8f2f1f43795d008b0",
                "sha256": "e535986ef13de3046f42290b9ae9c53dd097645feb58f108764d06a79d87e408"
            },
            "downloads": -1,
            "filename": "py_html_email-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a8eb884980428c8f2f1f43795d008b0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 4399,
            "upload_time": "2024-08-19T17:18:51",
            "upload_time_iso_8601": "2024-08-19T17:18:51.508049Z",
            "url": "https://files.pythonhosted.org/packages/de/e8/82b921d008fdeaf067381631caf3dc67124d19f68712f05c0f5f65e835b5/py_html_email-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "12446221fdbf008483495ae128667d9df22f7b6ce5ce8c71dd56f48132aecc0b",
                "md5": "7f627d831e946792779bf6487bbe017d",
                "sha256": "49e9127370257a3cb5509b1f0c78c44a7eaaf63ed00a0eaf8b818d698ad7b865"
            },
            "downloads": -1,
            "filename": "py_html_email-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7f627d831e946792779bf6487bbe017d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3876,
            "upload_time": "2024-08-19T17:18:52",
            "upload_time_iso_8601": "2024-08-19T17:18:52.417270Z",
            "url": "https://files.pythonhosted.org/packages/12/44/6221fdbf008483495ae128667d9df22f7b6ce5ce8c71dd56f48132aecc0b/py_html_email-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-19 17:18:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ty-anderson",
    "github_project": "py_html_email",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "py-html-email"
}
        
Elapsed time: 0.35852s