{ "info": { "author": "Pascal van Kooten", "author_email": "kootenpv@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Customer Service", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Communications :: Email", "Topic :: Communications :: Email :: Email Clients (MUA)", "Topic :: Software Development", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Debuggers", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Software Distribution", "Topic :: System :: Systems Administration", "Topic :: Utilities" ], "description": "\n

\n \n

\n\n# aioyagmail -- Yet Another GMAIL/SMTP client, using AsyncIO\n\n[![Join the chat at https://gitter.im/kootenpv/aioyagmail](https://badges.gitter.im/kootenpv/aioyagmail.svg)](https://gitter.im/kootenpv/aioyagmail?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n[![PyPI](https://img.shields.io/pypi/v/aioyagmail.svg?style=flat-square)](https://pypi.python.org/pypi/aioyagmail/)\n[![PyPI](https://img.shields.io/pypi/pyversions/aioyagmail.svg?style=flat-square)](https://pypi.python.org/pypi/aioyagmail/)\n\nThe goal here is to make it as simple and painless as possible to send emails using asyncio.\n\nIn the end, your code will look something like this:\n\n```python\nimport asyncio\nfrom aioyagmail import AIOSMTP\n\nloop = asyncio.get_event_loop()\n\nasync def send_single():\n # walks you through oauth2 process if no file at this location\n async with AIOSMTP(oauth2_file=\"~/oauth2_gmail.json\") as yag:\n await yag.send(to=\"someone@gmail.com\", subject=\"hi\")\n\nasync def send_multi():\n async with AIOSMTP(oauth2_file=\"~/oauth2_gmail.json\") as yag:\n # Runs asynchronously!\n await asyncio.gather(yag.send(subject=\"1\"),\n yag.send(subject=\"2\"),\n yag.send(subject=\"3\"))\n\nloop.run_until_complete(send_single())\nloop.run_until_complete(send_multi())\n```\n\n### Username and password\n\nIt is possible like in `yagmail` to use username and password, but this is not actively encouraged anymore.\nSee https://github.com/kootenpv/yagmail#username-and-password how to do it.\n\n### For more information\n\nHave a look at `yagmail`. Any issue NOT related to async should be posted there (or found out about).\n\n### Word of caution\n\nWatch out that gmail does not block you for spamming. Using async you could potentially be sending emails too rapidly.\n\n### Donate\n\nIf you like `aioyagmail`, feel free (no pun intended) to donate any amount you'd like :-)\n\n[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Y7QCCEPGC6R5E)\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/kootenpv/aioyagmail", "keywords": "email mime automatic html attachment async asyncio", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "aioyagmail", "package_url": "https://pypi.org/project/aioyagmail/", "platform": "any", "project_url": "https://pypi.org/project/aioyagmail/", "project_urls": { "Homepage": "https://github.com/kootenpv/aioyagmail" }, "release_url": "https://pypi.org/project/aioyagmail/0.0.4/", "requires_dist": [ "yagmail (>=0.11.214)", "aiosmtplib", "keyring; extra == 'all'" ], "requires_python": "", "summary": "Yet Another GMAIL client, using AsyncIO", "version": "0.0.4" }, "last_serial": 4008796, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "33d73bf0ed4599c89a62577dd5971494", "sha256": "98f42ca47fa7a68be935894ea256ab7aee160cbfc119edcbc48d39245abee46f" }, "downloads": -1, "filename": "aioyagmail-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33d73bf0ed4599c89a62577dd5971494", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 4978, "upload_time": "2018-06-27T19:48:01", "url": "https://files.pythonhosted.org/packages/d4/cf/6b3dfbbd01ab7077135f6cd7975d3720385e4ef7839929a05f46bd6c423b/aioyagmail-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "191cb64c5ef4f57c399c57e99828d11a", "sha256": "4620f183ff57cd54334c6cf500c779192ae056242290c1ebbdbf9447ee2b8dcf" }, "downloads": -1, "filename": "aioyagmail-0.0.2.tar.gz", "has_sig": false, "md5_digest": "191cb64c5ef4f57c399c57e99828d11a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4786, "upload_time": "2018-06-27T19:48:00", "url": "https://files.pythonhosted.org/packages/ed/97/469c7cab1b4983c7f28c3b81c03ababed1de86b601dd66f659da73174e4b/aioyagmail-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "0c3d7746fa7b69f5a06724101f5999c6", "sha256": "1cf1be464f895fc5366e44a9852c1ab5e04f441678f12020333f81bccadb197a" }, "downloads": -1, "filename": "aioyagmail-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0c3d7746fa7b69f5a06724101f5999c6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6261, "upload_time": "2018-06-27T20:05:53", "url": "https://files.pythonhosted.org/packages/eb/3e/4a926e4e572373c9579480c47e3b98baca26d13573f17d669d718bcf7d61/aioyagmail-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2db47d0d42040c4fd9def4f2ca1b06e5", "sha256": "fd9aff395311b28a026be64258a843f9ff9b5f3c01eeceedbd3e1b88e7cdf4a2" }, "downloads": -1, "filename": "aioyagmail-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2db47d0d42040c4fd9def4f2ca1b06e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4844, "upload_time": "2018-06-27T20:05:55", "url": "https://files.pythonhosted.org/packages/2a/9e/bdd8556cfe0aa610d4e91e067660f12bf880bf3f1a9e1cc0073adf1133dd/aioyagmail-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5ee043f3ab638717070873d127a58b44", "sha256": "981eb7b9694a1ca85c5ea6aa2c19af4f1082b8b5ef4382142e751c3a30c11478" }, "downloads": -1, "filename": "aioyagmail-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5ee043f3ab638717070873d127a58b44", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4123, "upload_time": "2018-06-27T20:10:21", "url": "https://files.pythonhosted.org/packages/2f/fa/1a67515ac17701275955801edefdd4c589626b7e8582c17a4d66abab906d/aioyagmail-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a5e48e623af4cea655af22bad2579bc6", "sha256": "8f360dcce75bc378ada2dbce77970486a97fc5e20bfda17ded95a95b92e7ac7c" }, "downloads": -1, "filename": "aioyagmail-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a5e48e623af4cea655af22bad2579bc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4844, "upload_time": "2018-06-27T20:10:22", "url": "https://files.pythonhosted.org/packages/23/83/ce8539b03590d6b551958fc653879432361fcdc52a590b1769f53a04f7b9/aioyagmail-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5ee043f3ab638717070873d127a58b44", "sha256": "981eb7b9694a1ca85c5ea6aa2c19af4f1082b8b5ef4382142e751c3a30c11478" }, "downloads": -1, "filename": "aioyagmail-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5ee043f3ab638717070873d127a58b44", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4123, "upload_time": "2018-06-27T20:10:21", "url": "https://files.pythonhosted.org/packages/2f/fa/1a67515ac17701275955801edefdd4c589626b7e8582c17a4d66abab906d/aioyagmail-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a5e48e623af4cea655af22bad2579bc6", "sha256": "8f360dcce75bc378ada2dbce77970486a97fc5e20bfda17ded95a95b92e7ac7c" }, "downloads": -1, "filename": "aioyagmail-0.0.4.tar.gz", "has_sig": false, "md5_digest": "a5e48e623af4cea655af22bad2579bc6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4844, "upload_time": "2018-06-27T20:10:22", "url": "https://files.pythonhosted.org/packages/23/83/ce8539b03590d6b551958fc653879432361fcdc52a590b1769f53a04f7b9/aioyagmail-0.0.4.tar.gz" } ] }