Comparison
graypy vs loki-logger-handler vs python-logging-loki
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python logging handlers that send messages in the Graylog Extended Log Format (GELF).
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install graypyHandler designed for transmitting logs to Grafana Loki in JSON format.
Low maintenance activity. Last release 18 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install loki-logger-handlerPython logging handler for Grafana Loki.
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install python-logging-lokiIn short
- graypy looks abandoned: avoid it for new projects.
- python-logging-loki looks abandoned: avoid it for new projects.
- loki-logger-handler is the most used: 207.5K downloads a month.
- loki-logger-handler also has the best Pythie’s Index (31).
- loki-logger-handler is growing fastest: downloads +26% over the last month.
Side by side
| Metric | graypy | loki-logger-handler | python-logging-loki |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 12 | Pythie’s Index: 31 | Pythie’s Index: 14 |
| Verdict | Likely abandoned | Low maintenance activity | Likely abandoned |
| Downloads / month | 385K | 207.5K | 722.9K |
| Downloads, month over month | +15% | +26% | -10% |
| GitHub stars | 264 | 57 | 172 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 140 | 7 | 43 |
| Last release | Sep 30, 2019 | May 26, 2025 | Nov 28, 2019 |
| Releases, 12 months | 0 | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 3 | 13 | 3 |
| First release | Feb 2011 | Oct 2023 | Feb 2019 |
| Python versions | 3.2 – 3.7 | 3.6 – 3.12 | 3.6 – 3.8 |
| License | non-standard | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.