{ "info": { "author": "Paul Chakravarti", "author_email": "paul.chakravarti@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Communications :: Email" ], "description": "\n \n gmail\n -----\n\n The 'gmail' module provides a simple wrapper around the smtplib/email\n modules to provide an easy programmatic interface for sending email using\n the GMail SMTP service.\n\n The module provides the following classes:\n\n GMail - Basic interface to GMail SMTP service \n GMailWorker - Background worker to send messages asynchronously \n (uses multiprocessing module)\n GMailHandler - GMail handler for logging framework\n Message - Wrapper around email.Message class simplifying\n creation of email message objects\n\n The module also provides a cli interface to send email if run directly\n (python -mgmail.cli)\n \n Basic usage:\n\n >>> gmail = GMail('A.User ','password')\n >>> msg = Message('Test Message',to='xyz ',text='Hello')\n >>> gmail.send(msg)\n\n Note: You will need to setup an application-specific password rather\n than using your account-password - see:\n \n https://support.google.com/mail/?p=InvalidSecondFactor\n https://security.google.com/settings/security/apppasswords\n\n The Message class also provides support to simply generate html email and\n add attachments.\n\n >>> msg = Message('Test Message',to='xyz@xyz.com',text=\"Hello\",html=\"Hello\",attachments=['img.jpg'])\n\n In Python3 messages will be unicode (utf8) encoded by default unless the\n text is passed a a bytes object (the inverse is true in Python 2)\n\n For examples of use see cli.py and test_gmail.py/test_message.py\n\n Changelog:\n\n * 0.1 2012-10-17 Initial Release\n * 0.2 2012-10-18 Restructure module\n * 0.3 2012-12-28 Fix logging/worker \n * 0.3.1 2012-12-28 CLI attachment mime-type fix\n * 0.4 2013-08-24 Allow user to specify 'From' and 'Reply-To' header by passing 'sender'\n (Pull from from https://github.com/Kami - thanks)\n * 0.5 2014-02-12 Move _gmail_worker to module function to fix \n multiprocessor problem on win32 \n (Fix from gabriel.nevarez@gmail.com - thanks)\n * 0.6.1 2016-09-25 Python 3 support\n * 0.6.2 2016-12-12 Fix to Python 3 exception handling\n * 0.6.3 2017-08-07 Try to handle non-ascii filenames\n Fix for exception on `__del__` Method Invocation\n (thanks to https://github.com/theonewolf for fix/pull request)\n\n License:\n\n * BSD\n\n Author:\n\n * Paul Chakravarti (paul.chakravarti@gmail.com)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/paulchakravarti/gmail-sender", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "gmail", "package_url": "https://pypi.org/project/gmail/", "platform": "", "project_url": "https://pypi.org/project/gmail/", "project_urls": { "Homepage": "https://github.com/paulchakravarti/gmail-sender" }, "release_url": "https://pypi.org/project/gmail/0.6.3/", "requires_dist": null, "requires_python": "", "summary": "Simple library to send email using GMail (includes background worker and logging classes) [Python 2/3 support]", "version": "0.6.3" }, "last_serial": 3079392, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "abb0c6734e25cfd8865182818c133f74", "sha256": "7a0b7f95be3a35b113608c2fc60d3f50f3eee9e177bf6082db3271398874fedb" }, "downloads": -1, "filename": "gmail-0.1.tar.gz", "has_sig": false, "md5_digest": "abb0c6734e25cfd8865182818c133f74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5176, "upload_time": "2012-10-17T22:00:58", "url": "https://files.pythonhosted.org/packages/de/ec/394cf46f5b218325619b478e48159cbb013bb84212c9a202ec55ce6d085c/gmail-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "35a19912a50e67c9502038505a0e5177", "sha256": "fb0aaf1859311de9cd0c23c007413d4eaee656dd2322db17be503ddd397186d4" }, "downloads": -1, "filename": "gmail-0.2.tar.gz", "has_sig": false, "md5_digest": "35a19912a50e67c9502038505a0e5177", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5435, "upload_time": "2012-10-18T18:58:29", "url": "https://files.pythonhosted.org/packages/34/5b/7cd34c5003106e6c8541a5f484c86029056bd2d3488427fd9bbeca1ade6d/gmail-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e06c241e8daf22e3904505c6c81af0ba", "sha256": "380f99d98ee4792e24c5245084cbf33834572d812ffc6ec072793c0e3097ed59" }, "downloads": -1, "filename": "gmail-0.3.tar.gz", "has_sig": false, "md5_digest": "e06c241e8daf22e3904505c6c81af0ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6660, "upload_time": "2012-12-28T11:56:04", "url": "https://files.pythonhosted.org/packages/70/e0/d9ec4f3c242da7890f4af6e097d8646506735e5dec12eb22287fded5bd5e/gmail-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "ccacd4561de0b88764cf60531ff7f0f5", "sha256": "973d570dea394681e77082667716015227d992c65da978446897b55b986b3c08" }, "downloads": -1, "filename": "gmail-0.3.1.tar.gz", "has_sig": false, "md5_digest": "ccacd4561de0b88764cf60531ff7f0f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6619, "upload_time": "2012-12-28T21:45:53", "url": "https://files.pythonhosted.org/packages/93/40/92c0f4cd5ce36367f483e2d9d4a3ddf73efe6e1d048b8ede19e4f5ec98c4/gmail-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "b411981c96bb645ee04614529fb2dc1a", "sha256": "a72d3a88a06f2ad94ba3d3ede81c605dcd1c8662abdc35f6a92a9250b2032421" }, "downloads": -1, "filename": "gmail-0.4.tar.gz", "has_sig": false, "md5_digest": "b411981c96bb645ee04614529fb2dc1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6974, "upload_time": "2013-08-24T19:49:51", "url": "https://files.pythonhosted.org/packages/0b/74/e94824b897534da78d2eefb72cf2a9767d0e90613bd84243039c1f25c8b8/gmail-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "53c1e13be45cfb596e8629f1d3eb11ed", "sha256": "b72d9b9b83c04cbedbd9b92cbaf27d8e0d908e856b32f51bda2148b45ec8fc15" }, "downloads": -1, "filename": "gmail-0.5.tar.gz", "has_sig": false, "md5_digest": "53c1e13be45cfb596e8629f1d3eb11ed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7231, "upload_time": "2014-02-12T23:02:55", "url": "https://files.pythonhosted.org/packages/1b/9b/2aa5b5622991c8ac651564270452285cae933682e194fe8048e9a71c9b1e/gmail-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "ee2362d86e4f3262c3574645780ad7f2", "sha256": "580569a143ee11289c9ade39cef40150e7a914cb38f50f5074141ac008e92eb4" }, "downloads": -1, "filename": "gmail-0.6.tar.gz", "has_sig": false, "md5_digest": "ee2362d86e4f3262c3574645780ad7f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7637, "upload_time": "2016-09-25T15:36:44", "url": "https://files.pythonhosted.org/packages/ca/3a/89f1a71d33a053dfcf026039f6d6a5a5233a45c34625b41aa421cf1e2168/gmail-0.6.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "018a5b54da11dead807351aad3ef8607", "sha256": "77e68986fe1360de176a9517de4f18a4dc39abb4c596ebb355474d4fb537d792" }, "downloads": -1, "filename": "gmail-0.6.1.tar.gz", "has_sig": false, "md5_digest": "018a5b54da11dead807351aad3ef8607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7882, "upload_time": "2016-09-25T15:47:35", "url": "https://files.pythonhosted.org/packages/e0/3a/e6bc251a32c9751cfad972757363b3c78c5b82622c8cea8e81271ba60c0c/gmail-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "1793a996a2ac9c68abac39476e40bba9", "sha256": "733c9ead9c44ffaf854d6b2cd86c8a5792098ffb0390a0ee78e59154d849dff1" }, "downloads": -1, "filename": "gmail-0.6.2.tar.gz", "has_sig": false, "md5_digest": "1793a996a2ac9c68abac39476e40bba9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7832, "upload_time": "2016-12-12T23:05:10", "url": "https://files.pythonhosted.org/packages/e0/95/fc041c9ae0beca587f49c5b5d45fec10f3fe041ca27ea58af0854bf4e9a6/gmail-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "2b45e8a3d030d017953a8dc72417576b", "sha256": "3028711d4db7db5fa47c6ddd01f237360d7ce27a3f08997bb517ba811a8418ca" }, "downloads": -1, "filename": "gmail-0.6.3.tar.gz", "has_sig": false, "md5_digest": "2b45e8a3d030d017953a8dc72417576b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8031, "upload_time": "2017-08-07T19:59:52", "url": "https://files.pythonhosted.org/packages/7a/ea/a22dde9957672e37bc45b1b9a0788e7388923a7a938adfeac089259819e1/gmail-0.6.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2b45e8a3d030d017953a8dc72417576b", "sha256": "3028711d4db7db5fa47c6ddd01f237360d7ce27a3f08997bb517ba811a8418ca" }, "downloads": -1, "filename": "gmail-0.6.3.tar.gz", "has_sig": false, "md5_digest": "2b45e8a3d030d017953a8dc72417576b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8031, "upload_time": "2017-08-07T19:59:52", "url": "https://files.pythonhosted.org/packages/7a/ea/a22dde9957672e37bc45b1b9a0788e7388923a7a938adfeac089259819e1/gmail-0.6.3.tar.gz" } ] }