Live data from Hacker News

Run Python in the Browser Effortlessly

kai.bi

1–10 of 19 posts

Re: Run Python in the Browser Effortlessly

#5

Wake me up when it supports numpy&scipy.

From the article:

> Many packages with C extensions have also been ported for use with Pyodide. These include common packages like regex, PyYAML, lxml, and scientific Python packages including NumPy, pandas, SciPy, Matplotlib, and scikit-learn

Re: Run Python in the Browser Effortlessly

#8
> However, since MarkItDown is a Python program, it might be challenging for non-technical users to use.

Am I alone in thinking it is perfectly acceptable to ask a non-technical user to open a command line and type something? It's not rocket science. You just follow simple directions. Click start, search for powershell, type this into the Window that pops up, hit enter. [0] If you can make boxed mac and cheese, you can type a command into a command prompt.

It was not that long ago that even for Windows software you were expected to occasionally visit the DOS prompt (type d:\, type setup.exe was a pretty common pattern in instruction manuals).

[0] Of course, the directions currently on the MarkItDown github page are pretty inadequate, but I'm talking about the general case.

Re: Run Python in the Browser Effortlessly

#9
post #5

Wake me up when it supports numpy&scipy.

From the article: > Many packages with C extensions have also been ported for use with Pyodide. These include common packages like regex, PyYAML, lxml, and scientific Python packages including NumPy, pandas, SciPy, Matplotlib, and scikit-learn

We evaluated the pyodide ecosystem for louie.ai last year and too much didn't work, eg, we couldn't get data in for arrow or parquet, which are table stakes for python data work

My guess was 2025 would be more practical for these libs ... And behold: https://github.com/pyodide/pyodide/issues/2933

Very cool to see!

Re: Run Python in the Browser Effortlessly

#10

> However, since MarkItDown is a Python program, it might be challenging for non-technical users to use. Am I alone in thinking it is perfectly acceptable to ask a non-technical user to open a command line and type something? It's not rocket science. You just follow simple directions. Click start, search for powershell, type this into the Window that pops up, hit enter. [0] If you can make boxed mac and cheese, you c…

In this case, the problem is more the prereqs. The user must first install Python and some packages, which already brings up the question of which version and which package manager.

And in easier cases, if it's so easy, why not package it in a regular app/exe?

Post reply on HN