Comparison
lib-log-rich vs logfmter vs loguru vs structlog
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Rich-powered logging runtime with contextual metadata, multi-sink fan-out, and ring-buffer dumps
Actively maintained. Last release 2 weeks ago, commits in 17 of the last 26 weeks. A safe choice.
pip install lib-log-richA Python package which supports global logfmt formatted logging.
Low maintenance activity. Last release 9 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install logfmterPython logging made (stupidly) simple
Actively maintained. Last release 3 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install loguruStructured Logging for Python
Maintained. Last release 6 months ago, commits in 14 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install structlogIn short
- structlog is the most used: 129.5M downloads a month.
- lib-log-rich is better maintained: Pythie’s Index 82 against 67.
- loguru is growing fastest: downloads +21% over the last month.
- lib-log-rich is the newcomer: first released Oct 2025.
- Safe default for a new project: structlog, or lib-log-rich if active maintenance matters most.
Side by side
| Metric | lib-log-rich | logfmter | loguru | structlog |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 38 | Pythie’s Index: 72 | Pythie’s Index: 67 |
| Verdict | Actively maintained | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 308.2K | 120.6K | 91.4M | 129.5M |
| Downloads, month over month | +13% | +0% | +21% | +18% |
| GitHub stars | 1 | 109 | 24.2K | 5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 8 | 8.6K | 2.9K |
| Last release | Nov 16, 2026 | Mar 11, 2026 | Nov 11, 2026 | Jun 6, 2026 |
| Releases, 12 months | 40 | 1 | 1 | 1 |
| Weeks with commits | 17 / 26 | 1 / 26 | 11 / 26 | 14 / 26 |
| Recent contributors | 1 | 3 | 22 | 11 |
| First release | Oct 2025 | Feb 2022 | Dec 2018 | Sep 2013 |
| Python versions | 3.10 – 3.15 | – | 3.5 – 3.15 | 3.10 – 3.15 |
| License | MIT | MIT | MIT | MIT OR Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.