{ "info": { "author": "Val Neekman and F\u00e9lix Brezo", "author_email": "felix.brezo@i3visio.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Communications :: Email", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Python Email Ahoy 3\n====================\n\n**A Python email utility that verifies existence of an email address**\n\n\nOverview\n========\n\nA Python email utility that verifies existence of an email address.\nThis package is based on [this](https://github.com/un33k/python-emailahoy) package which only run in Python 2.\nIt has been refactored to work in Python 3.\n\nHow to install\n==================\n\nUse Pip (note that it works only for Python 3.6+ sicne it uses f-strings):\n\n```\npip3 install python-emailahoy3 --user\n```\n\nHow to use\n=================\n\nUse the shorthand function for quick check:\n\n```\nfrom emailahoy3 import verify_email_address\nstatus =verify_email_address('test@example.com')\nprint(status)\n```\n\nCodes are defined as follows:\n- `1`. The email exists.\n- `0`. The email does not exist.\n- `-1`. The existence of the email could not be verified.\n\nYou can also use the class for more control & more granular return status:\n\n```\nfrom emailahoy3 import VerifyEmail\ne = VerifyEmail()\nstatus = e.verify_email_smtp(\n email='test@example.com',\n from_host='mydomain.com',\n from_email='verify@mydomain.com'\n )\nif e.was_found(status):\n print >> sys.stderr, \"Found:\", status\nelif e.not_found(status):\n print >> sys.stderr, \"Not Found:\", status\nelse:\n print >> sys.stderr, \"Unverifiable:\", status\n```\n\n\n\nNotes\n=================\n\n1. Not all email servers will return the correct status\n2. Checking an invalid email address returns within 1 second\n3. Checking a valid email address returns within 4 seconds or more\n\nRunning the tests\n=================\n\nTo run the tests against the current environment:\n\n```\npython3 -m unittest discover\n```\n\nLicense\n====================\n\nReleased under a ([BSD](LICENSE.md)) license.", "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/febrezo/python-emailahoy3", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "python-emailahoy3", "package_url": "https://pypi.org/project/python-emailahoy3/", "platform": "", "project_url": "https://pypi.org/project/python-emailahoy3/", "project_urls": { "Homepage": "https://github.com/febrezo/python-emailahoy3" }, "release_url": "https://pypi.org/project/python-emailahoy3/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A Python3 email utility that verifies existence of an email address", "version": "0.1.3" }, "last_serial": 5404876, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b1ec6e2d866d5f848a7972ad5d1b7bd7", "sha256": "9c549d0a03032fb5bf725298b1abeb740b56540ea6a71a68f934de41c8f9e2d6" }, "downloads": -1, "filename": "python-emailahoy3-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b1ec6e2d866d5f848a7972ad5d1b7bd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7702, "upload_time": "2019-06-15T20:46:23", "url": "https://files.pythonhosted.org/packages/91/e1/ced9cc22c7dce156fb962957357d402026ed41dcada9b949b2fbc485daea/python-emailahoy3-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fbefc5b186d3a3df161b10becee6740f", "sha256": "a5d8571ed2e1e22a5cdaf92f9d942c85f1a756776a4d90b9eac4d764427d2665" }, "downloads": -1, "filename": "python-emailahoy3-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fbefc5b186d3a3df161b10becee6740f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7632, "upload_time": "2019-06-15T20:49:07", "url": "https://files.pythonhosted.org/packages/22/1f/eed98184865889a5daaf78b0ac194dc92d0966f15c9202ec8308fd07c5f2/python-emailahoy3-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2ce9a565b83ff16c5a9d02bd3f975c38", "sha256": "b53931df3fb0405ac4ed09ad5991b51d398d08b381195b5f57c43ad282b0faab" }, "downloads": -1, "filename": "python-emailahoy3-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2ce9a565b83ff16c5a9d02bd3f975c38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7667, "upload_time": "2019-06-15T20:56:37", "url": "https://files.pythonhosted.org/packages/0d/eb/4ee068aa8900117cb738f6f392012f48824556629745b4fa07daf92cc3c1/python-emailahoy3-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2cd63fea5f3f07ecdeac71b126761001", "sha256": "547e262eb8631d302173008332a7d896cbb4086502f4b72c62dffe62bae5fd2f" }, "downloads": -1, "filename": "python-emailahoy3-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2cd63fea5f3f07ecdeac71b126761001", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7675, "upload_time": "2019-06-15T21:02:04", "url": "https://files.pythonhosted.org/packages/c4/5a/fe26c3422151b3ca6746db765e5062ef167dbf23400554a681f9248a10ab/python-emailahoy3-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2cd63fea5f3f07ecdeac71b126761001", "sha256": "547e262eb8631d302173008332a7d896cbb4086502f4b72c62dffe62bae5fd2f" }, "downloads": -1, "filename": "python-emailahoy3-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2cd63fea5f3f07ecdeac71b126761001", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7675, "upload_time": "2019-06-15T21:02:04", "url": "https://files.pythonhosted.org/packages/c4/5a/fe26c3422151b3ca6746db765e5062ef167dbf23400554a681f9248a10ab/python-emailahoy3-0.1.3.tar.gz" } ] }