unhumanize.py is a simple python library to convert humanized time intervals into timedeltas
https://github.com/dps/unhumanize