Skip to content

This is a Python module for performing WHOIS lookups on IP addresses. It can be used to obtain information about the owner of an IP address, including the organization name, contact details, and more.

License

Notifications You must be signed in to change notification settings

priv4cy/Python-IP-Whois

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

IP WHOIS Python Module

This is a Python module for performing WHOIS lookups on IP addresses. It can be used to obtain information about the owner of an IP address, including the organization name, contact details, and more.

Requirements

This module requires Python 3.x. There are no additional external dependencies.

Installation

To use this module, simply copy the ip_whois.py file into your project directory. You can import it in your Python script as follows:

import ip_whois

Usage

To use this module, call the lookup function with the IP address as the argument. The function will return the results of the WHOIS lookup as a JSON object. You can print it out or use it as needed.

import ip_whois

ip_address = '192.0.2.0'
result = ip_whois.lookup(ip_address)
print(result)

The module will automatically perform a WHOIS lookup on the given IP address and parse the response to return a JSON object containing the information.

License

GNU General Public License v3.0

About

This is a Python module for performing WHOIS lookups on IP addresses. It can be used to obtain information about the owner of an IP address, including the organization name, contact details, and more.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages