Comparison
ago vs humanfriendly vs humanize vs timeago
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
ago: Human readable timedeltas
Maintained. Last release 5 months ago. Weaker on release cadence.
$
pip install agoHuman friendly output for text interfaces using Python
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install humanfriendlyPython humanize utilities
Actively maintained. Last release 3 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install humanizeA very simple python library, used to format datetime with `*** time ago` statement. eg: "3 hours ago".
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install timeagoIn short
- humanfriendly looks abandoned: avoid it for new projects.
- timeago looks abandoned: avoid it for new projects.
- humanize is the most used: 51.7M downloads a month.
- humanize also has the best Pythie’s Index (85).
- Safe default for a new project: humanize.
Side by side
| Metric | ago | humanfriendly | humanize | timeago |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 64 | 19 |