How does PyScript actually work?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Transcrypt

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

  • This is the primary difference between Pyodide and projects like Transcrypt or Brython: rather than transpiling to JavaScript, you get the real-deal CPython interpreter running client-side in the user's browser. There are a few things that don't work out of the box, since CPython usually runs on a computer and the Browser environment has some unique restrictions (lack of low-level access to networking, for one), but most things do just work.

  • website

    WebAssembly website (by WebAssembly)

  • WebAssembly is a minimal stack-based language that looks a lot like many assembly languages. All modern browsers include an interpreter for WebAssembly, to run that compiled code in a sandboxed way. It acts as a compilation target for many higher level languages - the same way you can compile your C or C++ code for an X86 Processor, or for an Arm processor, you can also compile it for WebAssembly using a variety of tools.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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