Comparison
datedelta vs moment vs pendulum vs python-dateutil
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Like datetime.timedelta, for date arithmetic.
Low maintenance activity. Last release over 4 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install datedeltaDealing with dates and times should be easy
Likely abandoned. No release or commit for years (last release over 6 years ago).
pip install momentPython datetimes made easy
Maintained. Last release 7 weeks ago, commits in 7 of the last 26 weeks. Weaker on issue handling and release cadence.
pip install pendulumExtensions to the standard Python datetime module
Maintained. Last release 4 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install python-dateutilIn short
- moment looks abandoned: avoid it for new projects.
- python-dateutil is the most used: 1.2B downloads a month, 21× more than pendulum.
- pendulum is better maintained: Pythie’s Index 63 against 50.
- datedelta is growing fastest: downloads +28% over the last month.
Side by side
| Metric | datedelta | moment | pendulum | python-dateutil |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 12 |