PyScript brings Python into the browser, more easily than ever

Anaconda, makers of the Python distribution for scientific computing, announced at PyCon US 2022 the PyScript project — an in-browser, single-include way to run Python scripts in HTML pages as easily as JavaScript itself.

Traditionally, Python could interact with JavaScript or a web page only by running as an application server that returned HTML and JavaScript. PyScript has no server component; everything runs directly in the browser.

Using PyScript, useful components from both the Python and JavaScript worlds can be deployed side-by-side. In one example, the NYC taxi data demo, PyScript uses Pandas to analyze data, then generates an interactive 3D view of the data by way of JavaScript’s WebGL.

To read this article in full, please click here

Social media & sharing icons powered by UltimatelySocial