Path to this page:
./
time/py-pytimeparse,
Time expression parser
Branch: CURRENT,
Version: 1.1.10,
Package name: py313-pytimeparse-1.1.10,
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: 11.341 KB
Version history: (Expand)
- (2026-10-20) Updated to version: py313-pytimeparse-1.1.10
- (2026-10-07) Updated to version: py313-pytimeparse-1.1.9
- (2026-09-03) Package has been reborn
- (2026-09-03) Package deleted from pkgsrc
- (2025-10-24) Package has been reborn
- (2025-10-24) Updated to version: py313-pytimeparse-1.1.8nb1
CVS history: (Expand)
2026-10-20 06:52:14 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-pytimeparse: updated to 1.1.10
1.1.10
Handle multiline input during sign parsing
Sum fractional units exactly so whole-second results are not truncated
add type hints to make "mypy" happy about "import pytimeparse"
Useless shebangs
|
2026-10-07 12:30:47 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-pytimeparse: updated to 1.1.9
1.1.9
Py3 only
slurm day clock
remove pipe character from sign regex
remove codecs.open
guard against malformed floats and fix interpret-as-minutes bug
|
| 2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
| 2021-10-26 13:24:47 by Nia Alarie | Files touched by this commit (263) |
Log message:
time: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
|
| 2021-10-07 17:04:23 by Nia Alarie | Files touched by this commit (263) |
Log message:
time: Remove SHA1 hashes for distfiles
|
| 2020-10-06 10:37:23 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-pytimeparse: cleanup
|
| 2019-11-02 17:28:42 by Roland Illig | Files touched by this commit (40) |
Log message:
time: align variable assignments
pkglint -Wall -F --only aligned -r
No manual corrections.
|
| 2019-07-07 12:14:44 by Benny Siegert | Files touched by this commit (4) |
Log message:
Add a package for py-pytimeparse-1.1.8.
PR pkg/54340.
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
...
|