Python library for retrieving WHOIS information of domains. Provides domain registration details like registrar, creation date, expiration date, and name servers. Supports a wide range of TLDs through embedded server configurations. Current version: 1.20260326.1, requires Python >=3.9. Active development with monthly releases.
pip install whoisVerified import paths — ran on the pinned version, not inferred.
Query WHOIS information for a domain.
Use 'import whois' then call 'whois.whois(domain)'.
Always access fields using dict-like or attribute access after checking the object type.
Add delays between queries (e.g., time.sleep(1)) or use a rotating proxy list.
If you rely on custom TLD handling, verify results for .uk domains.
Ensure you installed the correct package: 'pip install whois'. Then use 'import whois' and call 'whois.whois(domain)'.
Verify the domain exists and is registered. If the issue persists, try querying with a different server or update the library to the latest version.
Use 'import whois' and call 'whois.whois()', not 'whois()' directly.
No dependency data recorded yet.