Pyodide - Like Jython for Javascript With Jupyter-like Notebooks

62 views
Skip to first unread message

Thomas Passin

unread,
Dec 15, 2019, 6:40:39 PM12/15/19
to leo-editor
I just stumbled onto Pyodide, and it's very impressive.  It produces Jupyter-like notebooks in a browser.  What's really amazing to me is that they have managed to get things so that python code can call javascript and javascript can call Python, all within a browser.  They don't have every possible Python library working, but it comes with Matplotlib, numpy, parts of Pandas, and more.  It can run Plotly.

Pyodide ias on Guthub.

See


I have no experience with it nor in-depth knowledge, since I just came across it, but it's worth a look or three .. and maybe there will be something that can translate into Leo.

Edward K. Ream

unread,
Dec 16, 2019, 10:09:40 AM12/16/19
to leo-editor
On Sun, Dec 15, 2019 at 5:40 PM Thomas Passin <tbp1...@gmail.com> wrote:
I just stumbled onto Pyodide, and it's very impressive.  It produces Jupyter-like notebooks in a browser. 

Thanks for this link.  This is an exciting time for python, now that webasm promises to open browsers to "native" apps in languages other than JS.

We've discussed these trends here recently.  For me, Almar Klein leads the way.  We'll see where it leads...

Having said all this, I rather doubt that the Jupyter project needs much help...

Edward

Thomas Passin

unread,
Dec 16, 2019, 6:22:31 PM12/16/19
to leo-editor
It occurs to me that ViewRendered2 does part of what Iodide and Jupyter do.  You can mix whole trees of nodes between code and text. rst, or md.  You can also do Python calculations and display the results in the pane.  It's actually much easier moving around and finding your place with Leo, of course.

I'm working an a QT5 version of Vewrendred2.  It's about halfway there.

Edward K. Ream

unread,
Dec 17, 2019, 6:12:32 AM12/17/19
to leo-editor
On Mon, Dec 16, 2019 at 5:22 PM Thomas Passin <tbp1...@gmail.com> wrote:

> I'm working an a QT5 version of Vewrendred2.  It's about halfway there.

Excellent.  I look forward to it.

Edward

Matt Wilkie

unread,
Dec 17, 2019, 4:17:16 PM12/17/19
to leo-editor
I just stumbled onto Pyodide, and it's very impressive.  It produces Jupyter-like notebooks in a browser. 
[...]
We've discussed these trends here recently. 

Not quite a year ago: https://groups.google.com/d/topic/leo-editor/2lSucw2JQ6k/discussion Long enough that it's a good reminder to have it mentioned again. My enthusiasm back then was not a match for the demoralization I felt at seeing the horizon recede once again. Perhaps this mid-winter will be different ;-)

-matt




Reply all
Reply to author
Forward
0 new messages