Edge Python
Esc

Go to

Commands

Sign In

Sign in to publish packages and pin them by sha256.

Edge Python

5 packages

Get started

Packages

  • json

    Encode and decode JSON with Python's hooks and options.

  • math

    Python's math functions, exact where Python is exact.

  • re

    Regular expressions with backreferences and lookaround.

  • struct

    Pack and unpack binary data in Python's formats.

  • test

    Fixtures, assertions and a runner for Edge Python tests.

Connect an agent

Copy and paste this into your agent session.

Edge Python is a sandboxed Python subset that compiles to bytecode and runs on a VM, in the browser as WebAssembly or through the edge CLI.
Install the CLI with curl -fsSL https://cdn.edgepython.com/cli/install.sh | sh
Read ./SKILL.md first, it is the full reference and every example in it is executable.
Nothing resolves unless edge.json declares it, so run edge add <name> before importing.
Search packages with GET https://edgepython.com/api/packages?q=<name>
Read one of them with GET https://edgepython.com/api/packages/<name>
Pack and ship with edge build, then edge publish app.edge