How to Install and Uninstall python38-pytimeparse Package on openSuSE Tumbleweed
Last updated: November 23,2024
Deprecated! Installation of this package may no longer be supported.
1. Install "python38-pytimeparse" package
Please follow the guidance below to install python38-pytimeparse on openSuSE Tumbleweed
$
sudo zypper refresh
Copied
$
sudo zypper install
python38-pytimeparse
Copied
2. Uninstall "python38-pytimeparse" package
Please follow the instructions below to uninstall python38-pytimeparse on openSuSE Tumbleweed:
$
sudo zypper remove
python38-pytimeparse
Copied
3. Information about the python38-pytimeparse package on openSuSE Tumbleweed
Information for package python38-pytimeparse:
---------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python38-pytimeparse
Version : 1.1.8-3.6
Arch : noarch
Vendor : openSUSE
Installed Size : 71,1 KiB
Installed : No
Status : not installed
Source package : python-pytimeparse-1.1.8-3.6.src
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.
---------------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : python38-pytimeparse
Version : 1.1.8-3.6
Arch : noarch
Vendor : openSUSE
Installed Size : 71,1 KiB
Installed : No
Status : not installed
Source package : python-pytimeparse-1.1.8-3.6.src
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.