Getting StartedIntroduction

Introduction

Welcome to the Edge Python docs! 👋 Edge is a sandboxed subset of Python, compiled to a less than 200 KB WebAssembly binary and built in Rust to run on Cloudflare Workers and in the browser. Embed your full business logic, run LLMs client-side, build frontend apps and serverless workloads.

Ecosystem

  1. Quickstart: Run your first Edge Python program in under a minute.
  2. Syntax: How to write a program?
  3. Reference: All the builtin methods.
  4. Implementation: Compiler architecture, dispatch model, and runtime layout.

Try it

Browser:

Run live in your browser at demo.edgepython.com.

Command Line Interface:

Or download it to your machine (reference docs):

# Compatible with macOS, Linux and WSL
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