Ross ROSS = Recommend OSS · open-source software intelligence for agents

hynek/structlog

Simple, powerful, and fast logging for Python. observed · 2026-08-28

github.com/hynek/structlog · homepage · Python · NOASSERTION (other) observed · 2026-08-28

Health v2 · maintenance only

89/100

  • Activity 96
  • Release rhythm 75
  • Longevity 100

Flags: no_license

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 54
  • age_days: 4768
  • days_rel: 88
  • days_push: 27
  • n_releases_24m: 6

Full methodology

Adoption not part of the score

4927 stars · 294 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

structlog is a production-ready structured logging library for Python that treats log entries as dictionaries processed through composable functions. It supports JSON, logfmt, and pretty console output, and can integrate with or replace the standard library's logging module.

Use cases

  • add structured logging to a python application
  • output logs as for log aggregation
  • make python logs machine-parseable
  • pretty colored console logs during development
  • integrate structured logs with stdlib logging
  • correlate log entries with key-value context

When to choose

  • you want key-value structured logs in python with minimal effort
  • you need fast, flexible log formatting including or logfmt
  • you want to gradually adopt structured logging alongside existing logging setups

When to avoid

  • you only need trivial print-style debugging
  • your platform is not python
  • you are locked into a logging framework structlog cannot integrate with

Facets

library · maturity stable

logging serialization developer-tools backend monitoring python cross-platform structured-logging -logging logfmt observability

2 sources

Member repositories

RepositoryRoleHealth v2
hynek/structlogmain89

For agents

markdown · JSON · MCP: product_card(name="hynek/structlog")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem