Edge Python

edgepython.com · 2026-10-05 · by Long Nguyen ·generic
The package registry for Edge Python. Find a package, pin it by sha256, import it by name.

Edge Python

Edge Python

5 artifacts

PublishConnect an agent

Artifacts

Search artifacts

SortCommunitystd

  • NameAuthorLicenseInstalls
  • math
  • Python's math functions, exact where Python is exact. @dylanProgram3
  • json
  • Encode and decode JSON with Python's hooks and options. @dylanProgram2
  • re
  • Regular expressions with backreferences and lookaround. @dylanProgram1
  • struct
  • Pack and unpack binary data in Python's formats. @dylanProgram0
  • test
Fixtures, assertions and a runner for Edge Python tests. @dylanProgram0

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 https://edgepython.com/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 and grant what it asks under permissions for each scope. Run the entry point with edge run main.py and every *_test.py with edge test. Search the docs, people, programs and packages with GET https://edgepython.com/api/search?q=<term> Read what it finds by putting /api before the href, so /package/<name>, /package/<name>/<slug>, /@<handle>, /program/<name> and /docs/<path> all answer as data, and GET /api/docs lists the reference. Ask a question in any language with POST https://ask.edgepython.com {"question": "..."}, which answers from those pages and returns a session to send back with a follow-up. Pack and ship with edge build, then edge publish app.edge

Copy

edgepython.com · 23 links

Comments (0)

No comments yet