Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Michael Droettboom 05d82c1d3e Remove modules that are always statically linked anyway 2018-03-02 17:33:51 -05:00
build Fix #7: Refactor code into separate modules 2018-02-26 10:02:52 -05:00
cpython Remove modules that are always statically linked anyway 2018-03-02 17:33:51 -05:00
src Support `pyimport` on the Javascript side. 2018-03-01 11:55:24 -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.