{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/7"}],"enrichment":{"capability":"urlpy parses, normalizes, and compares URLs with support for defragmentation, parameter removal, path simplification, punycode encoding, and equivalence testing.","skillfed_tags":["url-parsing","canonicalization","web-utilities"],"use_cases":["Deduplicate URLs by using equiv() to identify functionally identical URLs despite cosmetic differences","Clean tracking parameters like utm_source and session IDs from URLs before storing or comparing","Normalize URLs to canonical form for indexing, caching, or URL-based deduplication in data pipelines","Escape and punycode international domain names and paths for consistent HTTP requests","Resolve relative URL paths with .. and . segments to absolute paths for validation or comparison"],"what_it_does":"urlpy is a pure-Python URL parser and normalizer that provides a chainable API for manipulating and comparing URLs. At its core is a URL object created by parsing a string; you can then chain methods like defrag(), deparam(), escape(), punycode(), and abspath() to transform the URL into a canonical form. The package also supports URL equivalence testing via the equiv() method, which treats URLs as functionally equivalent even when they differ in case, parameter order, default ports, or punycode encoding.\n\nThe library depends on publicsuffix2 for domain suffix handling and is designed to work on both Python 2 and Python 3 using only pure Python code. It offers fine-grained control over URL components (scheme, host, port, path, query, fragment) and supports operations like removing tracking parameters, normalizing paths with .. and . resolution, and converting non-ASCII characters to percent-encoded UTF-8.","worth_installing":"Yes, if you need URL normalization and equivalence testing in a lightweight package with low install friction and permissive licensing. However, dormant maintenance (last release 2020-04-28) means you should verify compatibility with your Python version and be prepared to fork or patch if issues arise. Not suitable if you require active support or expect the package to evolve."},"id":"urlpy","links":{"html":"https://skillfed.io/packages/urlpy","md":"https://skillfed.io/packages/urlpy.md","pypi":"https://pypi.org/project/urlpy/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-04-28","license_spdx":null,"license_treatment":"permissive","name":"urlpy","python_support":"unspecified","summary":"Simple URL parsing, canonicalization and equivalence."},"popularity":{"monthly_downloads":125109,"position":11836,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5"}
