{"categories":[{"label":"Filters","url":"https://skillfed.io/packages/category/text-processing-filters"},{"label":"Name Service (DNS)","url":"https://skillfed.io/packages/category/internet-name-service-dns"}],"enrichment":{"capability":"Parses the Public Suffix List to extract the public and private (registrable) portions of domain names, with support for internationalized domain names and Punycode.","skillfed_tags":["domain-parsing","internationalization","security-boundary"],"use_cases":["Determine the registrable domain from a URL to enforce same-site cookie policies or security boundaries.","Extract the effective domain from a list of hostnames for analytics or logging aggregation.","Validate whether a given domain is a known public suffix (e.g., to reject registrations at the TLD level).","Handle internationalized domain names in Unicode or Punycode form without manual encoding logic.","Parse domain hierarchies to identify subdomains and their relationship to the registrable domain."],"what_it_does":"publicsuffixlist is a pure-Python parser for the Public Suffix List, a Mozilla-maintained registry of domain suffixes (like .com, .co.uk, and many others). It determines what portion of a domain name is the public suffix and what portion is privately registrable\u2014useful for cookie handling, domain validation, and security contexts where you need to know the \"effective\" domain of a given hostname.\n\nThe package ships with a built-in, daily-updated PSL file and supports both Unicode and Punycode-encoded internationalized domain names (IDNs). It has no external dependencies, installs as a wheel, and includes an updater script if you need to use a custom PSL file. The API is straightforward: call `publicsuffix()` to get the longest public suffix, `privatesuffix()` to get the shortest registrable domain, and helper methods like `is_private()` and `subdomain()` for common tasks.","worth_installing":"Yes. The package is actively maintained, has zero known vulnerabilities, installs with no friction, and solves a well-defined problem that many applications need. The copyleft license (MPL 2.0) is permissible for most use cases as long as modifications are disclosed. Install it if you need reliable public suffix parsing; the daily-updated built-in list and pure-Python implementation make it a practical choice."},"id":"publicsuffixlist","links":{"html":"https://skillfed.io/packages/publicsuffixlist","md":"https://skillfed.io/packages/publicsuffixlist.md","pypi":"https://pypi.org/project/publicsuffixlist/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-26","license_spdx":null,"license_treatment":"copyleft","name":"publicsuffixlist","python_support":"supports_current","summary":"publicsuffixlist implement"},"popularity":{"monthly_downloads":1813995,"position":3525,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.0.2.20260726"}
