SimpleWhois

This module implements WHOIS protocol and performs WHOIS requests.


Keywords
WHOIS, RFC, Network, Domain, Registar
License
xpp
Install
pip install SimpleWhois==0.0.4

Documentation

SimpleWhois logo

SimpleWhois

Description

This module implements WHOIS protocol and performs WHOIS requests.

This module is a pure python implementation and doesn't use whois executable.

Requirements

This package require:

  • python3
  • python3 Standard Library

Installation

python3 -m pip install SimpleWhois
git clone "https://github.com/mauricelambert/SimpleWhois.git"
cd "SimpleWhois"
python3 -m pip install .

Usages

Command line

SimpleWhois              # Using CLI package executable
python3 -m SimpleWhois   # Using python module
python3 SimpleWhois.pyz  # Using python executable
SimpleWhois.exe          # Using python Windows executable

SimpleWhois 8.8.8.8
SimpleWhois example.com 2001:1c00::78

Python script

from SimpleWhois import *
whois("8.8.8.8")
whois("example.com")
whois("2001:1c00::78")

Links

License

Licensed under the GPL, version 3.