Verified record · from the answer index
tldextract
librarytested · static-verifiedscore 90/100signed passport ✓published 26d ago · verified 2026-10-2434,673,058 monthly downloads
Accurately separates a URL's subdomain, domain, and public suffix, using the Public Suffix List (PSL). By default, this includes the public ICANN TLDs and their exceptions. You can optionally support the Public Suffix List's private domains
Declared tools (10)
tlddomainsubdomainurlparseextracturlparseurlsplitpublicsuffix
lib:pypi:tldextract · published by john-kurkowski · source repository