lmacken/pyrasite
Inject code into running Python processes observed · 2026-08-28
Health v2 · maintenance only
39/100
- Activity 15
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: n/a
- age_days: 5471
- days_rel: n/a
- days_push: 513
- n_releases_24m: 0
Adoption not part of the score
2873 stars · 218 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Pyrasite is a Python library and CLI tool for injecting arbitrary code into running Python processes using gdb. It supports cross-version injection (Python 2 and 3) and includes an optional GUI.
Use cases
- inject code into a running Python process
- debug a live Python process without restarting it
- inspect runtime state of a hung Python application
- run code in a Python 2 process from a Python 3 host
- attach to a production Python process for diagnostics
When to choose
- you need to introspect or modify a running Python process at runtime
- you want cross-version Python injection via gdb
- you're debugging a process you cannot restart
When to avoid
- you need a general-purpose debugger with breakpoints and stepping
- gdb is unavailable or cannot be codesigned on your system
- you only need logging or metrics rather than code injection
Facets
library · maturity maintenance
developer-tools developer-tools python cli code-injection gdb runtime-debugging python-processes debugging linux macos
1 source
- readme: https://github.com/lmacken/pyrasite · fetched 2026-08-28 · 95a3e560ea83
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| lmacken/pyrasite | main | 39 |
For agents
markdown · JSON · MCP: product_card(name="lmacken/pyrasite")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem