FICHA · MANJARO

python-tld

Extracts the top level domain (TLD) from the URL given

  • Library
  • Dev
  • Web
  • NETWORK
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Extracts the top-level domain from a URL in Python code. It helps web tools classify URLs, group domains, or apply simple domain-based rules.

Developers use it as a URL helper library. Domain parsing alone is not a security decision, so combine it with full URL validation and Public Suffix List-aware logic when boundaries matter.

Permissions

Permissions not analysed for this source yet.