← Sun, Nov 22 digest

Reaktiv Workbook – A spreadsheet where every cell is Python

read article ↗ hn thread ↗

Reaktiv Workbook is a new open-source tool that combines a spreadsheet interface with a Python runtime, using a signals library to execute cells reactively.

summary is enough The landing page clearly explains the core concept and features, making a quick read sufficient unless you want to immediately test the CLI tool.

summary

Reaktiv Workbook is a spreadsheet-style interface where each cell functions as a Python snippet powered by a reactive signals library. Changes to input cells automatically trigger downstream updates in dependency order without stale variables or manual execution commands. Workbooks are saved as plain Python files supporting standard libraries like NumPy and Pandas, and can be exported as interactive web apps or modified via AI coding assistants. The creator built the tool to merge the density and layout of spreadsheets with the flexibility of Python code.

key points

  1. Every cell in the spreadsheet maps to a reactive signal or computed expression, ensuring computations run strictly in dependency order.
  2. Workbooks are stored as standard Python files that can be run, tested in continuous integration, or edited using a command-line interface.
  3. The platform supports integration with AI coding assistants through the Model Context Protocol and runs locally via Pyodide or standard Python environments.

who should read it

Python developers and data scientists looking for reactive, spreadsheet-like interfaces for modeling and analysis.

discussion warm

consensus

Commenters are generally enthusiastic about bridging the gap between spreadsheets and Python notebooks, praising the clean dependency graph and visual layout.

pushback

One user cautions that Python's inherent mutability can undermine the no-hidden-state claim, and notes functional similarities to the existing tool Marimo.

best comment by lmc ↗

This looks nice, but i think you should take a closer look at marimo before you decide where to take it next. E.g., Grid layout: https://docs.marimo.io/guides/apps/#grid-layout

Dependency views: https://docs.marimo.io/guides/editor_features/dataflow/

It also requires no additional syntax for reactive features, which is nice for non-devs.

The most common issue with these kind of reactive environments, especially python ones, is the behaviour around long-running calculations.

Last thing, the 'no hidden state' claim can fall down in pratice esp with python's inherent mutability, and e.g. …

It compares the project to Marimo and highlights potential pitfalls with Python mutability and long-running calculations.

Generated by an LLM from the article and thread. Check the sources before relying on it.