Comparison
JSON-log-formatter vs mo-logs vs python-json-logger vs structlog
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
JSON log formatter
Maintained. Last release 6 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install json-log-formatterMore 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-loggerStructured 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: 130.9M downloads a month.
- Maintenance is comparable: python-json-logger 76, structlog 67, JSON-log-formatter 44, mo-logs 36 on Pythie’s Index.
- structlog is growing fastest: downloads +18% over the last month.
- Safe default for a new project: structlog.
Side by side
| Metric | JSON-log-formatter | mo-logs | python-json-logger | structlog |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 44 | Pythie’s Index: 36 | Pythie’s Index: 76 | Pythie’s Index: 67 |
| Verdict | Maintained | Low maintenance activity | Actively maintained | Maintained |
| Downloads / month | 3.2M | 116.4K | 106M | 130.9M |
| Downloads, month over month | -7% | -13% | +6% | +18% |
| GitHub stars | 119 | 3 | 280 | 5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 21 | 5 | 0 | 2.9K |
| Last release | Jun 8, 2026 | Mar 2, 2026 | Nov 26, 2026 | Jun 6, 2026 |
| Releases, 12 months | 1 | 3 | 5 | 1 |
| Weeks with commits | 2 / 26 | 0 / 26 | 8 / 26 | 14 / 26 |
| Recent contributors | 9 | 1 | 23 | 11 |
| First release | Sep 2015 | Feb 2017 | Feb 2013 | Sep 2013 |
| Python versions | – | 3.8 – 3.15 | 3.10 – 3.14 | 3.10 – 3.15 |
| License | MIT | MPL-2.0 | BSD-2-Clause | 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.