micropyscript
v0.1.3
Published
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
Downloads
3
Readme
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 micropyscript
use
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 init
3.install
install python packsges
modify ./src/py-config.toml as you need
mps install
Then open index.html and now you can