MDC (Mapped Diagnostic Context)

JSON →
library 1.2.1 ·python
verified Apr 27, 2026

A Python implementation of Mapped Diagnostic Context (MDC) for structured logging. MDC allows you to enrich log records with contextual key-value pairs, propagate context across threads and async code, and format logs as JSON. Current version 1.2.1, released on PyPI, with irregular releases.

total hits 17
actors 7 distinct systems
last hit 1d ago AhrefsBot
Amazonbot
3
MetaBot
3
GPTBot
2
Script
1
ClaudeBot
1
Humans
2

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇮🇳 India · BD