0.1.3 • Published 2 years ago
micropyscript v0.1.3
MicroPyScript
This project is not an official NPM package for PyScript. This project exists to minimize the use of network pyodide and pyscript resources, and to build a minimal pyodide and pyscript development environment locally, which will only contain the pyodide resources you need, so that you can use local pyodide resources to test and publish locally on your own website and with resource porting.
install
npm install -g micropyscriptuse
1. create
mps create <projectName>
cd <projectName>2. init
load basic source and config the project
modify loadSrc to change the src of fetch pyodide source in mps-config.toml
mps init3.install
install python packsges
modify ./src/py-config.toml as you need
mps installThen open index.html and now you can