Discovered furl https://github.com/gruns/furl, a Python library for nicely manipulating URLs (query string etc). I've reinvented it several times.
miniblog.
Related Posts
Terminad is a really interesting approach to rendering markdown in the CLI. It deliberately doesn't render links, so you can always see both the link text and the URL.
In a browser you have hover to see URLs, but not necessarily in a terminal.
I'm trying to improve the readability of the --help output from difftastic.
I'm experimenting with making example invocations bold, so they are easier to distinguish from the text.
I'm also trying OSC 8 to make my URLs clickable.
Opinions welcome :)
On thinking of books like software, treating them as evolving artifacts, and URLs versus paper book publishers:

