./python/py-pytimeparse, Parse various kinds of time expressions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.8, Package name: py37-pytimeparse-1.1.8, Maintainer: pkgsrc-users

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
...


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: deccf1128b05e4c54bd465bdd0dca7db03dbfa11
RMD160: e56358a299e95b6593e39f2b57013a4157a412b0
Filesize: 9.183 KB

Version history: (Expand)


CVS history: (Expand)


   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
    ...