querycontacts - Query Abuse Contacts
Installation
pip install querycontacts
Starting with version 2.0.0 support for python 2.7 is dropped. This is related to dnspython 2.0.0 also dropping support.
Command line usage
usage: querycontacts [-h] [--provider PROVIDER] [--version] ip
QueryContact - Find the Abuse contact for a IP address
positional arguments:
ip query network abuse contacts for a given ip address
optional arguments:
-h, --help show this help message and exit
--provider PROVIDER change standard network abuse contacts provider.
Defaults to abuse-contacts.abusix.zone
--version show program's version number and exit
Examples
Show version:
$ querycontacts --version
querycontacts 2.0.0
Show abuse contact for your IP:
$ IP=$(curl ipecho.net/plain)
$ querycontacts $IP
abuse@yourisp.example.com
Test response for localhost:
$ querycontacts 127.0.0.1
Abusix ContactDB Test point
Library usage
>>> from querycontacts import ContactFinder
>>> qf = ContactFinder()
>>> qf.find('127.0.0.2')
['root@localhost', 'abuse@localhost']
>>> qf.find('::ffff:7f00:2')
['root@localhost']
Metadata
Release files for querycontacts 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| querycontacts-2.0.0.tar.gz | 16.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| querycontacts-2.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 32.4 kB
Release files / querycontacts-2.0.0.tar.gz
| Download URL | querycontacts-2.0.0.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7419140f575c0b090ab976f8a039bf71447bcddc293c6aa727a60e691752199f
|
|
BLAKE2b-256 checksum How to use checksums |
221d9dd09f1245064302a25d4a14a91c439eae8c4450316fd0af41c418dbd222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / querycontacts-2.0.0-py2.py3-none-any.whl
| Download URL | querycontacts-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a7ae44ad8528f91f048599659e8ac3d770608d85902c69ffe34b49d1cc24dbe5
|
|
BLAKE2b-256 checksum How to use checksums |
e8d20e6f1451f2d1919c066a1c4f27902ab713937e801471505c4e176d41693c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|