Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

tld

Extracts the top-level domain and domain parts from a URL in Python.

UtilitiesPYPI

GitHub

1. License

License from PyPI license expression.

github.com/barseghyanartur/tld

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What tld does

Extracts the top-level domain and domain parts from a URL in Python.

tld popularity

43 / 100
Gid Score, #2779 overall
4.1M
downloads a week, pypi
188
GitHub stars
1
agent projects use it
tld: downloads per weekPyPI, tld 4,229,685
tld: GitHub starsbarseghyanartur/tld 188

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How tld is used

  • tld is a dependency in 1 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 23 projects, and what it is used with below comes from all of them.
  • Projects that use it most often also use attrs (100.0%), Beautiful Soup (100.0%), lxml (100.0%).

Often used with

In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects
In 100.0% of its projects

More about tld

More in Utilities

Alternatives

tld This page

MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-laterGid 434.1M/wk

Compare tld with another tool

Get started

Install it.

pip install tld

No step-by-step start for tld yet: we have not written its hand-checked card.