/calculator_p

calculations running Python in the browser

Primary LanguageHTMLMIT LicenseMIT

Description

This application performs simple calculations by running python in the browser; it works offline once cached.

Tools and workflow

  • pyscript runs a bare-bones Python interpreter (Pyodide) in the browser.
  • A set of python methods make calculations and parse results in HTML format.
  • Two service workers cache app dependencies for offline operation.
  • A set of scripts handles pages navigation and input formatting with vanilla Javascript.

Usage

  • Run npm run dev ( or python3 -m http.server -d ./public/) to find the app running at http://localhost:8000.