I once thought to myself “What if there was pathlib, but for URLs, so that I don’t have to deal with urllib.parse?”, but I never got to implementing it because I couldn’t figure out how to do fragments and query strings properly.
Well, thankfully, someone else figured it out!.. Ten years ago, it seems 😅 yarl has all features I wanted, and then some, and is cool as heck!