Publishing WASM Wheels to PyPI for Pyodide Use

Simon Willison's Weblog· June 13, 2026 View original

▶ The 60-second brief

Summary

The post discusses the process of publishing WebAssembly (WASM) wheels to PyPI, enabling their use with Pyodide. This facilitates running Python packages compiled to WASM directly in web browsers.

This post details the technical procedure for making WebAssembly (WASM) compatible Python packages available on the Python Package Index (PyPI). The primary goal is to allow these packages, often referred to as 'WASM wheels,' to be easily utilized within Pyodide environments. Pyodide is a project that brings the Python scientific stack to the browser, enabling Python code execution directly in web browsers by compiling it to WebAssembly. This process streamlines the distribution and consumption of browser-compatible Python libraries.

Why it matters

For web developers and data scientists, this enables the execution of complex Python libraries directly in the browser, opening up new possibilities for interactive web applications and client-side data processing without server-side dependencies.

How to implement this in your domain

  1. 1Learn how to compile Python packages into WASM wheels.
  2. 2Understand the process for publishing these WASM wheels to PyPI.
  3. 3Integrate Pyodide into web projects to run Python code client-side.
  4. 4Explore existing WASM-compatible Python libraries for browser-based applications.

Who benefits

Web DevelopmentData ScienceEdTechSoftware Development

Key takeaways

  • WASM wheels allow Python packages to run in web browsers via Pyodide.
  • Publishing WASM wheels to PyPI simplifies their distribution and use.
  • Pyodide enables client-side execution of Python, enhancing web applications.
  • This technology expands the capabilities of browser-based data processing and interactivity.

Original post by Simon Willison's Weblog

"Publishing WASM wheels to PyPI for use with Pyodide"

View on X

Originally posted by Simon Willison's Weblog on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses