Introduction – Edge Python<br>Skip to ContentCTRL K
Getting StartedGetting Started<br>Introduction<br>Quickstart<br>What It Is
LanguageLanguage<br>Syntax<br>Data Types<br>Control Flow<br>Functions<br>Classes<br>Dunders<br>Async<br>Snapshots
ReferenceReference<br>Builtins<br>Methods<br>Packages<br>Imports<br>Writing Modules<br>CLI<br>WASM ABI<br>Limits and Errors
ImplementationImplementation<br>Design<br>Lexical<br>Syntax<br>Fuzzing
Light<br>Getting Started<br>Introduction<br>Quickstart<br>What It Is
Light<br>Getting StartedIntroduction<br>Copy page
Introduction
Welcome to the Edge Python docs! 👋 Edge is a sandboxed subset of Python, compiled to a ~200 KB WebAssembly binary and built in Rust to run in the browser. Embed your full business logic, run LLMs client-side, and build frontend apps.
Ecosystem
Quickstart: Run your first Edge Python program in under a minute.
Syntax: How to write a program?
Reference: All the builtin methods.
Implementation: Compiler architecture, dispatch model, and runtime layout.
Try it
Browser:
Try to edit or execute this script:
import time
text = "the quick brown fox"<br>words = {w: len(w) for w in text.split()}
for w, n in words.items():<br>print(f"{w:>6} -> {n}")<br>time.sleep(0.2)
Output · expectedRun
the -> 3<br>quick -> 5<br>brown -> 5<br>fox -> 3
Command Line Interface:
Or download it to your machine (reference docs):
# Compatible with macOS, Linux and WSL<br>curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
edge -h # List all commands
Need help?
Looking to integrate Edge into your app: run Python business logic in your users browsers, or anything else? Get in touch: email<br>Last updated on July 25, 2026<br>Quickstart