bterwijn/memory_graph
Teaching tool and debugging aid in context of references, mutable data types, and shallow and deep copy. observed · 2026-09-01
Health v2 · maintenance only
74/100
- Activity 100
- Release rhythm 35
- Longevity 85
Flags: no_releases
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: 1202
- days_rel: n/a
- days_push: 2
- n_releases_24m: 0
Adoption not part of the score
1063 stars · 76 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
memory_graph is a Python library that visualizes data structures, references, mutability, and the call stack as graphs to teach Python's memory model and aid debugging. It renders graphs via Graphviz to screen or files and includes a web-based debugger.
Use cases
- visualize python data structures as graphs
- teach students about references and mutable data types
- understand shallow vs deep copy behavior
- debug aliasing bugs where two variables share a list
- visualize the call stack and variable scope
- learn the mental model of python memory
- render data structure diagrams to pdf or png
When to choose
- teaching or learning python references, mutability, and copying
- debugging confusing data structure sharing or aliasing issues
- explaining program state and call stacks visually
When to avoid
- you need production profiling or performance monitoring rather than educational visualization
- you cannot install Graphviz
- you need visualization for languages other than python
Facets
library · maturity active
data-visualization developer-tools education developer-tools data-visualization programming-languages python cross-platform debugging-aid teaching-tool graphviz memory-model references mutability call-stack-visualization debugging
2 sources
- readme: https://github.com/bterwijn/memory_graph · fetched 2026-09-01 · ae9337f2565b
- registry_pypi: https://pypi.org/pypi/memory_graph/json · fetched 2026-08-29 · 93ed2f2af895
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bterwijn/memory_graph | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="bterwijn/memory_graph")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem