Comparison
daiquiri vs logfmter vs loguru vs structlog
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to configure Python logging easily
Maintained. Last release 15 months ago, commits in 25 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install daiquiriA 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.
- Maintenance is comparable: loguru 72, structlog 67, daiquiri 55, logfmter 38 on Pythie’s Index.
- loguru is growing fastest: downloads +21% over the last month.
- Safe default for a new project: structlog.
Side by side
| Metric | daiquiri | logfmter | loguru | structlog |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 55 | Pythie’s Index: 38 | Pythie’s Index: 72 | Pythie’s Index: 67 |
| Verdict | Maintained | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 343.2K | 120.6K | 91.4M | 129.5M |
| Downloads, month over month | -13% | +0% | +21% | +18% |
| GitHub stars | 342 | 109 | 24.2K | 5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 56 | 8 | 8.6K | 2.9K |
| Last release | Sep 4, 2025 | Mar 11, 2026 | Nov 11, 2026 | Jun 6, 2026 |
| Releases, 12 months | 0 | 1 | 1 | 1 |
| Weeks with commits | 25 / 26 | 1 / 26 | 11 / 26 | 14 / 26 |
| Recent contributors | 3 | 3 | 22 | 11 |
| First release | May 2017 | Feb 2022 | Dec 2018 | Sep 2013 |
| Python versions | 3.10 – 3.13 | – | 3.5 – 3.15 | 3.10 – 3.15 |
| License | Apache-2.0 | 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.