# PyPhishtank Lookup
This is the client API for [Phishtank Lookup](https://github.com/Lookyloo/phishtank-lookup),
not the official phishtank API.
## Installation
```bash
pip install pyphishtanklookup
```
## Usage
### Command line
You can use the `phishtank-lookup` command to search in the database:
```bash
usage: phishtank-lookup [-h] [--url URL] (--info | --url_query url | --urls_by_cc cc | --urls_by_ip ip | --urls_by_asn asn)
Search a URL in Phishtank Lookup.
optional arguments:
-h, --help show this help message and exit
--url URL URL of the instance (defaults to https://phishtankapi.circl.lu/).
--info Info avout the instance.
--url_query url URL to search.
--urls_by_cc cc Country Code to search.
--urls_by_ip ip IP address to search.
--urls_by_asn asn ASN to search.
```
### Library
See [API Reference](https://pyphishtanklookup.readthedocs.io/en/latest/)
Raw data
{
"_id": null,
"home_page": "https://github.com/lookyloo/PyPhishtankLookup",
"name": "pyphishtanklookup",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": null,
"author": "Rapha\u00ebl Vinot",
"author_email": "raphael.vinot@circl.lu",
"download_url": "https://files.pythonhosted.org/packages/21/57/d6f5f18e4310520902819adfa2d42c0049ab8cfddf0ca4927cc6c2c34433/pyphishtanklookup-1.4.1.tar.gz",
"platform": null,
"description": "# PyPhishtank Lookup\n\nThis is the client API for [Phishtank Lookup](https://github.com/Lookyloo/phishtank-lookup),\nnot the official phishtank API.\n\n## Installation\n\n```bash\npip install pyphishtanklookup\n```\n\n## Usage\n\n### Command line\n\nYou can use the `phishtank-lookup` command to search in the database:\n\n```bash\nusage: phishtank-lookup [-h] [--url URL] (--info | --url_query url | --urls_by_cc cc | --urls_by_ip ip | --urls_by_asn asn)\n\nSearch a URL in Phishtank Lookup.\n\noptional arguments:\n -h, --help show this help message and exit\n --url URL URL of the instance (defaults to https://phishtankapi.circl.lu/).\n --info Info avout the instance.\n --url_query url URL to search.\n --urls_by_cc cc Country Code to search.\n --urls_by_ip ip IP address to search.\n --urls_by_asn asn ASN to search.\n```\n\n### Library\n\nSee [API Reference](https://pyphishtanklookup.readthedocs.io/en/latest/)\n\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Python CLI and module for PhishtankLookup",
"version": "1.4.1",
"project_urls": {
"Homepage": "https://github.com/lookyloo/PyPhishtankLookup",
"Repository": "https://github.com/lookyloo/PyPhishtankLookup"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fb090f711b690b97ab001252a31f68a78a586404fece41dfcbea5042d5cd9879",
"md5": "bf7da2a5aed3c9f9c1a72d11d59c9d91",
"sha256": "a5d177e24bc5009b82feaa3fd871ca81a0ecc6a1eb63a3d7b34e51ba726bd25e"
},
"downloads": -1,
"filename": "pyphishtanklookup-1.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bf7da2a5aed3c9f9c1a72d11d59c9d91",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 5293,
"upload_time": "2024-11-25T14:41:47",
"upload_time_iso_8601": "2024-11-25T14:41:47.778518Z",
"url": "https://files.pythonhosted.org/packages/fb/09/0f711b690b97ab001252a31f68a78a586404fece41dfcbea5042d5cd9879/pyphishtanklookup-1.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2157d6f5f18e4310520902819adfa2d42c0049ab8cfddf0ca4927cc6c2c34433",
"md5": "69d786bebe52d07b339aa179abbc9aa0",
"sha256": "2dc77f0202ee8f4925b2e2bdee9fd7048f4ecf41f5b7672eeacb060719cb8940"
},
"downloads": -1,
"filename": "pyphishtanklookup-1.4.1.tar.gz",
"has_sig": false,
"md5_digest": "69d786bebe52d07b339aa179abbc9aa0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 4201,
"upload_time": "2024-11-25T14:41:49",
"upload_time_iso_8601": "2024-11-25T14:41:49.471600Z",
"url": "https://files.pythonhosted.org/packages/21/57/d6f5f18e4310520902819adfa2d42c0049ab8cfddf0ca4927cc6c2c34433/pyphishtanklookup-1.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 14:41:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lookyloo",
"github_project": "PyPhishtankLookup",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyphishtanklookup"
}