miniblog.
← Back to all posts
Feb 12, 2014 at 12:14
Discovered furl
https://github.com/gruns/furl
, a Python library for nicely manipulating URLs (query string etc). I've reinvented it several times.
GitHub - gruns/furl: 🌐 The easiest way to parse and modify URLs in Python.
🌐 The easiest way to parse and modify URLs in Python. - gruns/furl
Wilfred Hughes
Related Posts
Aug 11, 2020 at 07:23
Today I needed a library that takes a regular expression and gives you a string that matches.
https://github.com/fent/randexp.js
fits that need nicely. Unfortunately, reading the docs has introduced me to evil patterns like /a^/ and /\1 (a)/. Yikes.
GitHub - fent/randexp.js: Create random strings that match a given regular expression.
Create random strings that match a given regular expression. - fent/randexp.js
Wilfred Hughes
Shared words: library, nicely, string Score: 44.3
Jun 19, 2013 at 09:58
Python tip of the day: add #egg=package_name to your pip requirements URLs, to save downloading every time you do `pip install`.
Wilfred Hughes
Shared words: Python, URLs, times Score: 38.3
Sep 24, 2014 at 21:59
Discovered that for integers in Python, hash(x) == x (most of the time). Seems elegant, but I was not expecting it!
Wilfred Hughes
Shared words: Discovered, Python, times Score: 35.7