hyperlink icon indicating copy to clipboard operation
hyperlink copied to clipboard

πŸ”— Immutable, Pythonic, correct URLs.

Results 33 hyperlink issues
Sort by recently updated
recently updated
newest added

The URL is a complicated structure with a long history. Not all implementations and standards agree on the finer details. Per discussion in #38, I need to add [a new...

Percent-encoding isn't limited by utf-8 or any other underlying encoding, and thus can represent pretty much any data. [RFC2397 takes advantage of this](https://tools.ietf.org/html/rfc2397) to jam whatever data you want, along...

help wanted

`hyperlink.register_scheme` mutates global state. That's convenient but amounts to an import time side effect. If I do this in module `a`: ```python from hyperlink import register_scheme register_scheme("blah") ``` I have...

Since there's a bunch of stuff I am proposing removing ( #24 #25 #26 ) we should probably have a way of emitting some warnings and generally tracking when things...

What is the purpose of this API being public? It doesn't seem to connect with anything else in the docs.

Hey, just FYI: hyperlink encodes query to UTF-8 before escaping (`_encode_query_part` function); this is incorrect, as query part should be encoded to page encoding before percent-escaping. See https://url.spec.whatwg.org/#url-query-string.

This fixes #153 by fixing _only_ the Hypothesis strategy for `DecodedURL`. It doesn't stop `encoded_urls` from finding `EncodedURL` values which cannot be decoded by `DecodedURL`. It only catches these values...

Hello! Just a thought from reading your docs: it’s not quite accurate to say that urlparse doesnβ€˜t have a URL type, given that it does return a named tuple, with...

I occasionally find myself making multiple `URL.add` method calls in a loop to add a list of values to the same query parameter name. If I'm not alone, perhaps it...

as I'm working to remove hypothesis from Klein, I put a URL with a query string into my test data and discovered that `encoded_urls` / `decoded_urls` don't actually produce any...