« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
pyodide.org · Extracted in 535 ms

Pyodide -- Version 314.0.8

Source: https://pyodide.org/en/stable/
Source repository

Pyodide

Contents

Pyodide

Pyodide is a Python distribution for the browser and Node.js based on WebAssembly.

What is Pyodide?

Pyodide is a port of CPython to WebAssembly/Emscripten .

Pyodide makes it possible to install and run Python packages in the browser with micropip . Any pure Python package with a wheel available on PyPi is supported. Many packages with C, C++, and Rust extensions have also been ported for use with Pyodide. These include many general-purpose packages such as regex, PyYAML, and cryptography, and scientific Python packages including NumPy, pandas, SciPy, Matplotlib, and scikit-learn.

Pyodide comes with a robust Javascript ⟺ Python foreign function interface so that you can freely mix these two languages in your code with minimal friction. This includes full support for error handling (throw an error in one language, catch it in the other), async/await, and much more.

When used inside a browser, Python has full access to the Web APIs.

Try Pyodide

Try Pyodide in a REPL directly in your browser (no installation needed).

What should I look at first?

Table of contents

Using Pyodide

Development

The Development section helps Pyodide contributors to find information about the development process including making packages to support third party libraries.

Development

Project

The Project section gives additional information about the project's organization and latest releases.

Project

Communication

Contents