-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Plan/Idea] Supporting WASM based introductory series #143
Comments
thanks so much @kp992 this is looking great. I will review it in detail tomorrow. Thanks for putting this together, it is a big help. |
@mmcky, Upon doing some research and going through the docs of sphinx-thebe, I found this: https://github.com/TeachBooks/template which is similar to our goal. We want to build quantecon notebooks using jupyter-book and build it with sphinx-thebe. Internally, we will use WASM pyodide kernel which is available via use_thebe_lite. This is how our notebooks will be rendered https://teachbooks.io/manual/features/live_code.html. And the users will use Live code button to start and run the notebook backed by pyodide. Please correct me know if I misunderstood anything. |
Hi @mmcky, I have built a small demo using thebe and uses WASM backend. See the demo If this is looking great, I can look into adding more lectures and working on fixing the theme (-- using quantecon book theme). |
The plan of the project is to enable WASM/JupyterLite support for each of the lectures in https://github.com/QuantEcon/lecture-python-intro.
Success metric
Our main aim and success metric of this project is to maximize the number of WASM backed lectures from
lecture-python-intro
.Support
In order to ease the development and track the lectures, I have the following idea.
lecture-python-intro
which are not compatible with WASM.lecture-python-intro
CI which will help us when a lecture is successfully made WASM compatible inlecture-python-intro
, we mark that lecture has completed inlecture-python-intro
and will be included in the testing script. So whenever a new change is introduced inlecture-python-intro
series, we ensure that we don't break the WASM compatibility.lecture-python-intro
series and convert all possible lectures to WASM and update the repositoryproject.lecture-wasm
. This script can be ran on weekly basis to pick up changes from the last week and make them live onproject.lecture-wasm
.Execution
Probable blockers and tackling strategy
There may be a few lectures where we use
quantecon
ornumba
. In such lectures, we need to investigate three possibilities:@mmcky, @jstac - Please review the plan and please feel free to suggest any changes.
Thank you.
The text was updated successfully, but these errors were encountered: