tldextract

PyPI v5.3.1

6,356,834 weekly downloads · 4 Dependencies

Source data as of:

Summary

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 as well.

Install pip install tldextract

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 6,356,834 Source: PyPI (Python Package Index)
Releases 65 Last release: 2025-12-28 Source: PyPI (Python Package Index)
Dependencies 4 Source: PyPI (Python Package Index)

Description

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 as well.

Registry-supplied description, cleaned to plain text. Source: PyPI (Python Package Index).

Package details

Package
tldextract
Registry
PyPI
Version
5.3.1
Weekly downloads
6,356,834 (weekly)
Dependencies
4: idna, requests, requests-file, filelock
Releases
65
Last release
2025-12-28
First published
2011-02-28
Keywords
tld, domain, subdomain, url, parse, extract, urlparse, urlsplit, public, suffix, list, publicsuffix
Repository
https://github.com/john-kurkowski/tldextract

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 16.9 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 25.3 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 62.8 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources