{ "info": { "author": "Nathan Bryans", "author_email": "io@nathanbryans.ca", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Topic :: Communications :: Email", "Topic :: System :: Monitoring" ], "description": "A module for quickly sending email status and alerts from python\r\nprograms\r\n\r\nThis script was created to notify me when a job was completed (and\r\nsometimes include an exit status and relevant results)\r\n\r\nNotipy is compatible with both python2 and python3\r\n\r\nInstructions\r\n============\r\n\r\nGet Notipy\r\n~~~~~~~~~~\r\n\r\nFrom PyPi\r\n\r\n::\r\n\r\n pip install notipymail\r\n\r\nFrom Source\r\n\r\n::\r\n\r\n git clone https://github.com/nbryans/notipymail.git\r\n python setup.py sdist\r\n # Move dist\\*.zip to desired location. Extract zip\r\n cd Notipy-X.X\r\n python setup.py install\r\n\r\nOn First Run\r\n~~~~~~~~~~~~\r\n\r\nIn a ``python`` session\r\n\r\n.. code:: python\r\n\r\n import notipymail.notipy as notipy\r\n notipy.updateSendDetails('yourEmail@emailProvider.com', 'yourPassword', 'smtp.emailProvider.com', '587')\r\n\r\nThis will create file ``senddetails.dat`` containing the following\r\ncontents:\r\n\r\n::\r\n\r\n email:email@emailProvider.com\r\n password:yourPassword\r\n server:smtp.emailProvider.com\r\n port:587\r\n\r\nOptionally, you can create this file manually.\r\n\r\nSending Emails with Notipy:\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n.. code:: python\r\n\r\n import notipymail.notipy as notipy\r\n notipy.sendMail(\"to@address.com\", \"This is a message\")\r\n\r\nNotes\r\n=====\r\n\r\nUse ``notipy.sendMailAsync(..)`` to send mail in the background\r\nasynchronously.\r\n\r\nSend status are logged in ``notipy.log``. The log file can be changed in\r\nthe ``#Constants`` section of ``notipy.py``\r\n\r\nTo query the log through python, use ``notipy.queryLog(5)`` where ``5``\r\nspecifies the number of log entries (most recent to least) to retrieve.\r\nThis operation may be slow for large logs.\r\n\r\nIn ``sendMail`` and ``sendMailAsync``, there is an optional third\r\nparameter where you can specify a subject. *i.e.*\r\n``notipy.sendMail(\"to@address.com\", \"This is the message\", \"Custom Subject\")``.\r\nThe default subject is \"Notipy Automail\"\r\n\r\nAcknowledgements\r\n~~~~~~~~~~~~~~~~\r\n\r\nLogo created using modified images originally distributed by Pixabay.com\r\nhttps://pixabay.com/en/cartoon-snake-yellow-1293047/\r\nhttps://pixabay.com/en/email-letter-contact-message-mail-309678/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/nbryans/notipymail/tarball/0.1", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nbryans/notipymail", "keywords": "Email,Notifier,Status", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "notipymail", "package_url": "https://pypi.org/project/notipymail/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/notipymail/", "project_urls": { "Download": "https://github.com/nbryans/notipymail/tarball/0.1", "Homepage": "https://github.com/nbryans/notipymail" }, "release_url": "https://pypi.org/project/notipymail/1.0/", "requires_dist": null, "requires_python": null, "summary": "A full featured email status notifier for python", "version": "1.0" }, "last_serial": 2856022, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "79a11901f4c0d67e6d7ec9f579d7c506", "sha256": "85c774e102639c4027cc32a8424ee1ec07456cf3fd99f5a38dec615065bb0b4b" }, "downloads": -1, "filename": "notipymail-1.0.zip", "has_sig": false, "md5_digest": "79a11901f4c0d67e6d7ec9f579d7c506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7198, "upload_time": "2017-05-06T16:31:31", "url": "https://files.pythonhosted.org/packages/25/64/34e53ace9af877573c4dc0054dd76855781ba00a4265aae1e0d12d3d0712/notipymail-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "79a11901f4c0d67e6d7ec9f579d7c506", "sha256": "85c774e102639c4027cc32a8424ee1ec07456cf3fd99f5a38dec615065bb0b4b" }, "downloads": -1, "filename": "notipymail-1.0.zip", "has_sig": false, "md5_digest": "79a11901f4c0d67e6d7ec9f579d7c506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7198, "upload_time": "2017-05-06T16:31:31", "url": "https://files.pythonhosted.org/packages/25/64/34e53ace9af877573c4dc0054dd76855781ba00a4265aae1e0d12d3d0712/notipymail-1.0.zip" } ] }