Comparison
Logbook 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.
A 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
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
- python-json-logger is the most used: 106M downloads a month.
- Maintenance is comparable: python-json-logger 76, Logbook 71, 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 | Logbook | loguru | mo-logs | python-json-logger |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 71 | 69 |