{ "info": { "author": "Patrice Neff ", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.6", "Topic :: Internet :: WWW/HTTP" ], "description": "TinfoilHat\n==========\n\nTinfoilHat is a httplib2_ extension that is more paranoid about input. It won't\nallow downloading data from private IP ranges.\n\nThis library was inspired by, but is not yet as paranoid as, Perl's `LWPx::ParanoidAgent`_.\n\nExample usage\n-------------\n\nTinfoilHat is a drop-in replacement for httplib2:\n\n>>> import tinfoilhat\n>>> client = tinfoilhat.Http()\n>>> client.request('http://0.1.2.3/')\n...\ntinfoilhat.BlockedError: Host name 0.1.2.3 is blocked\n\n\nYou can also specify an additional blacklist as a list of regular expressions:\n\n>>> import tinfoilhat\n>>> client = tinfoilhat.Http(blacklist=['83\\.\\d+\\.\\d+\\.\\d+'])\n>>> client.request('http://83.5.6.7')\n...\ntinfoilhat.BlockedError: Host name 83.5.6.7 is blocked\n\n\n\nAuthor & License\n----------------\n\nThis library was created by `Patrice Neff`_ for initial use at Memonic_. It's\nlicensed under the `BSD License`_.\n\n\n.. _httplib2: https://code.google.com/p/httplib2/\n.. _LWPX::ParanoidAgent: http://search.cpan.org/dist/LWPx-ParanoidAgent/lib/LWPx/ParanoidAgent.pm\n.. _Patrice Neff: http://patrice.ch/\n.. _Memonic: http://www.memonic.com/\n.. _BSD License: http://www.linfo.org/bsdlicense.html", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/TinfoilHat", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/pneff/tinfoilhat/tree/master", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "TinfoilHat", "package_url": "https://pypi.org/project/TinfoilHat/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/TinfoilHat/", "project_urls": { "Download": "http://pypi.python.org/pypi/TinfoilHat", "Homepage": "http://github.com/pneff/tinfoilhat/tree/master" }, "release_url": "https://pypi.org/project/TinfoilHat/0.3/", "requires_dist": null, "requires_python": null, "summary": "httplib2 extension that is more paranoid about input", "version": "0.3" }, "last_serial": 675752, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "d25452b8fefba57a41ce51c1f29bef0d", "sha256": "92de271804c03dafd369346f48e6fa45a280b3dfa4f935d8abd59feaee7c0a38" }, "downloads": -1, "filename": "TinfoilHat-0.1.zip", "has_sig": false, "md5_digest": "d25452b8fefba57a41ce51c1f29bef0d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5119, "upload_time": "2010-10-29T14:24:19", "url": "https://files.pythonhosted.org/packages/3b/01/d2aa248fb84d3cfa0f2b725d717a05964a2a2cd4b7e8c36bcd3fc172408a/TinfoilHat-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "40846d8199cd6cdaed5d51e683c23a8b", "sha256": "105c3e0ccdf6202f55b0b36b74167a5d337536afe508848b8500ac74e699cfdb" }, "downloads": -1, "filename": "TinfoilHat-0.2.zip", "has_sig": false, "md5_digest": "40846d8199cd6cdaed5d51e683c23a8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6774, "upload_time": "2010-11-12T11:49:04", "url": "https://files.pythonhosted.org/packages/bb/c0/3ef822c54200088bcd4ed49027f9dc422ef2ae47a99052145e9423cfa09a/TinfoilHat-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "1465b7464b811ba1f939aef2fb2b2557", "sha256": "95b81d0f16d8f876ec4cddf89b0d8c9106b8058942d62f237f3cd2ef3b538978" }, "downloads": -1, "filename": "TinfoilHat-0.3.zip", "has_sig": false, "md5_digest": "1465b7464b811ba1f939aef2fb2b2557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6792, "upload_time": "2013-01-11T10:19:38", "url": "https://files.pythonhosted.org/packages/a7/68/0c5ec9d10686f02d306e8322426f7fc4ba56345188f179a50a2a1f5edef8/TinfoilHat-0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1465b7464b811ba1f939aef2fb2b2557", "sha256": "95b81d0f16d8f876ec4cddf89b0d8c9106b8058942d62f237f3cd2ef3b538978" }, "downloads": -1, "filename": "TinfoilHat-0.3.zip", "has_sig": false, "md5_digest": "1465b7464b811ba1f939aef2fb2b2557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6792, "upload_time": "2013-01-11T10:19:38", "url": "https://files.pythonhosted.org/packages/a7/68/0c5ec9d10686f02d306e8322426f7fc4ba56345188f179a50a2a1f5edef8/TinfoilHat-0.3.zip" } ] }