# tld — card for AI agents

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

Category: Utilities · PyPI package `tld` · latest version 0.13.2 (checked 2026-11-01)
Install: `pip install tld`
License: MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-or-later (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 43.0 (#2779 of all tools, 301 of 408 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 4,059,004 (as of 2026-11-24), +17.0% over 4 weeks
- GitHub stars: 188 (as of 2026-11-24)
- Last push: 2026-09-26

## Often used with
attrs 100.0%, Beautiful Soup 100.0%, lxml 100.0%, PyYAML 100.0%, Requests 100.0%, tqdm 100.0%

## Links
- AgentGid page: https://agentgid.com/tools/tld/
- Repository: https://github.com/barseghyanartur/tld

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
