{ "info": { "author": "Tek", "author_email": "tek@randhome.io", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Pysafebrowsing\n\nLimited python3 library for [Google Safe Browsing API v4](https://developers.google.com/safe-browsing/v4/). For now, only the online lookup is developed. Check [here](https://developers.google.com/safe-browsing/v4/get-started) to get am API key.\n\nTo install, you can just install it from [pypi](https://pypi.org/project/pysafebrowsing) with `pip install pysafebrowsing`, or download the code with `git clone https://github.com/Te-k/pysafebrowsing.git` and then `pip install .`\n\n## Library\n\n```python\nfrom pysafebrowsing import SafeBrowsing\ns = SafeBrowsing(KEY)\nr = s.lookup_urls(['http://malware.testing.google.test/testing/malware/'])\nprint(r)\n> {'http://malware.testing.google.test/testing/malware/': {'platforms': ['ANY_PLATFORM'], 'threats': ['MALWARE', 'SOCIAL_ENGINEERING'], 'malicious': True, 'cache': '300s'}}\n```\n\n## CLI\n\n```\n$ safebrowsing config --key dfdsfdsfds\nIn /home/user/.config/safebrowsing:\n[SafeBrowsing]\nkey = dfdsfdsfds\n\n$ safebrowsing url http://malware.testing.google.test/testing/malware/\nMalicious: Yes\nPlatforms: ANY_PLATFORM\nThreats: SOCIAL_ENGINEERING, MALWARE\n\n$ safebrowsing url https://github.com/\nMalicious: No\n\n$ safebrowsing file testlist.txt\nhttp://malware.testing.google.test/testing/malware/ Malicious\nhttp://twitter.com/ Ok\nhttps://github.com/ Ok\nhttp://www.google.com/ Ok\nhttp://www.yahoo.com/ Ok\nhttp://ianfette.org Malicious\n```\n\n## License\n\nThis code is published under MIT license: do whatever you want with it, but don't blame me if it fails ;)\n\n\n", "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/Te-k/pysafebrowsing", "keywords": "security", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pysafebrowsing", "package_url": "https://pypi.org/project/pysafebrowsing/", "platform": "", "project_url": "https://pypi.org/project/pysafebrowsing/", "project_urls": { "Homepage": "https://github.com/Te-k/pysafebrowsing" }, "release_url": "https://pypi.org/project/pysafebrowsing/0.1.1/", "requires_dist": [ "requests", "configparser" ], "requires_python": "", "summary": "Google Safe Browsing API python wrapper", "version": "0.1.1" }, "last_serial": 4762147, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "97f84a0c6595c2705789185effca0176", "sha256": "dbf8f7eb6fa61bf49d6f0437ca763cac47100d6d57c29c29c569e9aa2eb72574" }, "downloads": -1, "filename": "pysafebrowsing-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "97f84a0c6595c2705789185effca0176", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5707, "upload_time": "2019-01-31T03:08:11", "url": "https://files.pythonhosted.org/packages/17/29/9a7c0d44f6d5d612c16fe5ea095ba3d6f9c6592299a09980b70b49b2cbba/pysafebrowsing-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccffc087786e05444fe85da1e6cb3c15", "sha256": "83be8931695a56d7e8f5d419232feb3c8b459ee240af8b282c013797f01f01eb" }, "downloads": -1, "filename": "pysafebrowsing-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ccffc087786e05444fe85da1e6cb3c15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3949, "upload_time": "2019-01-31T03:08:14", "url": "https://files.pythonhosted.org/packages/1e/52/434e92a6b74df683a866082bb34fc008ed8e234fc621904434c3ec85b525/pysafebrowsing-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97f84a0c6595c2705789185effca0176", "sha256": "dbf8f7eb6fa61bf49d6f0437ca763cac47100d6d57c29c29c569e9aa2eb72574" }, "downloads": -1, "filename": "pysafebrowsing-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "97f84a0c6595c2705789185effca0176", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5707, "upload_time": "2019-01-31T03:08:11", "url": "https://files.pythonhosted.org/packages/17/29/9a7c0d44f6d5d612c16fe5ea095ba3d6f9c6592299a09980b70b49b2cbba/pysafebrowsing-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ccffc087786e05444fe85da1e6cb3c15", "sha256": "83be8931695a56d7e8f5d419232feb3c8b459ee240af8b282c013797f01f01eb" }, "downloads": -1, "filename": "pysafebrowsing-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ccffc087786e05444fe85da1e6cb3c15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3949, "upload_time": "2019-01-31T03:08:14", "url": "https://files.pythonhosted.org/packages/1e/52/434e92a6b74df683a866082bb34fc008ed8e234fc621904434c3ec85b525/pysafebrowsing-0.1.1.tar.gz" } ] }