webr
thebe
webr | thebe | |
---|---|---|
5 | 2 | |
774 | 377 | |
3.7% | 2.4% | |
9.2 | 8.4 | |
7 days ago | 13 days ago | |
TypeScript | Jupyter Notebook | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webr
-
Fortran on WebAssembly
A little context: this dive into Fortran is part of the excellent work George has been doing on WebR, to get R running in the browser. The R sources contain a fair bit of Fortran code, and I believe WebR originally used f2c to compile the Fortran to C first, before compiling that to wasm.
With the patches to LLVM Flang, WebR can be built with a real Fortran compiler.
I think George didn't want to say it directly in the blog post, but he has said that he's hoping that Flang would take his patches or implement better ones. That would be a win-win -- these patches wouldn't need to be maintained separately, and since unmodified Flang would be able to compile to wasm, it would benefit other projects out there that use Fortran.
https://docs.r-wasm.org/webr/latest/
- WebR – R in the Browser (using WASM)
- Shinylive for R?
- JupyterLite is a JupyterLab distribution that runs in the browser
-
R on android?
I don't think it's close to useful - but the R in webassembly webR, that runs in the browser looks interesting.
thebe
-
JupyterLite is a JupyterLab distribution that runs in the browser
There was some work (and POC) on getting pyodide to work as a thebe backend. You can check out this thread: https://github.com/executablebooks/thebe/issues/465 and other issues/PRs backlinked to it. I don't think anything like that has shipped yet, but definitely worth exploring (in the meantime the usual mybinder backend[1] for jupyter books works great, i.e. you don't have to host yourself).
[1] https://jupyterbook.org/en/stable/interactive/launchbuttons....
-
Physics-Based Deep Learning Book
https://github.com/tum-pbs/pbdl-book/blob/main/_toc.yml and all the config is in one file: https://github.com/tum-pbs/pbdl-book/blob/main/_config.yml (the build system leverages Sphinx which is the docs workhorse in the Python world)
One of the coolest things is the "Launcher" option which gives readers the options to "run" any notebook interactively (using the rocket button in the top right). It's a one-line config https://github.com/tum-pbs/pbdl-book/blob/main/_config.yml#L... A similar config would enable the "Launch in Pybinder" option which is a free ephemeral jupyter provider, see https://mybinder.org/
This "execute anywhere" option is nicely abstracted away as the `thiebe` library, and there is even POC work to run a pyodide kernel (https://github.com/executablebooks/thebe/issues/465) so soon all of this goodness will work offline in your browser!
As an educator, it's hard not to get excited about the future, given the pace at which learning/teaching tooling is developing!
What are some alternatives?
demo - JupyterLite demo deployed to GitHub Pages 🚀
pysindy - A package for the sparse identification of nonlinear dynamical systems from data
BrowserFS - BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.
pbdl-book - Welcome to the Physics-based Deep Learning Book (v0.2)
starboard-notebook - In-browser literate notebooks
jupyterlite - Wasm powered Jupyter running in the browser 💡
r-wasm - modifying R to compile with wasm
jupytext - Jupyter Notebooks as Markdown Documents, Julia, Python or R scripts