---
title: "Pyodide Spin Out and 0.17 Release"
description: "Pyodide, CPython 3.8 compiled to WebAssembly for running Python in the browser, has spun out of Mozilla into an independent, community-governed project, and Mozilla is winding down Iodide."
url: "https://swe.quest/articles/pyodide-spin-out-and-0-17-release-e4c73c7eb20b7f04"
canonical: "https://hacks.mozilla.org/2021/04/pyodide-spin-out-and-0-17-release/"
source: "Mozilla Hacks"
published: "2021-04-22"
difficulty: "medium"
kind: "Release"
reading_minutes: 7
tags: ["webassembly","python","javascript","browsers","open-source"]
---

# Pyodide Spin Out and 0.17 Release

A post on [Mozilla Hacks](https://swe.quest/sources/mozilla-hacks.md), published 2021-04-22, 7 min read, Release. Original: [https://hacks.mozilla.org/2021/04/pyodide-spin-out-and-0-17-release/](https://hacks.mozilla.org/2021/04/pyodide-spin-out-and-0-17-release/)

## Summary

Pyodide, CPython 3.8 compiled to WebAssembly for running Python in the browser, has spun out of Mozilla into an independent, community-governed project, and Mozilla is winding down Iodide. The 0.17 release redesigns Python/JavaScript type translation so round trips return identical objects: only primitives convert implicitly, other objects are shared as proxies with explicit to\_py/toJs/to\_js converters. It also adds an asyncio event loop on the browser event loop with mutual awaiting of Promises and coroutines, and bidirectional exception translation. Migrating to upstream-LLVM Emscripten shrank SciPy from 92 MB to 15 MB and the base environment from 8.1 MB to 6.4 MB, with 25–30% faster runtime.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [WebAssembly](https://swe.quest/tags/webassembly.md) (Languages)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- Python basics ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- JavaScript async/Promises ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- WebAssembly basics ([easy posts on WebAssembly](https://swe.quest/tags/webassembly.md?difficulty=easy))

## Keywords

Pyodide, CPython, Emscripten, Iodide, asyncio, LLVM, SciPy

## Related posts

- [Introducing the WebAssembly JavaScript Promise Integration API](https://swe.quest/articles/introducing-the-webassembly-javascript-promise-integration-api-b17a598677f4452f.md): V8 · 2024-07-01 · Medium · 11 min read · WebAssembly, JavaScript, C & C++, Browsers, Concurrency
  JSPI lets WebAssembly code written against synchronous APIs call asynchronous Web APIs.
- [Serverless Jupyter Notebooks at Meta](https://swe.quest/articles/serverless-jupyter-notebooks-at-meta-852eae361d8319c8.md): Meta Engineering · 2024-06-10 · Medium · 4 min read · WebAssembly, Python, Developer tools, Browsers
  Meta's Bento notebook platform now runs "lite" workloads directly in the browser using Pyodide on WebAssembly, skipping the slow remote-compute reservation step.
- [WebAssembly JSPI has a new API](https://swe.quest/articles/webassembly-jspi-has-a-new-api-8f87900c3d9ad3d8.md): V8 · 2024-06-04 · Medium · 6 min read · WebAssembly, Browsers, Concurrency, Runtimes & VMs
  WebAssembly JavaScript Promise Integration (JSPI) ships a revised API in Chrome M126 that drops explicit Suspender objects and instead uses the most recent JS-to-Wasm export call as the suspension cut point.
- [Introducing Ruvy](https://swe.quest/articles/introducing-ruvy-a780cb3b4891bef0.md): Shopify Engineering · 2023-10-18 · Medium · 5 min read · WebAssembly, Ruby, Performance engineering, Open source
  Ruvy is an open-source toolchain built on ruby.wasm that compiles Ruby scripts into WebAssembly modules, pre-initializing the Ruby VM and preloaded Ruby files at build time instead of at startup.
- [Gradio-Lite: Serverless Gradio Running Entirely in Your Browser](https://swe.quest/articles/gradio-lite-serverless-gradio-running-entirely-in-your-browser-3aaefd7b0bcd8644.md): Hugging Face · 2023-10-19 · Medium · 6 min read · WebAssembly, Python, Machine learning, Serverless
  Gradio-Lite (@gradio/lite) is a JavaScript library that runs Python Gradio apps entirely in the browser using Pyodide, the WebAssembly build of CPython, so no server is needed.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
