{ "info": { "author": "Martin J. Laubach", "author_email": "pypi+ecglist@laubach.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Communications :: Email" ], "description": "========\nECG List\n========\n\nThis package provides simple access to the austrian RTR (Rundfunk und Telekom\nRegulierungs-GmbH) \"ECG list\", the registry of persons and companies who do\nnot wish to receive promotional e-mail.\n\nTypical usage looks like this::\n\n from ecglist import ECGList\n\n e = ECGList()\n if not e.get_blacklist_status_code(email):\n send_email(email)\n else:\n print \"%s does not want to receive email\" % email\n\n\nUsage\n-----\n\nSet up the interface::\n\n from ecglist import ECGList\n\n # Defaults to reading \"ecg-liste.hash\" in current directory\n blacklist = ECGList(filename=\"my-ecg-list.hash\")\n\nTest for an email address being in the blacklist::\n\n \"foo@bar.example\" in blacklist\n\nGet an email's status code::\n\n code = blacklist[\"foo@bar.example\"]\n\n`code` will be None if the email address was not found in the blacklist or\na status code indicating the type of match otherwise.\n\nSame, but get a human readable string instead of a status code::\n\n status_str = blacklist.get_blacklist_status(\"foo@bar.example\")\n\nNote that the data file is only loaded when the first address is verified,\ni.e. the address verification might raise an Exception if the hash file has\nvanished in the meantime.\n\nTo reread the on-disk hash file or to free up the in-memory hash\ntable, use the reread() method like so::\n\n e.reread()\n\n\nBackground\n----------\n\nService providers that send unsolicited advertising e-mail have to observe this list.\nPlease refer to https://www.rtr.at/en/tk/E_Commerce_Gesetz for the legal background.\nUnfortunately, the only sample code provided by the RTR is in Perl (Boo! Hiss!), which\nprompted the creation of this module.\n\n\nObtaining the official blacklist\n--------------------------------\n\nYou will need to follow the steps outlined at https://www.rtr.at/en/tk/NutzenECG\nto obtain a copy of the current ECG list. Save the \"ecg-liste.hash\" you receive\nand configure the ECGList to access that file.\n\n\nInstallation\n------------\n\nTo install this module, simply: ::\n\n\t$ pip install email-ecglist", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/mjl/email-ecglist", "keywords": "email validation ecglist", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "email-ecglist", "package_url": "https://pypi.org/project/email-ecglist/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/email-ecglist/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/mjl/email-ecglist" }, "release_url": "https://pypi.org/project/email-ecglist/1.6/", "requires_dist": null, "requires_python": null, "summary": "Check email addresses against the austrian do-not-email list (ECG-Liste)", "version": "1.6" }, "last_serial": 1469874, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "e4ba3c56db5e75435a649b82ab36f133", "sha256": "bbd4165ba440bb74359c34e796a523c932341bf09bb8b38bdf936e832c244881" }, "downloads": -1, "filename": "email-ecglist-1.0.tar.gz", "has_sig": false, "md5_digest": "e4ba3c56db5e75435a649b82ab36f133", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3279, "upload_time": "2013-03-17T17:07:05", "url": "https://files.pythonhosted.org/packages/3d/24/0bb05801a5a5ecfa07a6b7f4f6284ad97f78d6d30c076d6914fb957b540e/email-ecglist-1.0.tar.gz" } ], "1.1": [ { "comment_text": "built for Darwin-12.3.0", "digests": { "md5": "4e5c0c6575d6b97d89c62d7aa4c91428", "sha256": "269f853a641d3bfe60c69450a74983e12bc02e6660397a37affd7e1de5867d7f" }, "downloads": -1, "filename": "email-ecglist-1.1.macosx-10.8-x86_64.tar.gz", "has_sig": false, "md5_digest": "4e5c0c6575d6b97d89c62d7aa4c91428", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 3670, "upload_time": "2013-03-17T21:10:34", "url": "https://files.pythonhosted.org/packages/cd/a9/bbbf80c563b29ea16fce4107fa82f3bd43e37d473bff05d0c1a264e4e56b/email-ecglist-1.1.macosx-10.8-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "f04acb4907da6302d46a1b6aa39df8fe", "sha256": "db8ef5519779abafe2faa00194a381003cdd9c8baefe50d36d2200f3c61a9b36" }, "downloads": -1, "filename": "email-ecglist-1.1.tar.gz", "has_sig": false, "md5_digest": "f04acb4907da6302d46a1b6aa39df8fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3659, "upload_time": "2013-03-17T21:10:29", "url": "https://files.pythonhosted.org/packages/37/66/c481edc8e4fc8bbe18850cb467bcd0ddded77c467542524074b6fed7ea46/email-ecglist-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "95b7157acb8f71c15a2ad656a3441bf3", "sha256": "3f9f883c3f9a28999beb3fcc3437d55bf4bac7cd93b41f0bed547210d740dcff" }, "downloads": -1, "filename": "email-ecglist-1.1.1.tar.gz", "has_sig": false, "md5_digest": "95b7157acb8f71c15a2ad656a3441bf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3663, "upload_time": "2013-03-17T21:13:57", "url": "https://files.pythonhosted.org/packages/f2/13/c3c1700b68a67c4140e67a48d161f1eed3c3bd896bbb5525f2acebd34b00/email-ecglist-1.1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "3daf7654585cc55043b4fe51ca0d5d13", "sha256": "da2a11dadc67c3b2cf3a9938c8178c61e1d63a0267a7fedb3c8d7c47bd4bf919" }, "downloads": -1, "filename": "email-ecglist-1.2.tar.gz", "has_sig": false, "md5_digest": "3daf7654585cc55043b4fe51ca0d5d13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3715, "upload_time": "2013-03-22T10:34:36", "url": "https://files.pythonhosted.org/packages/2a/a1/0169470464016f526004d6b246fe8d4a60476cb92be1bd68ce8f5fcc20f3/email-ecglist-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "6dccdff83b2c5caca29472bfdc7607a1", "sha256": "2d5b5d344a821df24be84edf6752a999f2271bd3d10e30085652a477a944d3d2" }, "downloads": -1, "filename": "email-ecglist-1.3.tar.gz", "has_sig": false, "md5_digest": "6dccdff83b2c5caca29472bfdc7607a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4184, "upload_time": "2015-03-10T16:47:56", "url": "https://files.pythonhosted.org/packages/18/8b/e90881b5950f210ca9b1686adb4668f7f94c343ad1357540d98e87fea256/email-ecglist-1.3.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "03d960ec8900c1aed653477cc2b9bbd3", "sha256": "3401a17a0e765b872b1db818e2091bfc2584aa571d8dc4ce3fa5c3f50943900d" }, "downloads": -1, "filename": "email-ecglist-1.4.tar.gz", "has_sig": false, "md5_digest": "03d960ec8900c1aed653477cc2b9bbd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4184, "upload_time": "2015-03-10T16:51:22", "url": "https://files.pythonhosted.org/packages/c3/18/11f97beba59a3c8c4c0abf9e96eee4fec0efcdce771f6ed75f5660aa3248/email-ecglist-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "3b0a693d7a496a06386d2c5a1e07132e", "sha256": "d43164582548047c0456f827ac2a53448485987fa0a5466639d72692429e1aff" }, "downloads": -1, "filename": "email-ecglist-1.5.tar.gz", "has_sig": false, "md5_digest": "3b0a693d7a496a06386d2c5a1e07132e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4297, "upload_time": "2015-03-10T18:45:13", "url": "https://files.pythonhosted.org/packages/e3/dd/9b7053c5361c0c86d6fe24ec17a7bd349ee538c098296fb2aea1d8fb5395/email-ecglist-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "fdfea376cd864a9ebd205994b16cdddb", "sha256": "e2dde1855ba3fb62db5301c4e6d9102335add2a960475e100b36dde4347f8aa3" }, "downloads": -1, "filename": "email-ecglist-1.6.tar.gz", "has_sig": false, "md5_digest": "fdfea376cd864a9ebd205994b16cdddb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4332, "upload_time": "2015-03-20T14:43:14", "url": "https://files.pythonhosted.org/packages/35/5a/102dff30eb2cc4bfbda1907e3020267843bfc14713821faa26238222d5b5/email-ecglist-1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fdfea376cd864a9ebd205994b16cdddb", "sha256": "e2dde1855ba3fb62db5301c4e6d9102335add2a960475e100b36dde4347f8aa3" }, "downloads": -1, "filename": "email-ecglist-1.6.tar.gz", "has_sig": false, "md5_digest": "fdfea376cd864a9ebd205994b16cdddb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4332, "upload_time": "2015-03-20T14:43:14", "url": "https://files.pythonhosted.org/packages/35/5a/102dff30eb2cc4bfbda1907e3020267843bfc14713821faa26238222d5b5/email-ecglist-1.6.tar.gz" } ] }