{ "info": { "author": "Gavin M. Roy", "author_email": "gavinmroy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database", "Topic :: Software Development :: Libraries" ], "description": "httpbl\n======\n`Project Honeypot `_ Http:BL API Package\n\nRequires a Http:BL API key from https://www.projecthoneypot.org/\n\n|Version| |Status| |Coverage| |License|\n\nResponse Format\n---------------\n\ndict with keys:\n\n- ``days_since_last_activity``\n- ``name``\n- ``threat_score``\n- ``types`` - a list of visitor types (``int`` values)\n\nThe list types are enumerated in the module:\n\n- ``httpbl.COMMENT_SPAMMER``\n- ``httpbl.HARVESTER``\n- ``httpbl.SEARCH_ENGINE``\n- ``httpbl.SUSPICIOUS``\n\nText descriptions are available in the ``httpbl.DESCRIPTIONS`` dict.\n\nExample\n-------\n\n.. code:: python\n\n import httpbl\n\n ip_address = '127.5.20.3'\n\n bl = httpbl.HttpBL('my-key')\n response = bl.query(ip_address)\n\n print('IP Address: {}'.format(ip_address)\n print('Threat Score: {}'.format(response['threat_score'])\n print('Days since last activity: {}'.foramt(response['days_since_last_activity'])\n print('Visitor type: {}'.format(', '.join([httpbl.DESCRIPTIONS[t] for t in response['type']]))\n\n.. |Version| image:: https://img.shields.io/pypi/v/httpbl.svg?\n :target: https://pypi.python.org/pypi/httpbl\n\n.. |Status| image:: https://img.shields.io/travis/gmr/httpbl.svg?\n :target: https://travis-ci.org/gmr/httpbl\n\n.. |Coverage| image:: https://img.shields.io/codecov/c/github/gmr/httpbl.svg?\n :target: https://codecov.io/github/gmr/httpbl?branch=master\n\n.. |License| image:: https://img.shields.io/github/license/gmr/httpbl.svg?\n :target: https://github.com/gmr/httpbl\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gmr/httpbl", "keywords": "honeypot", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "httpbl", "package_url": "https://pypi.org/project/httpbl/", "platform": "", "project_url": "https://pypi.org/project/httpbl/", "project_urls": { "Homepage": "https://github.com/gmr/httpbl" }, "release_url": "https://pypi.org/project/httpbl/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Project Honeypot Http:BL API Client", "version": "1.0.1" }, "last_serial": 3821160, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "61a0d5c772574087aa2b3c4f54faf71b", "sha256": "30aba1c329c01ff0da07c522a6cdd3c5f0ab1778e950055e4f37d052d0458302" }, "downloads": -1, "filename": "httpbl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "61a0d5c772574087aa2b3c4f54faf71b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2308, "upload_time": "2011-06-08T10:49:19", "url": "https://files.pythonhosted.org/packages/7b/4b/0e58125b01072b08482ce91816d24a330cf8908f285c25384514882da539/httpbl-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "dfb98b7a9a01bf340e6eeb26165cd78e", "sha256": "b4f1e2038405ed3267f3dd07104135d6c7b7e7cc37a43c7b9b56a4e645ab8da6" }, "downloads": -1, "filename": "httpbl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "dfb98b7a9a01bf340e6eeb26165cd78e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2306, "upload_time": "2011-06-08T10:56:41", "url": "https://files.pythonhosted.org/packages/0f/a8/8eb178d33f706e3edd57eb98da0fd504a5cd0c6884d658451dfc8186670a/httpbl-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2008ba0ea085f5e47a80112fc638c139", "sha256": "07ec07a6b713863806c969f2d69a88815e2fccfbb16b9efff8dc540ae14d4d36" }, "downloads": -1, "filename": "httpbl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2008ba0ea085f5e47a80112fc638c139", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2304, "upload_time": "2011-06-08T11:08:59", "url": "https://files.pythonhosted.org/packages/ef/e9/18b31b294bf457a187c4465c3dd872d36d09fc2a9d1aa5f0e253e65915b7/httpbl-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "899472a8c3d9ae076e483ff0fcee1ae1", "sha256": "e65346dee6e5af1ce099703860481965926463da5fbf4f6318ba619f02db199a" }, "downloads": -1, "filename": "httpbl-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "899472a8c3d9ae076e483ff0fcee1ae1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2810, "upload_time": "2018-04-30T15:28:07", "url": "https://files.pythonhosted.org/packages/1c/75/bb88b4522179ea06fb82bb78cd4305f2f0359fcdff00513f7e7d219b5b6c/httpbl-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ce8ca85526fa33b991fb761868acbea", "sha256": "f629ff2a6a3be35786e5f16b0bf6a2edb496318a934b1f67cc5eec3cb6b09ccc" }, "downloads": -1, "filename": "httpbl-1.0.0.tar.gz", "has_sig": false, "md5_digest": "2ce8ca85526fa33b991fb761868acbea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3802, "upload_time": "2018-04-30T15:28:08", "url": "https://files.pythonhosted.org/packages/e8/70/42e5462993af1e2f26638e4d8a096e9ebe5b934de4320d4e5c25d9973cc2/httpbl-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "bfd45e14b82fe70ae1022ce15a5dbe0a", "sha256": "85b03eb58580aa14a50e6ff2b361817c45f14754424376a419dc0899bc0566e7" }, "downloads": -1, "filename": "httpbl-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfd45e14b82fe70ae1022ce15a5dbe0a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3423, "upload_time": "2018-04-30T15:36:26", "url": "https://files.pythonhosted.org/packages/16/2c/29123034de5cf949e619893c17d69a2d7e308d136e998188cc6931d66b61/httpbl-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "340cc810a44fa7b54673c110b33e3fbb", "sha256": "f0f945ace543131702686583f349aeb0e9cfe731d9ee6e3045b4acc70e72ae10" }, "downloads": -1, "filename": "httpbl-1.0.1.tar.gz", "has_sig": false, "md5_digest": "340cc810a44fa7b54673c110b33e3fbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3980, "upload_time": "2018-04-30T15:36:27", "url": "https://files.pythonhosted.org/packages/8e/db/b612d532f58765d1308f8b72b9506ad24d6d945137aa305221f4e560085c/httpbl-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bfd45e14b82fe70ae1022ce15a5dbe0a", "sha256": "85b03eb58580aa14a50e6ff2b361817c45f14754424376a419dc0899bc0566e7" }, "downloads": -1, "filename": "httpbl-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bfd45e14b82fe70ae1022ce15a5dbe0a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3423, "upload_time": "2018-04-30T15:36:26", "url": "https://files.pythonhosted.org/packages/16/2c/29123034de5cf949e619893c17d69a2d7e308d136e998188cc6931d66b61/httpbl-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "340cc810a44fa7b54673c110b33e3fbb", "sha256": "f0f945ace543131702686583f349aeb0e9cfe731d9ee6e3045b4acc70e72ae10" }, "downloads": -1, "filename": "httpbl-1.0.1.tar.gz", "has_sig": false, "md5_digest": "340cc810a44fa7b54673c110b33e3fbb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3980, "upload_time": "2018-04-30T15:36:27", "url": "https://files.pythonhosted.org/packages/8e/db/b612d532f58765d1308f8b72b9506ad24d6d945137aa305221f4e560085c/httpbl-1.0.1.tar.gz" } ] }