/whoislite

WhoisLite is a fast, pure Python library for querying WHOIS information for domain names across hundreds of TLDs.

Primary LanguagePythonMIT LicenseMIT

whoislite

WhoisLite is a fast, pure Python library for querying WHOIS information for domain names across hundreds of TLDs.

Install

pip install whoislite

Example

from whoislite.utils import WhoisLite

domain = "google.com"
w = WhoisLite(domain)
w.lookup()
w.print_summary()
print(w.to_json())