emails


Nameemails JSON
Version 0.6 PyPI version JSON
download
home_pagehttps://github.com/lavr/python-emails
SummaryModern python library for emails.
upload_time2020-06-19 11:20:41
maintainer
docs_urlNone
authorSergey Lavrinenko
requires_python
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            python-emails
~~~~~~~~~~~~~

Modern python library for email.

Build message:

   >>> import emails
   >>> message = emails.html(html="<p>Hi!<br>Here is your receipt...",
                          subject="Your receipt No. 567098123",
                          mail_from=('Some Store', 'store@somestore.com'))
   >>> message.attach(data=open('bill.pdf'), filename='bill.pdf')

send message and get response from smtp server:

   >>> r = message.send(to='s@lavr.me', smtp={'host': 'aspmx.l.google.com', 'timeout': 5})
   >>> assert r.status_code == 250

and more:

 * DKIM signature
 * Render body from template
 * Flask extension and Django integration
 * Message body transformation methods
 * Load message from url or from file


Links
`````

* `documentation <http://python-emails.readthedocs.org/>`_
* `source code <http://github.com/lavr/python-emails>`_




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lavr/python-emails",
    "name": "emails",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Sergey Lavrinenko",
    "author_email": "s@lavr.me",
    "download_url": "https://files.pythonhosted.org/packages/d3/f9/c1e315aa82ed9f037186c30109200fb4b4c51b5483b8065daa0ca836a336/emails-0.6.tar.gz",
    "platform": "",
    "description": "python-emails\n~~~~~~~~~~~~~\n\nModern python library for email.\n\nBuild message:\n\n   >>> import emails\n   >>> message = emails.html(html=\"<p>Hi!<br>Here is your receipt...\",\n                          subject=\"Your receipt No. 567098123\",\n                          mail_from=('Some Store', 'store@somestore.com'))\n   >>> message.attach(data=open('bill.pdf'), filename='bill.pdf')\n\nsend message and get response from smtp server:\n\n   >>> r = message.send(to='s@lavr.me', smtp={'host': 'aspmx.l.google.com', 'timeout': 5})\n   >>> assert r.status_code == 250\n\nand more:\n\n * DKIM signature\n * Render body from template\n * Flask extension and Django integration\n * Message body transformation methods\n * Load message from url or from file\n\n\nLinks\n`````\n\n* `documentation <http://python-emails.readthedocs.org/>`_\n* `source code <http://github.com/lavr/python-emails>`_\n\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Modern python library for emails.",
    "version": "0.6",
    "project_urls": {
        "Homepage": "https://github.com/lavr/python-emails"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "557eb648d640d88d31de49e566832aca9cce025c52d6349b0a0fc65e9df1f4c5",
                "md5": "49f8a806a7e9f66420ae5ac3e5ba338d",
                "sha256": "72c1e3198075709cc35f67e1b49e2da1a2bc087e9b444073db61a379adfb7f3c"
            },
            "downloads": -1,
            "filename": "emails-0.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "49f8a806a7e9f66420ae5ac3e5ba338d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 56250,
            "upload_time": "2020-06-19T11:20:40",
            "upload_time_iso_8601": "2020-06-19T11:20:40.466068Z",
            "url": "https://files.pythonhosted.org/packages/55/7e/b648d640d88d31de49e566832aca9cce025c52d6349b0a0fc65e9df1f4c5/emails-0.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3f9c1e315aa82ed9f037186c30109200fb4b4c51b5483b8065daa0ca836a336",
                "md5": "c3aedd3edd1568a16b91439d0904e080",
                "sha256": "a4c2d67ea8b8831967a750d8edc6e77040d7693143fe280e6d2a367d9c36ff88"
            },
            "downloads": -1,
            "filename": "emails-0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "c3aedd3edd1568a16b91439d0904e080",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 44066,
            "upload_time": "2020-06-19T11:20:41",
            "upload_time_iso_8601": "2020-06-19T11:20:41.644807Z",
            "url": "https://files.pythonhosted.org/packages/d3/f9/c1e315aa82ed9f037186c30109200fb4b4c51b5483b8065daa0ca836a336/emails-0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-06-19 11:20:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lavr",
    "github_project": "python-emails",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "emails"
}
        
Elapsed time: 0.25952s