Python Was I 所建造的 Python Was I 所建造的
这是一个 刚才 构建 Python 3.12 解译器,由 VMware 实验室。 。 。 .
它作为国家预防机制的一揽子出版物出版 @antonz/python-wasi (英语)数字 :
https://unpkg.com/@antonz/python-wasi/dist/python.wasm
使用量
使用 运行no 运行时间 :
import { WASI } from "https://unpkg.com/@antonz/runno/dist/runno.mjs";
const url = "https://unpkg.com/@antonz/python-wasi/dist/python.wasm";
const result = await WASI.start(fetch(url), {
args: ["python", "--version"],
stdout: (out) => console.log(out),
stderr: (err) => console.error(err),
});
console.log(`exit code = ${result.exitCode}`);
结果 :
Python 3.12.0
exit code = 0
从源头建楼
make prepare
make build
许可证
版权2023 VMware 实验室Apache -2.0许可证.
Python 的版权由 Python软件基金会PSF许可证协议.