Announce : TimeDuration 0.1a released

Andrew Lee fiacre.patrick at
Fri Apr 18 09:06:10 CEST 2008

This is a pure python module for parsing time interval strings,
normalizing, comparing and ordering time intervals.

This module is still in alpha phase.

It handles string like :

"1 hour, 15 minutes and 23.2 seconds"
"1h 15min 23.2sec"

Output from *nix uptime or time commands :

"15 days, 23:04"

It handles comparisons and sorting of TimeDuration objects.

It normalizes time interval strings, e.g. :

"5 d, 27 h, 75 m 120 s"

will normalize to

"6 D 04:17:0.00"


* Catch garbled input strings that might confuse the parser.
* Create an iterable class to handle slices, min, max, sums, average,
mean and stddev
* More testing


Author :

Andrew Lee (fiacre.patrick  - at -

More information about the Python-announce-list mailing list