Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
Go to file
Aray Karjauv b08e460220
DOC Improve "Using Pyodide from Javascript" documentation (#767)
Co-authored-by: Aray <s0562411@htw-berlin.de>
2020-10-13 11:58:59 +02:00
.circleci Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
benchmark Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
bin Explicitly use python3 for pyodide_build 2019-01-09 20:56:46 +05:30
cpython MNT Clean-up root folder (#714) 2020-07-08 16:58:10 +02:00
docs DOC Improve "Using Pyodide from Javascript" documentation (#767) 2020-10-13 11:58:59 +02:00
emsdk BLD Fix emcc warning on Python3.8 (#720) 2020-07-11 13:23:45 +02:00
packages PKG Update freesasa version to 2.1.0 (#755) 2020-09-26 16:20:23 +02:00
pyodide_build Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
src Update to Python 3.8.2 (#712) 2020-07-07 16:21:33 +02:00
test ENH Automate package updates (#569) 2020-07-13 23:34:10 +02:00
tools Update to Python 3.8.2 (#712) 2020-07-07 16:21:33 +02:00
.clang-format Remove keys from .clang-format 2018-11-13 09:46:24 -05:00
.dockerignore MNT Add pre-commit config (#698) 2020-06-27 14:57:48 +02:00
.editorconfig Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
.gitignore BLD Fix emcc warning on Python3.8 (#720) 2020-07-11 13:23:45 +02:00
.pre-commit-config.yaml Fix lint CI (#759) 2020-09-24 12:28:10 +02:00
.readthedocs.yml Adds Sphinx documentation build (#474) 2019-06-22 18:22:38 -04:00
CHANGELOG.md DOC Improve README and documentation (#665) 2020-05-19 18:14:56 +02:00
CODE-OF-CONDUCT.md Update changelog, minor doc fixes and CDN URL updates (#668) 2020-05-20 18:58:43 +02:00
Dockerfile MNT Update to firefox 70.0 / geckodriver 0.26 in CI (#622) 2020-07-09 00:37:02 +02:00
LICENSE Initial commit 2018-02-23 14:21:29 -05:00
Makefile MNT Clean-up root folder (#714) 2020-07-08 16:58:10 +02:00
Makefile.envs Update to Python 3.8.2 (#712) 2020-07-07 16:21:33 +02:00
README.md Update to Python 3.8.2 (#712) 2020-07-07 16:21:33 +02:00
conftest.py Update to Python 3.8.2 (#712) 2020-07-07 16:21:33 +02:00
run_docker MNT Update to firefox 70.0 / geckodriver 0.26 in CI (#622) 2020-07-09 00:37:02 +02:00
setup.cfg MNT Clean-up root folder (#714) 2020-07-08 16:58:10 +02:00

README.md

Pyodide

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.