Path to this page:
./
time/py-pytimeparse,
Time expression parser
Branch: CURRENT,
Version: 1.1.8nb1,
Package name: py310-pytimeparse-1.1.8nb1,
Maintainer: pkgsrc-usersA 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
...
Required to run:[
lang/python310]
Master sites:
Filesize: 9.183 KB
Version history: (Expand)
- (2023-02-09) Updated to version: py310-pytimeparse-1.1.8nb1
- (2022-01-05) Updated to version: py39-pytimeparse-1.1.8nb1
- (2021-10-07) Updated to version: py39-pytimeparse-1.1.8
- (2019-07-07) Package added to pkgsrc.se, version py37-pytimeparse-1.1.8 (created)
CVS history: (Expand)