Is there any package for python 2.7 which would allow me to do something like this:
>>> from datetime import timedelta
>>> one_hour == the_lib_i_want.parse("1 hour")
>>> one_hour == timedelta(hours=1)
>>> True
I would like to have powerful parsing capabilities and be able to parse rather generic timedelta representations such as: "2 minutes", "3 days", "1 year", etc.