Skip to content

pyta-uoft/pyta-sandbox

Repository files navigation

pyta-sandbox

A web sandbox for PythonTA, running entirely in the browser via Pyodide.

Development

pnpm install
pnpm dev

Then open the printed local URL. The root page (/) runs python_ta.check_all() against your code; /debug/ runs the AccumulationTable/RecursionTable debugger.

Pyodide's interpreter and standard library are bundled from the pyodide npm package and served locally (see vite.config.ts). Individual packages - micropip, and whatever python-ta pulls in - aren't part of that package and are still fetched over the network at runtime (from PyPI, or from the Pyodide CDN for packages Pyodide has prebuilt wasm wheels for).

Build

pnpm build
pnpm preview

Type checking

pnpm typecheck

About

A web sandbox for PythonTA

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors