Metadata-Version: 2.3
Name: pyphishtanklookup
Version: 1.4.3
Summary: Python CLI and module for PhishtankLookup
License: BSD-3-Clause
Author: Raphaël Vinot
Author-email: raphael.vinot@circl.lu
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Provides-Extra: docs
Provides-Extra: lookyloo-example
Requires-Dist: Sphinx (>=8.2.3) ; (python_version >= "3.11") and (extra == "docs")
Requires-Dist: pylookyloo (>=1.32.1) ; extra == "lookyloo-example"
Requires-Dist: requests (>=2.32.5)
Project-URL: Documentation, https://pyphishtanklookup.readthedocs.io/
Project-URL: Repository, https://github.com/lookyloo/PyPhishtankLookup
Project-URL: issues, https://github.com/lookyloo/PyPhishtankLookup/issues
Description-Content-Type: text/markdown

# 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/)

