Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

PyLazarus: Resurrecting 15 Years of Abandoned Python Code with Open-Weight AI & WebAssembly

说明与用途

PyLazarus 通过确定性语法修复、从 Wayback Machine 检索已废弃 API、使用本地 AI 进行补丁,并在 Pyodide WebAssembly 中客户端运行,恢复旧版 Python‑2 工具,且不产生服务器成本。

问题

Python 2 legacy tools from 2005‑2015 became unusable after Python 2 end‑of‑life and API deprecation, leaving many projects as digital ghosts.

结果

PyLazarus resurrects 94.4% of legacy Python 2 tools, enabling them to run in the browser with zero server cost and strict security guarantees.

工作流

  • Clone pylazarus repository
  • Install dependencies with pip
  • Start backend with uvicorn
  • Open http://127.0.0.1:8000 to access Living Crypt
  • Select a legacy repo
  • Run AST syntax transpiler
  • Fetch archived API schemas via Wayback Machine
  • Patch missing dependencies with local Gemma 4
  • Gatekeeper verifies symbol preservation and security
  • Execute tool in Pyodide WebAssembly

证据

When I first loaded ascii-dungeon-2009 into PyLazarus and watched the WebAssembly terminal render a glowing green procedural dungeon in under 18 milliseconds

来源

The 3-Stage Deterministic Resurrection Pipeline: Models read and draft; deterministic code decides. Python's native ast engine resolves mechanical syntax in $<15\text{ms}$ with zero LLM calls

来源

In our benchmark, raw Gemma 4 silently deleted functions in 4 out of 18 repositories

来源

  • 记录日期: 2026-11-02T04:13:54.783Z