Comparison
lib-log-rich vs loguru vs logzero 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 18 of the last 26 weeks. A safe choice.
pip install lib-log-richPython logging made (stupidly) simple
Maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. Weaker on release cadence.
pip install loguruRobust and effective logging for Python 2 and 3
Archived. The repository is read-only: no more fixes or releases will come.
pip install logzeroStructured 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
- logzero is archived: avoid it for new projects.
- structlog is the most used: 130.9M downloads a month.
- lib-log-rich is better maintained: Pythie’s Index 82 against 67.
- structlog is growing fastest: downloads +18% 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 | loguru | logzero | structlog |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | Pythie’s Index: 69 | Pythie’s Index: 3 | Pythie’s Index: 67 |
| Verdict | Actively maintained | Maintained | Archived | Maintained |
| Downloads / month | 306.8K | 89.5M | 863.9K | 130.9M |
| Downloads, month over month | +7% | +18% | +5% | +18% |
| GitHub stars | 1 | 24.2K | 1K | 5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 22 | 8.6K | 303 | 2.9K |
| Last release | Nov 16, 2026 | Nov 11, 2026 | Mar 17, 2021 | Jun 6, 2026 |
| Releases, 12 months | 40 | 1 | 0 | 1 |
| Weeks with commits | 18 / 26 | 10 / 26 | 0 / 26 | 14 / 26 |
| Recent contributors | 1 | 22 | 7 | 11 |
| First release | Oct 2025 | Dec 2018 | Jun 2017 | Sep 2013 |
| Python versions | 3.10 – 3.15 | 3.5 – 3.15 | 3.4 – 3.9 | 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.