Yuichiro Tachibana (Tsuchiya)

Results 334 comments of Yuichiro Tachibana (Tsuchiya)

As a workaround to make the playground app work, we will revert the commit that introduced Pyodide 0.21.1. After that, this problem should be solved by mocking the ssl module...

The following project might help building the package? https://zenn.dev/ymd_h/articles/7275cc8dca30e1 https://github.com/ymd-h/exodide

2 directions for the Electron app: 1. Create a new app at the same level as mountable and playground and build it from scratch ( #295) 2. Create a separate...

The original Streamlit frontend loads the bokeh JS scripts from `index.html` and sets the global `Bokeh` object. https://github.com/streamlit/streamlit/blob/1.13.0/frontend/public/index.html#L35-L41 --- If BokehJS is bundled to the Streamlit frontend, it becomes easier...

Experimental PR: #344

`time.sleep()` is noop in Pyodide runtime. https://github.com/pyodide/pyodide/issues/2354

https://github.com/streamlit/streamlit/issues/5293

> I tried asyncio.get_event_loop and it did work (nothing was executed) I can't get the point. `asyncio.get_event_loop` just returns the current event loop which is on the stlite env an...

Apart that, there is a blocking API to access remote resources, [`pyodide.http.open_url`](https://pyodide.org/en/0.21.0/usage/api/python-api/http.html#pyodide.http.open_url) ```python import pyodide import streamlit as st url = "https://raw.githubusercontent.com/fivethirtyeight/data/master/airline-safety/airline-safety.csv" # Sample from streamlit-aggrid https://github.com/PablocFonseca/streamlit-aggrid res = pyodide.http.open_url(url)...

> Do you mean there is no way to run an async function in (normal) Streamlit, Yes. Precisely, just running async function is possible as the second code block above,...