logoalt Hacker News

Reaktiv Workbook – A spreadsheet where every cell is Python

26 points • by buibuibui • last Wednesday at 10:24 AM • 4 comments • view on HN

Comments

aleda145 • today at 10:46 AM

Nice! Love the dependency graph! I have a story how an excel spreadsheet ended up mispricing an asset by $50M, due to the formulas being hard to review. Crazy how much can go wrong in excel.

I'll give this a spin and check out the reaktiv framework too!

Also really fun to see others try different frontend approaches for data work. I have a SQL canvas: https://github.com/aleda145/kavla

Currently no reactivity though, so I will absolutely take a peek at how you've implemented signals.

buibuibui • last Wednesday at 11:28 AM

Hey guys! After I tried to reintroduce Signals Reactivity state management (inspired by Angular and SolidJS) to the Python community with my reaktiv package, I like to go one step further to reimagine how Python Notebooks (Jupyter Notebook, Marimo, …) could look like, if Signals gets used as the core mechanism for reactive data pipelines.

The clue here: each cell in the spreadsheet represents a signals primitive under the hood! Say hello again to Signal, Computed, Effect, Linked and Resource!

So effectively you are using the spreadsheet interface as a canvas to model your business logic around these core primitives. Each cell represents a data pipeline execution.

I am working in the signal processing field and like seeing dense data and see how parameters changes and affects the outcome. I also always liked how spreadsheets used data as part of their UI instead of writing an UI on top of the data.

Hopefully some data folks appreciate what I have done here. :)

Combining Frontend Tech with Data Stuff in Python.

Also congrats to SolidJS releasing v2!

reaktiv-workbook: https://github.com/buiapp/reaktiv-workbook

reaktiv: https://github.com/buiapp/reaktiv

➕ show 1 reply
ArcHound • today at 9:31 AM

This looks great! I love notebooks (Jupyter, Marimo) and Excel. Will give it a try.

Can I export to PDF please?