Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Query network abuse contacts on the command-line for a given ip address on

Project Description

querycontacts - Query Abuse Contacts


pip install querycontacts

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
--version            show program's version number and exit


Show version:

$ querycontacts --version
querycontacts 1.0.0

Show abuse contact for your IP:

$ IP=$(curl
$ querycontacts $IP

Error when no abuse contact was found:

$ querycontacts
querycontacts: error: no contacts for

Library usage

>>> from querycontacts import ContactFinder
>>> qf = ContactFinder()
>>> qf.find('')
['root@localhost', 'abuse@localhost']

>>> qf.find('::ffff:7f00:2')

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(18.0 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Mar 6, 2018
(15.9 kB) Copy SHA256 Hash SHA256
Source None Mar 6, 2018

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers