Comparison
durationpy vs pytimeparse2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Module for converting between datetime.timedelta and Go's Duration strings.
Maintained. Last release 6 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install durationpyTime expression parser.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install pytimeparse2In short
- pytimeparse2 is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- durationpy is the most used: 67M downloads a month, 23× more than pytimeparse2.
- durationpy also has the best Pythie’s Index (51).
Side by side
| Metric | durationpy | pytimeparse2 |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | 26 |