Hacker Newsnew | past | comments | ask | show | jobs | submit | laffra's commentslogin

This impacts Chrome, Edge, and Brave. A fix is in the works, but will take time to make it through the Chrome/Edge/Brave build trains. Up to then, most websites that rely on PyScript crash randomly with an "Aw, Snap!" message.


Also, check out PySheets (https://pysheets.app), which leverages PyScript to run Python logic in a spreadsheet UI, which is written entirely in Python. The PySheets UI uses LTK (https://github.com/pyscript/ltk), a fully client-side UI rendering library for PyScript.


I tried that exactly with PySheets by implementing the sheet in Python itself, rethinking how Jupyter Notebook would look if it treated the data science problem as a dependency graph rather than a linear storytelling document. See https://pysheets.app


https://news.ycombinator.com/item?id=40179566 - PySheets – Spreadsheet UI for Python (pysheets.app) - 287 points - 47 days ago - 74 comments


Your second proposal looks like https://pysheets.app


Felix's upcoming work is intriguing and would enable a much nicer integration of Python into the Excel ecosystem. The use of PyOdide and WASM enables execution of the Python logic on-device. The same tactic is used by PySheets and taken a bit more to the extreme by implementing the cell functions, but also the entire sheet UI and logic in Python. Check it out if you are approaching the space from the perspective of a Python programmer, rather than an Excel user. See https://pysheets.app


You can load spreadsheets into Jupyter today. With Pandas or Polars, you can import CSV or Excel sheets quite easily. PySheets is reimagining what Jupyter Notebooks would look like if you use a DAG, not a linear execution flow.

Just like CoPilot or Sourcegraph's Cody is used in VS Code, PySheets uses OpenAI to suggest the Python code to write when the sheet contains a Pandas data frame of a certain shape. The AI accelerates figuring out what APIs to call and when. I myself find Matplotlib and Pyplot highly confusing, and a coding assistant that writes my code in this niche, makes me a lot more productive. It is cool to say, "Take the dataframe in E13 and generate an orange bar graph for it," and see the code generated.


No no no. I can do grids of data with Pandas.

What I can't do (or don't know how to) is to have the data presented in an editable and interactive sheet inside Jupyter.

I've tried the widgets, and they're generally painful to use, or maintain the extensions required.


And it all runs in your own browser without needing any cloud kernels.


Anaconda is also a heavy sponsor of PyScript. The https://pyscript.com website is an online IDE for quickly trying out PyScript and building a website. If you like PythonAnywhere, you will love pyscript.com as well.


That's nice. I will do the same for PySheets, once the dust settles on the original launch.


PySheets is not based on Rust. It is 100% Python.


I replied to the rowzero guy, which is written in Rust.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: