Comparison
jsonformatter vs loguru vs mo-logs vs python-json-logger
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python log in json format.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install jsonformatterPython logging made (stupidly) simple
Maintained. Last release 3 weeks ago, commits in 10 of the last 26 weeks. Weaker on release cadence.
pip install loguruMore Logs! Structured Logging and Exception Handling
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mo-logsJSON Log Formatter for the Python Logging Package
Actively maintained. Last release 4 days ago, commits in 8 of the last 26 weeks. A safe choice.
pip install python-json-loggerIn short
- jsonformatter is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- python-json-logger is the most used: 106M downloads a month.
- Maintenance is comparable: python-json-logger 76, loguru 69, mo-logs 36 on Pythie’s Index.
- loguru is growing fastest: downloads +18% over the last month.
- Safe default for a new project: python-json-logger.
Side by side
| Metric | jsonformatter | loguru | mo-logs | python-json-logger |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 69 | Pythie’s Index: 36 | Pythie’s Index: 76 |
| Verdict | Slowing down | Maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 424.4K | 89.5M | 116.4K | 106M |
| Downloads, month over month | +9% | +18% | -13% | +6% |
| GitHub stars | 46 | 24.2K | 3 | 280 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 7 | 8.6K | 5 | 0 |
| Last release | Nov 21, 2024 | Nov 11, 2026 | Mar 2, 2026 | Nov 26, 2026 |
| Releases, 12 months | 0 | 1 | 3 | 5 |
| Weeks with commits | 0 / 26 | 10 / 26 | 0 / 26 | 8 / 26 |
| Recent contributors | 4 | 22 | 1 | 23 |
| First release | Oct 2019 | Dec 2018 | Feb 2017 | Feb 2013 |
| Python versions | – | 3.5 – 3.15 | 3.8 – 3.15 | 3.10 – 3.14 |
| License | BSD-2-Clause | MIT | MPL-2.0 | BSD-2-Clause |
| 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.