urlstd#
urlstd is a Python implementation of the WHATWG URL Living Standard.
This library provides URL class, URLSearchParams class, and low-level APIs that comply with the URL specification.
Supported APIs#
Low-level APIs
percent-decode a string:
urlstd.parse.string_percent_decode()
percent-encode after encoding:
urlstd.parse.string_percent_encode()
application/x-www-form-urlencoded parser:
urlstd.parse.parse_qsl()
application/x-www-form-urlencoded serializer:
urlstd.parse.urlencode()
Validation
Hosts (domains and IP addresses):
urlstd.parse.HostValidator