stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

python literals via pyodide

Open mbostock opened this issue 2 years ago • 3 comments

This is roughly the same approach as taken by Grant Nestor, although I made some changes to fix falsey value interpolation and to adopt the recommended/public APIs such as runPythonAsync instead of calling eval_code_async directly.

mbostock avatar Jun 23 '22 14:06 mbostock

Should the pyodide instance be exposed so that you can e.g. load micropip?

mootari avatar Jun 23 '22 15:06 mootari

Should the pyodide instance be exposed so that you can e.g. load micropip?

I’m not going to do this yet, but we might add this in the future.

mbostock avatar Jun 25 '22 02:06 mbostock

Putting this on hold as, at a minimum, I think we need to update the Observable Inspector to do a better job with PyProxy objects.

mbostock avatar Jul 04 '22 12:07 mbostock