Pyodide - A Python Distribution for the Browser
Explore Pyodide, a Python distribution for the browser and Node.js based on WebAssembly, in this PyCon US talk. Discover how to run Python applications in the browser, learn about porting existing Python packages, and understand the criteria for determining project suitability. Delve into Pyodide's components, including CPython 3.9 ported to WebAssembly/Emscripten, and its robust Javascript ⟺ Python foreign function interface. Examine examples of Python utils from JavaScript, random sampling, and using the fetch API from Python. Investigate the Emscripten host environment, client-only architecture, and the growing ecosystem of notebook environments and educational applications. Learn about deploying machine learning models, including scikit-learn models in Pyodide, and explore challenges such as function pointer cast handling and making Python package sizes web-friendly. Gain insights into Pyodide's roadmap and its potential impact on serverless Python apps for the web.