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 r
npm install micropyscriptThis 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.
bash
npm install -g micropyscript
`use
1. create
`bash
mps create
cd
`2. init
load basic source and config the project
modify
loadSrc to change the src of fetch pyodide source in mps-config.toml `bash
mps init
`3.install
install python packsges
modify ./src/py-config.toml as you need
`bash
mps install
`Then open index.html and
now you can`