Comparison
datetype vs moment 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 momentType-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.
- whenever is the most used: 8.9M downloads a month, 76× more than moment.
- whenever also has the best Pythie’s Index (83).
- whenever is growing fastest: downloads +53% over the last month.
- Safe default for a new project: whenever.
Side by side
| Metric | datetype | moment | whenever |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 38 | Pythie’s Index: 12 | Pythie’s Index: 83 |
| Verdict | Low maintenance activity | Likely abandoned | Actively maintained |
| Downloads / month | 75.7K | 117.6K | 8.9M |
| Downloads, month over month | -8% | -10% | +53% |
| GitHub stars | 98 | 742 | 2.4K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 5 | 12 | 48 |
| Last release | Dec 1, 2025 | Nov 27, 2020 | Nov 14, 2026 |
| Releases, 12 months | 1 | 0 | 27 |
| Weeks with commits | 0 / 26 | 0 / 26 | 21 / 26 |
| Recent contributors | 8 | 4 | 1 |
| First release | May 2022 | Dec 2012 | Nov 2023 |
| Python versions | 3.7 – 3.14 | 3.6 – 3.7 | 3.10 – 3.15 |
| License | Apache-2.0 OR MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.