Skip to main content
Ctrl+K
Version 314.1.0.dev0 - Home Version 314.1.0.dev0 - Home
  • Getting started
  • Downloading and deploying Pyodide
  • Using Pyodide
    • Loading custom Python code
    • Dealing with the file system
    • Using Pyodide in a web worker
    • Using Pyodide in a service worker
    • Working with Bundlers
    • The Pyodide Python CLI
    • Using Sockets
  • Accessing Files Quick Reference
  • Loading packages
    • Packages built in Pyodide
    • Using SDL-based packages in Pyodide
  • Pyodide Python compatibility
  • Type translations
  • Interrupting execution
  • Redirecting standard streams
  • API Reference
    • JavaScript API
    • Python API
      • pyodide.code
      • pyodide.console
      • pyodide.ffi
      • pyodide.http
      • pyodide.webloop
    • Micropip API
    • pyodide CLI
  • Frequently Asked Questions
  • Community Examples

Development

  • Building packages for Pyodide
  • Building from source
  • Testing and benchmarking
  • Debugging tips
  • How to Contribute
    • Contributing to the “core” C Code
    • Maintainer information
  • The PyEmscripten Platform
    • pyemscripten_2026_0
    • pyemscripten_2025_0
    • pyemscripten_2024_0
    • ABI-sensitive flags

Project

  • What is Pyodide?
  • Roadmap
  • Code of Conduct
  • Governance and Decision-making
  • Change Log
    • Pyodide Deprecation Timeline
  • Related Projects
  • .md

API Reference

API Reference#

  • JavaScript API
    • Top Level Exports
    • pyodide
    • pyodide.ffi
    • pyodide.canvas
  • Python API
  • Micropip API
  • pyodide CLI
    • pyodide

previous

Redirecting standard streams

next

JavaScript API

By Pyodide contributors

© Copyright 2019-2026, Pyodide contributors and Mozilla.

This website, https://pyodide.org, is the sole official website of the Pyodide project. Any other website purporting to represent Pyodide is not affiliated with, endorsed by, or authorized by the Pyodide project or its maintainers in any capacity.