Pyodide: Python for the Browser

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • GitHub repo pyodide

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

    If you just open an HTML file in your browser via its local path (e.g. /home/user/...) the browser will prevent you from loading other files by JS due to CORS. So we need a web-server to set the appropriate CORS headers. Any web-server would do.

    For inline code, yes it would be doable someone would need to continue

    For examples, I'll respond in the Pyodide issue where you commented.

  • GitHub repo Transcrypt

    Python 3.7 to JavaScript compiler - Lean, fast, open! -

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • GitHub repo py2many

    Python to CLike languages transpiler

    I'm looking into a python -> dart -> js approach. Emphasis on static type checking and small feature set that's easy to understand.

    Made a new release earlier today:

  • GitHub repo starboard-notebook

    In-browser literal notebooks

    If you want to play with Pyodide in a web notebook you can try Starboard [1][2].

    A sibling comment introduces JupyterLite and Brython, which are Jupyer-but-in-the-browser, whereas with Starboard I'm trying to create what Jupyter would have been if it were designed for the browser first.

    As it's all static and in-browser, you can embed a notebook (or multiple) in a blog post for instance to power interactive examples. The bundle size is a lot smaller than JupyerLite for the initial load - it's more geared towards fitting into existing websites than being a complete IDE like JupyerLab.



NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts