hn.today

Reaktiv Workbook – A spreadsheet where every cell is Python

workbook.bui.app3 points1 comments
Screenshot of Reaktiv Workbook – A spreadsheet where every cell is Python

Reaktiv Workbook is an open-source Python tool that presents an analysis as a spreadsheet-like grid, with inputs, calculations, plots and explanatory notes visible together. Unlike a notebook, where results can depend on which cells were run and in what order, it tracks which cells read which values. Changing an input recomputes only affected cells, in dependency order; cached results are reused, and updates stop when a result is unchanged. A code-derived dependency graph shows how inputs influence outputs, while Markdown notes can include live values, equations, controls and figures so explanations stay aligned with results.

Workbooks are saved as ordinary, reviewable `.workbook.py` files and can use Python packages such as NumPy, pandas, scikit-learn and Plotly. The underlying reaktiv library distinguishes changeable inputs, computed formulas, overridable linked inputs, asynchronously loaded resources, side effects and user-triggered actions. Examples demonstrate model fitting, sales reports, interactive plots, signal processing, custom widgets and live monitoring. Users can try examples in a browser, where Python runs locally through Pyodide, or edit and serve workbooks on their own machines; the stated design does not upload data. A command-line interface supports editing, running workbooks as apps, dependency checks in CI, package sandboxes and MCP-connected AI tools, with edits undoable one step at a time.

Read on workbook.bui.app1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Big Data Is Dead

Big Data Is Dead

Big data is not the main obstacle to useful insights: hardware has kept pace with data growth, while teams still struggle to make sense of their information. The author argues that organizations should focus on making data easier to understand and use, rather than buying tools built for ever-larger datasets. (motherduck.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.