jupyter-widgets-contrib / ipysheet

Jupyter handsontable integration
MIT License
539 stars 68 forks source link

Enable ipysheet to run on pyodide #236

Closed MarcSkovMadsen closed 1 year ago

MarcSkovMadsen commented 1 year ago

Request

Enable pyodide to be imported in pyodide

Currently it cannot. For example in the pyodide console.

import micropip
await micropip.install("ipysheet")
...
ValueError: Can't find a pure Python 3 wheel for 'pyzmq>=17'.
See: https://pyodide.org/en/stable/usage/faq.html#micropip-can-t-find-a-pure-python-wheel
You can use `micropip.install(..., keep_going=True)`to get a list of all packages with missing wheels.

image

Motivation

ipysheet is a really nice table with a familiar look and feel for excel users. I would like to be able to use it in Panel apps converted to pyodide.

I was actually working on a reference example of creating Ipywidgets based webassembly apps for https://awesome-panel.org/sharing when I experienced it would not work.

I know it might be high priority. But at least its recorded. Python in the browser is the future :-)

MarcSkovMadsen commented 1 year ago

I can see ipywidgets also has this problem. I think that is the right place to raise this then.