In Perl, there is a module, named 'Time::Duration::Parse', that lets you give it a time quantity using natural human language and converts that to seconds. Here is an example of what it does
use Time::Duration::Parse;
say parse_duration( "1 day and 2 seconds"); # I get 86402
say parse_duration( "7 seconds"); # I get 7
say parse_duration( "5m"); # I get 300
say parse_duration( "1 year and 5 months"); # I get 44496000
Is there anything similar in for Python? I really hope because this library is very useful.
Thank you