Project to implement running Python code in a web-browser; in this case, using PyScript, an open source platform for running Python 'natively' in the browser.
- This project corresponds to the implementation of the beginner tutorial for PyScript, available at 'https://docs.pyscript.net/2025.8.1/beginning-pyscript/'.
- The project is about implementing Python code to transform or 'translate' english text into pirate speaking, using Python package / library 'Arrr.py'.
PyScript could be considered a direct competitor of JavaScript for web-development, although as of time of writting, it's still in 'early development'; therefore:
- Use Python with PyScript, if you're building small web-apps with specific Python-powered interactivity / functionalities, such as data visualization.
- Use JavaScript if you're building a full web-app, and consider using Pyodide (a JavaScript library for Python implementation), if you require specific Python features.
- PyScript still lacks of JavaScript execution speeds.
RESOURCES.
- PyScript vs. JavaScript; project itself, performance, readability, and ecosystem:'https://towardsdatascience.com/pyscript-vs-javascript-a-battle-of-web-titans/'.
- PyScript vs. Pyodide: 'https://python.plainenglish.io/pyscript-or-pyodide-f0f1dc10291f'.
Made with contrib.rocks.
a1t0ghb |
|---|
