Desktop app for Serverless Python Environment for scientific computing with WebAssembly. Uses Pyodide and TF.js as runtime engines.
- Pyodide to run Python scientific stack with WASM technology.
- TensorFlow.js to run TensorFlow.js machine learning stack.
For more information, refer these materials:
- Slides for PyCon KR 2020
- PyCon KR 2020 Talk (Youtube) - Will add after conference talk
View changelog
Pyodide console is built with
lit-element
as webcomponent frameworknpm
as package managerrollup
as bundlerelectron
as app shell
$ npm i
If this is not your first-time compilation, please clean the temporary directories with this command:
$ make clean
You must perform first-time compilation for testing, including downloading Pyodide release binary from the repository Some additional mandatory packages should be copied to proper location.
$ npm run init
Some necessary libraries will be copied to src/lib
. Now you are ready to test.
$ npm run server:d # To run dev. web server
$ npm run build:d # To watch source changes and TypeScript autocompilation
$ make test_electron
Electron building is automated using Makefile
.
$ make clean # clean prebuilt codes
$ make mac # build macOS app
$ make win # build win64 app
$ make linux # build linux app
- Uses Pyodide: The Python scientific stack, compiled to WebAssembly scientific python stack compiled to WASM.
- Iodide: Seamless scientific computing with web technologies project to make LLVM-WASM compilation chain.
- The codes are heavily based on Backend.AI Console.