{ "info": { "author": "Dylan Barlett", "author_email": "dylan.barlett@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Communications :: Email" ], "description": "pymailcheck\r\n===========\r\n\r\nSuggest corrections to user-misspelled email addresses.\r\n\r\nPython port of `mailcheck.js `_.\r\n\r\nInstallation\r\n------------\r\n\r\n.. code-block:: bash\r\n\r\n $ pip install pymailcheck\r\n\r\nUsage\r\n-----\r\n\r\n.. code-block:: python\r\n\r\n >>> import pymailcheck\r\n >>> pymailcheck.suggest(\"test@example.con\")\r\n {'domain': 'example.com', 'full': 'test@example.com', 'address': 'test'}\r\n >>> pymailcheck.suggest(\"test@example.org\")\r\n False\r\n\r\nYou can override or append the built-in list of domains, top-level domains,\r\nand/or second-level domains:\r\n\r\n===================== ================================ =========\r\nParameter Defaults Example\r\n===================== ================================ =========\r\ndomains pymailcheck.DOMAINS yahoo.com\r\ntop_level_domains pymailcheck.TOP_LEVEL_DOMAINS yahoo\r\nsecond_level_domains pymailcheck.SECOND_LEVEL_DOMAINS com\r\n===================== ================================ =========\r\n\r\n.. code-block:: python\r\n\r\n >>> pymailcheck.suggest(\"test@contosl.com\")\r\n False\r\n >>> custom_domains = [\"example.com\", \"contoso.com\"]\r\n >>> pymailcheck.suggest(\"test@contosl.com\", domains=custom_domains)\r\n {'domain': 'contoso.com', 'full': 'test@contoso.com', 'address': 'test'}\r\n\r\n.. code-block:: python\r\n\r\n >>> pymailcheck.suggest(\"test@contosl.com\")\r\n False\r\n >>> custom_domains = pymailcheck.DOMAINS.union((\"example.com\", \"contoso.com\"))\r\n >>> pymailcheck.suggest(\"test@contosl.com\", domains=custom_domains)\r\n {'domain': 'contoso.com', 'full': 'test@contoso.com', 'address': 'test'}\r\n\r\nRunning Tests\r\n-------------\r\n\r\n.. code-block:: bash\r\n\r\n $ python -m unittest discover\r\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/dbarlett/pymailcheck", "keywords": "email mailcheck", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pymailcheck", "package_url": "https://pypi.org/project/pymailcheck/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pymailcheck/", "project_urls": { "Homepage": "https://github.com/dbarlett/pymailcheck" }, "release_url": "https://pypi.org/project/pymailcheck/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Suggest corrections to user-misspelled email addresses", "version": "1.0.0" }, "last_serial": 1829659, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "4353eb11a676636f3e5f66740daa4127", "sha256": "9837b763d1e10a7988d91ddf47004297e7087d5ffccf2bae46bd9325e3318cdd" }, "downloads": -1, "filename": "pymailcheck-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "4353eb11a676636f3e5f66740daa4127", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4380, "upload_time": "2015-11-23T16:10:57", "url": "https://files.pythonhosted.org/packages/91/45/e56d586d1c99307e858aecdad70399d54bc7115b34d8d31bf80665faf850/pymailcheck-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6b90f0f7ed3cb1ebae3c11206654b3c", "sha256": "29dbad220525507c72ea15d26af2c911d71a192ad34fe60f393a90256f37e1d2" }, "downloads": -1, "filename": "pymailcheck-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6b90f0f7ed3cb1ebae3c11206654b3c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4381, "upload_time": "2015-11-23T15:56:22", "url": "https://files.pythonhosted.org/packages/d2/87/6b57fd85d24c55cc58cb8b9ca726e443fe1696d003434fa534593dc60be8/pymailcheck-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21e6c676bc654135e2add40f4e168356", "sha256": "e5ab28bffafd51eae86aecdb6aed71b0fd383ac372b773c29d44f0658662fd9a" }, "downloads": -1, "filename": "pymailcheck-1.0.0.zip", "has_sig": false, "md5_digest": "21e6c676bc654135e2add40f4e168356", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5278, "upload_time": "2015-11-23T16:10:53", "url": "https://files.pythonhosted.org/packages/55/68/1647b2a673cf5daa1a7b75c5ebab20acf2f1f3e7e68f7eaefabb361bc897/pymailcheck-1.0.0.zip" } ], "1.0.0rc1": [ { "comment_text": "", "digests": { "md5": "7a59a260a2627b58d4048ce81feb6aad", "sha256": "367db176d2202c453b7e156fbbcea25c4666a3c0ad083138ebf2416b99f0f5ee" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc1-py2-none-any.whl", "has_sig": false, "md5_digest": "7a59a260a2627b58d4048ce81feb6aad", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4422, "upload_time": "2015-11-23T15:46:38", "url": "https://files.pythonhosted.org/packages/3b/23/bdc1399c839c345c6d6e374fd53193f807ec863b9786805aa7593d495da7/pymailcheck-1.0.0rc1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5aab9bc34e7f2ee5ccfd8f9bdada93e", "sha256": "713e09e55b996d71eb7ef6d2d72e60dc334b7e470ce5c9454ef65817a3787ef1" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c5aab9bc34e7f2ee5ccfd8f9bdada93e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4424, "upload_time": "2015-11-23T15:46:46", "url": "https://files.pythonhosted.org/packages/ab/29/a171a5a3c5da3b8bf703d4e4cac54ce5c945305aeb2780d1730c2b974578/pymailcheck-1.0.0rc1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1a280b03838aa6d746274190a299c022", "sha256": "18795aa50e9317fd3b370a92be1287fa62e7acbb8b6d39f6b564878323dd7e7c" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc1.zip", "has_sig": false, "md5_digest": "1a280b03838aa6d746274190a299c022", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5337, "upload_time": "2015-11-23T15:46:50", "url": "https://files.pythonhosted.org/packages/82/7f/323900eba7652e75d222695c4fc3da694574ba51507ea48982a0f72eb9c7/pymailcheck-1.0.0rc1.zip" } ], "1.0.0rc2": [ { "comment_text": "", "digests": { "md5": "727a67121d363c3fe52ee6f2697c7f56", "sha256": "3cf6e17b5aa7440a340b9767304cb4bf1547d33758132daaae6023ea50272f39" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc2-py2-none-any.whl", "has_sig": false, "md5_digest": "727a67121d363c3fe52ee6f2697c7f56", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4421, "upload_time": "2015-11-23T15:52:36", "url": "https://files.pythonhosted.org/packages/84/a3/0402f895b9fb0326f25c9328371ac2c3b5aa4ae18de8596325d3315e3981/pymailcheck-1.0.0rc2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bfc342735a945b4df2e64da3b1c03b6", "sha256": "0f16003bdfc6cfa873324045722632cd93b9b972955363e3749613e3c6362821" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0bfc342735a945b4df2e64da3b1c03b6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4427, "upload_time": "2015-11-23T15:52:46", "url": "https://files.pythonhosted.org/packages/4a/f4/d6e60e408501e63dfbc59f07e91aaca49c70411cb6db1c75b54edbaa11b5/pymailcheck-1.0.0rc2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9fa071d2c3c54a89dcd8669f2c388cb9", "sha256": "58b0374400edcb8805871402d25ee27c25f752b48ab9f3b1584f381cf1c32cbb" }, "downloads": -1, "filename": "pymailcheck-1.0.0rc2.zip", "has_sig": false, "md5_digest": "9fa071d2c3c54a89dcd8669f2c388cb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5341, "upload_time": "2015-11-23T15:52:51", "url": "https://files.pythonhosted.org/packages/65/6c/daca6ae25c7566bfea7a82ca5064d2d4dcf52df97db47c02d5fec857d2e4/pymailcheck-1.0.0rc2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4353eb11a676636f3e5f66740daa4127", "sha256": "9837b763d1e10a7988d91ddf47004297e7087d5ffccf2bae46bd9325e3318cdd" }, "downloads": -1, "filename": "pymailcheck-1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "4353eb11a676636f3e5f66740daa4127", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 4380, "upload_time": "2015-11-23T16:10:57", "url": "https://files.pythonhosted.org/packages/91/45/e56d586d1c99307e858aecdad70399d54bc7115b34d8d31bf80665faf850/pymailcheck-1.0.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6b90f0f7ed3cb1ebae3c11206654b3c", "sha256": "29dbad220525507c72ea15d26af2c911d71a192ad34fe60f393a90256f37e1d2" }, "downloads": -1, "filename": "pymailcheck-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d6b90f0f7ed3cb1ebae3c11206654b3c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4381, "upload_time": "2015-11-23T15:56:22", "url": "https://files.pythonhosted.org/packages/d2/87/6b57fd85d24c55cc58cb8b9ca726e443fe1696d003434fa534593dc60be8/pymailcheck-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21e6c676bc654135e2add40f4e168356", "sha256": "e5ab28bffafd51eae86aecdb6aed71b0fd383ac372b773c29d44f0658662fd9a" }, "downloads": -1, "filename": "pymailcheck-1.0.0.zip", "has_sig": false, "md5_digest": "21e6c676bc654135e2add40f4e168356", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5278, "upload_time": "2015-11-23T16:10:53", "url": "https://files.pythonhosted.org/packages/55/68/1647b2a673cf5daa1a7b75c5ebab20acf2f1f3e7e68f7eaefabb361bc897/pymailcheck-1.0.0.zip" } ] }