Name : python3-pytimeparse
| |
Version : 1.1.8
| Vendor : openSUSE
|
Release : lp152.3.2
| Date : 2019-11-07 22:35:33
|
Group : Development/Languages/Python
| Source RPM : python-pytimeparse-1.1.8-lp152.3.2.src.rpm
|
Size : 0.07 MB
| |
Packager : https://bugs_opensuse_org
| |
Summary : Time expression parser
|
Description :
A small Python library to parse various kinds of time expressions, inspired by a StackOverflow question.
The single function pytimeparse.timeparse.timeparse defined in the library (also available as pytimeparse.parse) parses time expressions like the following:
* 32m * 2h32m * 3d2h32m * 1w3d2h32m * 1w 3d 2h 32m * 1 w 3 d 2 h 32 m * ...
It returns the time as a number of seconds (an integer value if possible, otherwise a floating-point number)
A number of seconds can be converted back into a string using the datetime module in the standard library.
|
RPM found in directory: /vol/rzm3/linux-opensuse/ports/aarch64/distribution/leap/15.2/repo/oss/noarch |