Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Rudolfs Petrovs 65aa334351
PKG Add optlang package (#1093)
2021-01-10 19:26:38 +01:00
.circleci Use python:3.8.2-slim-buster Docker base image (#1095) 2021-01-10 21:14:50 +08:00
.github/workflows
benchmark BLD Don't compile host python (#830) 2020-12-08 00:19:16 +01:00
bin Explicitly use python3 for pyodide_build 2019-01-09 20:56:46 +05:30
cpython BLD Don't copy artifacts to root (#1096) 2021-01-10 18:19:34 +01:00
docs ENH Separate ns variable in eval_code into globals and locals (#1083) 2021-01-10 19:06:27 +01:00
emsdk git clone --depth 1 emsdk (#1063) 2021-01-07 09:01:25 +01:00
packages PKG Add optlang package (#1093) 2021-01-10 19:26:38 +01:00
pyodide_build Add build/script for nonlib pkg (#1070) 2021-01-08 17:30:39 +01:00
src ENH Separate ns variable in eval_code into globals and locals (#1083) 2021-01-10 19:06:27 +01:00
tools Install uglifyjs and lessc via npm (#1002) 2021-01-01 23:43:48 +08:00
.clang-format
.dockerignore
.editorconfig
.gitignore BLD Don't copy artifacts to root (#1096) 2021-01-10 18:19:34 +01:00
.pre-commit-config.yaml
.readthedocs.yml
CODE-OF-CONDUCT.md
Dockerfile Use python:3.8.2-slim-buster Docker base image (#1095) 2021-01-10 21:14:50 +08:00
Dockerfile-prebuilt
LICENSE
Makefile BLD Don't copy artifacts to root (#1096) 2021-01-10 18:19:34 +01:00
Makefile.envs
README.md
conftest.py
pyodide_env.sh
run_docker Use python:3.8.2-slim-buster Docker base image (#1095) 2021-01-10 21:14:50 +08:00
setup.cfg

README.md

Build Status Documentation Status

The Python scientific stack, compiled to WebAssembly.

What is Pyodide?

Pyodide brings the Python 3.8 runtime to the browser via WebAssembly, along with the Python scientific stack including NumPy, Pandas, Matplotlib, parts of SciPy, and NetworkX. The packages directory lists over 35 packages which are currently available.

Pyodide provides transparent conversion of objects between Javascript and Python. When used inside a browser, Python has full access to the Web APIs.

While closely related to the iodide project, a tool for literate scientific computing and communication for the web, Pyodide goes beyond running in a notebook environment. To maximize the flexibility of the modern web, Pyodide may be used standalone in any context where you want to run Python inside a web browser.

Try Pyodide (no installation needed)

Try the iodide demo notebook or fire up a Python REPL directly in your browser.

For further information, look through the documentation.

Getting Started

Pyodide offers three different ways to get started depending on your needs and technical resources. These include:

  • Use hosted distribution of pyodide: see using pyodide from Javascript documentation.
  • Download a pre-built version from this repository's releases page and serve its contents with a web server.
  • Build Pyodide from source
    • Build natively with make: primarily for Linux users who want to experiment or contribute back to the project.
    • Use a Docker image: recommended for Windows and macOS users and for Linux users who prefer a Debian-based Docker image with the dependencies already installed.

Contributing

Please view the contributing guide for tips on filing issues, making changes, and submitting pull requests.

License

Pyodide uses the Mozilla Public License Version 2.0. See the LICENSE file for more details.