Comparison
durationpy vs durations vs pytimeparse 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 durationpyUNKNOWN
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install durationsTime expression parser
Maintained. Last release 6 weeks ago, commits in 6 of the last 26 weeks. Weaker on release cadence and security practices.
pip install pytimeparseTime 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
- durations looks abandoned: avoid it for new projects.
- 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, 2.4× more than pytimeparse.
- pytimeparse is better maintained: Pythie’s Index 62 against 51.
Side by side
| Metric | durationpy | durations | pytimeparse | pytimeparse2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 51 | 12 |