Comparison
asgi-correlation-id vs django-cid vs django-request-id
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Middleware correlating project logs to individual requests
Maintained. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install asgi-correlation-idCorrelation 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-cidAugment each request with unique id for logging purposes
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install django-request-idIn short
- django-cid is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- django-request-id looks abandoned: avoid it for new projects.
- asgi-correlation-id is the most used: 5.3M downloads a month, 48× more than django-request-id.
- asgi-correlation-id also has the best Pythie’s Index (45).
Side by side
| Metric | asgi-correlation-id | django-cid | django-request-id |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 45 | 18 |