Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laffra
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
Chromium crashes due to a Worker/WASM race condition, impacting PyScript
(issues.chromium.org)
3 points
by
laffra
2y ago
|
1 comments
2.
▲
by
laffra
2y ago
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!" me
3.
▲
by
laffra
2y ago
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/l
4.
▲
by
laffra
2y ago
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:&#
5.
▲
by
laffra
2y ago
Your second proposal looks like https://pysheets.app
6.
▲
by
laffra
2y ago
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 take
7.
▲
by
laffra
2y ago
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 Co
8.
▲
by
laffra
2y ago
And it all runs in your own browser without needing any cloud kernels.
9.
▲
by
laffra
2y ago
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.
10.
▲
by
laffra
2y ago
That's nice. I will do the same for PySheets, once the dust settles on the original launch.
11.
▲
by
laffra
2y ago
PySheets is not based on Rust. It is 100% Python.
12.
▲
by
laffra
2y ago
I am feeling pretty Okay now, indeed. I played golf today. It was on a Par3 course, so it only tested my short game. However, I scored -1, with almost a hole-in-one. I blame it on the success of PySheets :-)
13.
▲
by
laffra
2y ago
Thanks!
14.
▲
by
laffra
2y ago
If you sign up for PySheets, we give you 7 tutorials. Two explain how to use AI to import data, convert it to Dataframes, and visualize them using Matplotlib. The generated code is impressive and can help novice data scientists explore the
15.
▲
by
laffra
2y ago
PySheets has been designed to run on-prem and on GCP as well. The beta version you are looking at is just offered as a zero-install experimentation platform. We are actively talking with financial institutions, and both co-founders on the t
16.
▲
by
laffra
2y ago
You can do that today with PySheets. On the PySheets landing page, you can find a live example. The data comes directly out of a sheet that uses a service to convert metrics into charts. For example, one of the three charts shown on https:
17.
▲
by
laffra
2y ago
Most people will import external sheets using Pandas. It has numerous conversion methods for table-structured data sources, such as https://pandas.pydata.org/docs/reference/api/pandas.read_exc... .
18.
▲
by
laffra
2y ago
Lots of blood, sweat, and tears. And MicroPython!
19.
▲
by
laffra
2y ago
Any PySheets sheet runs in the PyScript context and can access the JavaScript window and DOM. Therefore, you can use the browser to access the file system: https://developer.mozilla.org/en-US/docs/Web/API/
20.
▲
by
laffra
2y ago
Try cut-and-pasting a sheet from Google Sheets to PySheets. It works quite well. At the moment, PySheets does not handle Excel functions. This is on our possible roadmaps, but we just did not get to it yet. I really only worked on PySheets
21.
▲
by
laffra
2y ago
Thanks, much appreciated.
22.
▲
by
laffra
2y ago
:-)
23.
▲
by
laffra
2y ago
Yes, I will do some videos in the coming week. I did an extended demo for the weekly PyScript FUN meeting, but it turned out it was not recorded <facepalm>.
24.
▲
by
laffra
2y ago
A major part is, in the form of Pyscript-LTK. I keep moving more of PySheets to LTK as I find reusable parts. I truly love open-source, but I am also trying to get some revenue for the months of work I spent on developing PySheets.
25.
▲
by
laffra
2y ago
Yes, my total development bill for EVERYTHING, including DigitalOcean, Google, and OpenAI is about $15.
26.
▲
by
laffra
2y ago
Rowzero is a better spreadsheet, while PySheets is a better Jupyter Notebook. Although they converge in certain aspects, their distinct target audiences set them apart. This divergence may create some overlap, but it also leaves ample room
27.
▲
by
laffra
2y ago
The PySheets server runs anywhere, for example: my laptop, Google AppEngine, and DigitalOcean. I designed it with on-prem in mind, so that PySheets could be deployed at companies that do not want to share data with external services. That s
28.
▲
by
laffra
2y ago
LTK, a Python library to create browser UIs, is part of the open-source PyScript project. See https://github.com/pyscript/ltk . Anyone planning to visit PyCon US in Pittsburgh, I will be in the Anaconda booth most of th
29.
▲
by
laffra
2y ago
I envisioned many of the use cases not to store data in the sheet, but to use PySheets as a better Jupyter Notebook: Import data, convert to Dataframes, massage, analyze, learn, and export. A good example is how I have a sheet that loads Py
30.
▲
by
laffra
2y ago
Thanks! - the author of PySheets
More ›