PUB 04/2023: πŸŽ™ Pyodide – A Python distribution for the browser

We are very pleased to present a talk by Roman Yurchak, one of the main developers of Pyodide, at Python Users Berlin (PUB). In his talk, he will talk about the possibilities of running Python applications in the browser and, besides simple examples, also show how Python packages have to be built in order to be able to use them for this purpose.
  • PUB 04/2023: πŸŽ™ Pyodide – A Python distribution for the browser
  • 2023-04-13T19:00:00+02:00
  • 2023-04-13T23:59:59+02:00
  • We are very pleased to present a talk by Roman Yurchak, one of the main developers of Pyodide, at Python Users Berlin (PUB). In his talk, he will talk about the possibilities of running Python applications in the browser and, besides simple examples, also show how Python packages have to be built in order to be able to use them for this purpose.

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

With micropip, pure Python packages from the Python Package Index (PyPI) can be installed in the browser. Also, many packages with C extensions have already been ported for use with Pyodide, including numPy, pandas, matplotlib and Panel.

You can find a simple example in our Jupyter tutorial: Running Panel in the browser with WASM:

../../assets/images/pyodide-example.png

You can try Pyodide directly in your browser: https://pyodide.org/en/stable/console.html.

This client-only architecture offers many advantages:

  • You do not need to have Python or additional packages installed locally.
  • On the server side, only static files are provided, which can be delivered quickly even if there are many users.
  • This scalability requires neither an extensive backend infrastructure nor high maintenance efforts.
  • Since all calculations are carried out locally, no (personal) data has to be sent to remote servers (β†’ Privacy by Design).