Web#
Toga is able to deploy apps as a single-page web app using the toga-web backend.
Note
The Web backend is currently proof-of-concept only. Most widgets have not been implemented.
Prerequisites#
toga-web
will run in any modern browser. It requires PyScript 2023.05.01 or
newer, and Shoelace v2.3.
Installation#
The recommended approach for deploying toga-web
is to use Briefcase to package your app.
toga-web
can be installed manually by adding toga-web
to your pyscript.toml
configuration file.
Implementation details#
toga-web
uses PyScript to run Python code in the browser.