Comparison
jsonformatter vs Logbook vs loguru vs mo-logs
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 jsonformatterA logging replacement for Python
Actively maintained. Last release 4 months ago, commits in 18 of the last 26 weeks. A safe choice.
pip install logbookPython logging made (stupidly) simple
Actively maintained. Last release 3 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
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-logsIn short
- jsonformatter is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- loguru is the most used: 91.4M downloads a month, 27× more than Logbook.
- Maintenance is comparable: Logbook 72, loguru 72, mo-logs 36 on Pythie’s Index.
- loguru is growing fastest: downloads +21% over the last month.
- Safe default for a new project: loguru.
Side by side
| Metric | jsonformatter | Logbook | loguru | mo-logs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | 72 |