Skip to content

Commit

Permalink
Update comparison.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bugzpodder authored Sep 25, 2023
1 parent 1305952 commit fbabac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/docs/guides/comparison.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Pyodide does not setup web workers out of the box. If you site is [crossOriginIs

## PyScript

[PyScript](https://pyscript.net/) is great for configuring a single html page to run python code as well as providing acess to DOM through its `pyweb` API. `PyScript` adopts an RPC pattern while `PySandbox` is closer to be a REST-like API. If you are using a JS web-framework (e.g. a React-based framework) to build your web application, you may find `PySandbox` easier to use because of its pure JS-based invocation.
[PyScript](https://pyscript.net/) is great for configuring a single html page to run python code as well as providing acess to DOM through its `pyweb` API. `PyScript` adopts a RPC pattern by letting Python code manipulate the DOM and react to events, while `PySandbox` is intended to be a traditional REST backend. If you are using a JS web-framework (e.g. a React-based framework) to build your web application, you may find `PySandbox` easier to use with its pure JS invocation without needing to rely on `<script type="py">` and `<py-script>` tags.

0 comments on commit fbabac8

Please # to comment.