Branching, tree-based provenance tracking for Python.
Record state as a branching graph of snapshots you can navigate — undo, redo, jump to any node, or branch off an earlier state. Use the pure core on its own, or the widget to give any anywidget (in marimo or Jupyter) a full history with navigation controls.
| Package | What | Docs |
|---|---|---|
trrack |
The core branching provenance model. Pure Python, no UI dependencies. | packages/trrack |
trrack-widget |
An anywidget (Trrackable) that adds provenance controls to any widget. |
packages/trrack-widget |
This is a uv workspace. See CONTRIBUTING.md for setup, the dev loop, and the release flow; agents, see AGENTS.md.
BSD-3-Clause. trrackpy is a Python sibling of trrackjs, bringing the same provenance model to the Python ecosystem.