I keep writing the same stuff in different projects, so I finally decided to throw stuff into a common boilerplate and stop the cut&paste jobs.
The library can be installed using PyPi:
$ pip install python-misc-utilsOr directly from the Github repository:
$ pip install git+https://github.com/davidel/py_misc_utils.git