micropyscript

0.1.3 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i micropyscript

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

8.13 kB

Total Files

3

Last publish

Collaborators

  • chenchen100