Comparison
datetype vs moment vs pendulum vs whenever
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A type wrapper for the standard library `datetime` that supplies stricter checks, such as making 'datetime' not substitutable for 'date', and separating out Naive and Aware datetimes into separate, mutually-incompatible types.
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install datetypeDealing 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 6 of the last 26 weeks. Weaker on issue handling and release cadence.
pip install pendulumType-safe datetimes for Python that get DST right, in Rust or pure Python
Actively maintained. Last release 2 weeks ago, commits in 20 of the last 26 weeks. A safe choice.
pip install wheneverIn short
- moment looks abandoned: avoid it for new projects.
- pendulum is the most used: 58M downloads a month, 6.3× more than whenever.
- whenever is better maintained: Pythie’s Index 83 against 61.
- whenever is growing fastest: downloads +61% over the last month.
- Safe default for a new project: pendulum, or whenever if active maintenance matters most.