Structlog

Structured logging library for Python that wraps stdlib logging with key-value context and pluggable processors.

logging-frameworksInactive
78
Hero Score
Popularity
64
Performance
85
Ecosystem
75
Maturity
100
Dev Experience
68
⭐ 4,816 stars⬇ 20.5M downloads/wkFirst release: Sep 2013Last release: Oct 2025
Async Support: YesPlugin Extensions: HighSpeed: FastDoc Quality: Very highLearning Curve: Medium

Pros

  • Structured key-value logs
  • Pluggable processor pipeline
  • Integrates with stdlib logging

Cons

  • Steeper initial learning curve
  • Configuration can feel verbose
  • Output formatting requires setup

Alternatives in logging-frameworks

Compare Python Packages with ease.