{"categories":[{"label":"Internet","url":"https://skillfed.io/packages/category/internet/5"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/7"},{"label":"Networking","url":"https://skillfed.io/packages/category/system-networking/2"},{"label":"Name Service (DNS)","url":"https://skillfed.io/packages/category/internet-name-service-dns"}],"enrichment":{"capability":"Parses domain names into their constituent parts (subdomain, domain, top-level domain) by working backwards from the TLD, with support for multi-part suffixes like .co.uk.","skillfed_tags":["domain-parsing","tld-extraction"],"use_cases":["Validate email domains by checking whether they contain subdomains, rejecting registrations from subdomain addresses.","Extract the registrable domain from a URL to group analytics or logs by the actual domain owner rather than subdomains.","Identify and separate multi-part TLDs (e.g., .co.uk, .com.au) correctly when building domain-based access controls or filtering.","Customize TLD handling for internal or private domain suffixes by adding or removing entries from the parser.","Parse domains from user input in web scraping or security scanning tools to normalize and categorize targets."],"what_it_does":"TLDParse is a domain name parser that breaks a domain into its three core parts: subdomain, domain name, and top-level domain (suffix). It uses the Mozilla public suffix list to correctly handle multi-part TLDs like .co.uk, and works by parsing from right to left (TLD first) rather than left to right. The library has no external runtime dependencies and supports Python 3.3 through 3.10 as well as PyPy.\n\nYou instantiate a DomainResult object with a domain string (with or without a URL scheme or path) and access properties like `.tld`, `.domain`, `.subdomain`, and `.fqdn` (fully qualified domain name). You can also customize parsing behavior by passing a `private` parameter to control whether certain domains like github.io are treated as registrable domains or private suffixes, or by providing your own parser implementation.","worth_installing":"Yes, if you need reliable domain parsing with multi-part TLD support and can tolerate dormant maintenance. The package is dependency-free, permissively licensed, and marked stable. However, do not use it if you require active bug fixes or expect frequent TLD updates\u2014the repository shows minimal ongoing support."},"id":"tldparse","links":{"html":"https://skillfed.io/packages/tldparse","md":"https://skillfed.io/packages/tldparse.md","pypi":"https://pypi.org/project/tldparse/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-10-25","license_spdx":null,"license_treatment":"permissive","name":"tldparse","python_support":"unspecified","summary":"Parse a given domain and split it into its subdomain, domain and top-level domain parts."},"popularity":{"monthly_downloads":100950,"position":12966,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.5"}
