{ "info": { "author": "eCentry", "author_email": "repo@ecentry.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable" ], "description": "Maildocker-Python\r\n=================\r\n\r\nThis library allows you to quickly and easily send emails through\r\nMaildocker using Python.\r\n\r\nExample\r\n-------\r\n\r\n.. code:: python\r\n\r\n import maildocker\r\n\r\n md = maildocker.MaildockerClient(\r\n api_key='0cc175b9c0f1b6a831c',\r\n api_secret='92eb5ffee6ae2fec3ad'\r\n )\r\n\r\n message = maildocker.Mail(\r\n mail_from='Maildocker ',\r\n to='John Snow ',\r\n subject='maildocker-python-library',\r\n text='**{{system}}** ({{url}})',\r\n merge_vars={'system': 'Maildocker', 'url': 'http://maildocker.io'},\r\n attachments=[\r\n {'name': 'plaintext.txt', 'type': 'text/plain', 'content': 'dHN0'},\r\n 'spreadsheet.xls'\r\n ]\r\n )\r\n\r\n http_status, response = md.send(message)\r\n\r\n # OR\r\n\r\n message = maildocker.Mail()\r\n\r\n message.set_from('Maildocker ')\r\n message.add_to('John Snow ')\r\n message.set_subject('maildocker-python-library')\r\n message.set_text('**{{system}}** ({{url}})')\r\n message.add_vars({'system': 'Maildocker', 'url': 'http://maildocker.io'})\r\n message.add_attachment([\r\n {'name': 'plaintext.txt', 'type': 'text/plain', 'content': 'dHN0'},\r\n 'spreadsheet.xls'\r\n ])\r\n\r\n http_status, response = md.send(message)", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/maildocker/maildocker-python", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://maildocker.com", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "maildocker", "package_url": "https://pypi.org/project/maildocker/", "platform": "", "project_url": "https://pypi.org/project/maildocker/", "project_urls": { "Download": "https://github.com/maildocker/maildocker-python", "Homepage": "http://maildocker.com" }, "release_url": "https://pypi.org/project/maildocker/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Maildocker library for Python", "version": "1.0.1" }, "last_serial": 2399438, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "dc3d56b2e527131711b9195a9bb7a413", "sha256": "d3028bb33b84304d17d87b23f9a4b7efb1cceb75c02f51ac9a40690e8c05dc4f" }, "downloads": -1, "filename": "maildocker-1.0.0.tar.gz", "has_sig": false, "md5_digest": "dc3d56b2e527131711b9195a9bb7a413", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3239, "upload_time": "2016-03-11T19:52:06", "url": "https://files.pythonhosted.org/packages/79/67/254ac101652e1b3e5970f662edd46161d86f69cb2370fcec8146d1c72b57/maildocker-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "f28687bdfa461099b50f281e85d52ed0", "sha256": "4d1da5ca0c5390fbdf009a6d62908c8a90b714249af25e99d59da4727d30fdfc" }, "downloads": -1, "filename": "maildocker-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f28687bdfa461099b50f281e85d52ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3239, "upload_time": "2016-10-14T13:47:36", "url": "https://files.pythonhosted.org/packages/9f/fe/17f88e247cfa33c4c1b0ac37c87ffa26fc8df32e40400fedb9ec4b508ce1/maildocker-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f28687bdfa461099b50f281e85d52ed0", "sha256": "4d1da5ca0c5390fbdf009a6d62908c8a90b714249af25e99d59da4727d30fdfc" }, "downloads": -1, "filename": "maildocker-1.0.1.tar.gz", "has_sig": false, "md5_digest": "f28687bdfa461099b50f281e85d52ed0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3239, "upload_time": "2016-10-14T13:47:36", "url": "https://files.pythonhosted.org/packages/9f/fe/17f88e247cfa33c4c1b0ac37c87ffa26fc8df32e40400fedb9ec4b508ce1/maildocker-1.0.1.tar.gz" } ] }