purl
purl copied to clipboard
Added 3 new methods to the URL class
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 someplace to improve it.
Added 3 new methods:
-
add_path_segments: To add multiple path segments to the URL at once, instead of using theadd_path_segmentmethod multiple times. -
append_query_params: The same concept - to add multiple query parameters at once. -
remove_query_params: To remove multiple query parameters at once.
I have also updated the README file to save you some work 😊 Please check my documentation, comments, and docstrings! I tried to follow the original format and syntax, but I'm pretty sure I failed at that 😅