Comparison
moment vs pendulum vs python-dateutil vs whenever
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Dealing 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-dateutilType-safe datetimes for Python that get DST right, in Rust or pure Python
Actively maintained. Last release 2 weeks ago, commits in 21 of the last 26 weeks. A safe choice.
pip install wheneverIn short
- moment looks abandoned: avoid it for new projects.
- python-dateutil is the most used: 1.2B downloads a month, 21× more than pendulum.
- whenever is better maintained: Pythie’s Index 83 against 50.
- whenever is growing fastest: downloads +53% over the last month.
Side by side
| Metric | moment | pendulum | python-dateutil | whenever |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | 63 |