purl
purl copied to clipboard
A simple, immutable URL class with a clean API for interrogation and manipulation.
First of all, I love this project! It saved me time on my projects, a couple of times already. However, while using it I thought to myself that there is...
Hi there, I think I just ran into the "reverse" issue of #22 – readability of URLs with (now quoted) `/` in path seqments for e.g. logging and other text...
https://anaconda.org/hargup/purl (or something similar) needs some ❤️
Here's the helper function I wrote: ``` from purl import URL from urllib import parse def resolve(base, url): """ Resolves a target URL relative to a base URL in a...