gaogaotiantian/dowhen
An intuitive and low-overhead instrumentation tool for Python observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 30
- Release rhythm 8
- Longevity 32
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 451
- days_rel: 433
- days_push: 421
- n_releases_24m: 1
Adoption not part of the score
1205 stars · 41 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dowhen is a Python library for intuitive, low-overhead code instrumentation (monkeypatching). It lets you trigger callbacks—executing code, setting pdb breakpoints, or jumping to lines—at specific points in your own code, third-party libraries, or the stdlib.
Use cases
- inject debug code into third-party library functions without editing them
- set a pdb breakpoint at a specific line of a library function
- change variable values at runtime to alter library behavior
- monitor when certain lines of code execute in production
- skip a line of code temporarily to test behavior
- patch stdlib functions for debugging without forking
When to choose
- you need to debug or alter behavior of code you can't easily edit
- you want lightweight runtime instrumentation with minimal overhead
- you prefer declarative trigger/callback hooks over manual monkeypatching
When to avoid
- you need permanent source-level changes rather than runtime hooks
- you're instrumenting non-Python code
- you need production-grade observability with metrics and dashboards rather than ad-hoc instrumentation
Facets
library · maturity active
developer-tools testing developer-tools python cross-platform instrumentation monkeypatching debugging breakpoints code-injection low-overhead python
2 sources
- readme: https://github.com/gaogaotiantian/dowhen · fetched 2026-08-28 · 2c841669bc3f
- registry_pypi: https://pypi.org/pypi/dowhen/json · fetched 2026-08-29 · 99d912dcf107
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gaogaotiantian/dowhen | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="gaogaotiantian/dowhen")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem