Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Michael Droettboom 0b4e3cf3d7 First pass at automatic deployment 2018-06-19 13:36:14 -04:00
.circleci First pass at automatic deployment 2018-06-19 13:36:14 -04:00
benchmark Make benchmarks work again 2018-05-29 10:34:10 -04:00
cpython Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
cycler First pass at matplotlib support 2018-05-17 11:57:39 -04:00
dateutil First pass at matplotlib support 2018-05-17 11:57:39 -04:00
emsdk Add Circle-CI configuration 2018-06-04 16:17:03 -04:00
kiwisolver Move kiwisolver to its own package 2018-06-15 12:05:52 -04:00
matplotlib Move wasm_backend.py to the matplotlib package 2018-06-15 11:57:02 -04:00
numpy Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
pandas Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
pyparsing First pass at matplotlib support 2018-05-17 11:57:39 -04:00
pytz Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
six Simplify Makefiles. Support parallel compilation. 2018-05-16 13:06:44 -04:00
src Remove obsolete comment 2018-06-19 13:26:26 -04:00
test More work trying to get linting working again 2018-06-15 12:30:22 -04:00
.clang-format Add linting 2018-06-14 14:19:08 -04:00
.editorconfig More work trying to get linting working again 2018-06-15 12:30:22 -04:00
.gitignore First pass at matplotlib support 2018-05-17 11:57:39 -04:00
CHANGELOG.md Add some community and contributing guidelines 2018-06-07 15:43:04 -04:00
CODE-OF-CONDUCT.md Add some community and contributing guidelines 2018-06-07 15:43:04 -04:00
CONTRIBUTING.md Add linting 2018-06-14 14:19:08 -04:00
LICENSE Initial commit 2018-02-23 14:21:29 -05:00
Makefile Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
Makefile.envs Pin the compiler to a particular version 2018-05-31 18:46:57 -04:00
README.md Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
packager.sh Fix #37: Minify Javascript 2018-06-19 10:56:17 -04:00
remove_modules.txt Lots of pandas fixes: 2018-04-24 19:29:54 -04:00

README.md

Pyodide

Build Status

The Python scientific stack, compiled to WebAssembly.

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.

See the demo

Building

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

Make sure the prerequisites for emsdk are installed.

Additional build prerequisites are:

  • lessc to compile less to css.
  • uglifyjs to minify Javascript builds.

Type make.

(The build downloads and builds a local, patched version of emsdk, then downloads and builds Python and third-party packages).

Testing

  1. Install the following dependencies into the default Python installation:

    pip install pytest selenium

  2. Install geckodriver somewhere on your PATH.

  3. make test

Benchmarking

  1. Install the same dependencies as for testing.

  2. make benchmark

Linting

  1. Python is linted with flake8. C and Javascript are linted with clang-format.

  2. make lint