Comparison
django-cid vs django-log-request-id
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Correlation IDs in Django for debugging requests
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install django-cidDjango middleware and log filter to attach a unique ID to every log message generated as part of a request
Maintained. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install django-log-request-idIn short
- django-cid is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- django-log-request-id is the most used: 573.2K downloads a month, 6.2× more than django-cid.
- django-log-request-id also has the best Pythie’s Index (46).
Side by side
| Metric | django-cid | django-log-request-id |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 18 | 46 |