# google/pyringe

Debugger capable of attaching to and injecting code into python processes.

Repository: https://github.com/google/pyringe
Canonical: https://ross.abutalabs.com/products/pyringe
Language: Python
License: NOASSERTION
License Family: other
Archived: true
Last push: 2019-12-10T09:55:55+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4543, "days_push": 2458, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1629, forks 76 (observed 2026-08-28T04:05:13.887512+00:00)

## What it is
Pyringe is a Python debugger that can attach to running CPython processes, inspect their state (threads, tracebacks, locals/globals), and inject Python code into them without prior preparation. It relies on gdb under the hood and only supports Python 2.

## Use cases
- attach a debugger to a running python process
- inspect locals and globals of a live python program
- inject python code into a running process
- get tracebacks from a stuck python process
- debug python stuck in a C extension
- inspect a python process without stopping it

## When to choose
- you need to debug a live Python 2 process that cannot be stopped or restarted
- the interpreter is stuck in a C extension and PDB cannot help
- you want to inspect state of a running process without preparing it in advance

## When to avoid
- you are running Python 3 (unsupported)
- you use PyPy instead of CPython
- you need a maintained tool - the project has not been updated since 2019
- you cannot install gdb with python support and debug symbols for your Python build

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: testing, developer-tools
- domain: developer-tools
- platform: cli, python
- tags: debugger, process-attachment, code-injection, gdb, python2, live-debugging, debugging, python, linux

## Member repositories
- google/pyringe (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:13.887512+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:48:17.037310+00:00, confidence not recorded.
  - readme: https://github.com/google/pyringe (fetched 2026-08-28T04:05:13.887512+00:00, sha 4887cb8a2a24)
  - registry_pypi: https://pypi.org/pypi/pyringe/json (fetched 2026-08-29T11:20:49.631892+00:00, sha 3076adad5e12)
- Data as of 2026-08-30T08:39:29.467469+00:00.
