A package to convert user input into datetime.timedelta objects.
PyPI: https://pypi.org/project/time-str/
Docs: https://time-str.rtfd.io/
You can install released versions of time_str from the Python Package Index via pip or a similar tool:
Stable Release: pip install time_str
Working Version: pip install git+https://github.com/BobDotCom/time_str.git
import time_str
converter = IntervalConverter('11 months 9days 1m 3 sec')
print(converter.timedelta_precise())
print(converter.datetime_precise())