Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Michael Droettboom 12bd22bab4 Add pyodide to iodide dynamically using API 2018-03-08 10:45:43 -05:00
build Fix #7: Refactor code into separate modules 2018-02-26 10:02:52 -05:00
cpython Improve compiled-in modules list 2018-03-07 11:04:28 -05:00
src Add pyodide to iodide dynamically using API 2018-03-08 10:45:43 -05:00
.gitignore Add internal cpython build 2018-02-27 17:57:22 -05:00
LICENSE Initial commit 2018-02-23 14:21:29 -05:00
Makefile Support `pyimport` on the Javascript side. 2018-03-01 11:55:24 -05:00
README.md Update build instructions 2018-02-28 09:12:26 -05:00

README.md

Pyodide

This provides an integration layer when running an empscripten-compiled CPython inside a web browser. It provides transparent conversion of objects between Javascript and Python and a sharing of global namespaces. When inside a browser, this means Python has full access to the Web APIs.

Building

These instructions were tested on Linux. OSX should be substantively the same.

  1. Build/install emscripten according to its instructions.

  2. Enable the emscripten environment (source emsdk_env.sh)

  3. Build this project.

    Type make.