How PyScript is bringing programming to the masses

How PyScript is bringing programming to the masses

PyScript has created a great deal of buzz in the industry since it was unveiled at PyCon US 2022. Let’s take a look at PyScript and see if the hype is justified.

PyScript is essentially a programming framework which allows users to run Python in the web browser using HTML and can be used on laptops, tablets and cellphones. It was developed by Peter Wang, Philipp Rudiger, and Fabio Pliger, who introduced PyScript at PyCon US 2022.

One of the benefits of PyScript is that the framework gives access to an easy-to-learn programming language for users at all levels of competence. In this respect, the ultimate aim of PyScript is to increase the accessibility of programming and data science to a greater number of users or as Pliger, principal software architect at Anaconda, Inc. and creator of PyScript, put it, PyScript offers “programming for the 99%”.

The Minecraft of software

In addition to using Python in the browser, PyScript has a wide range of other potential benefits such as facilitating the use of Python with JavaScript, creating a Python ecosystem with the opportunity to run a host of popular Python packages, and creating a flexible framework, which means users are able to create and share components in Python. Pliger described PyScript as the Minecraft of software development and emphasized its potential to introduce a fun element to programming with simplicity at its core.

In comparison, learning to code using Python without a framework would be a much more complicated matter and is not advisable for beginners. The fact of the matter is that many thousands of hours are put into the creation of frameworks and they, in turn, simplify the creation of applications. For many experts, using Python without a framework when building a web application is akin to trying to reinvent the wheel.

One criticism of PyScript is the slow loading speed of web pages and usability. However, Pliger has explained that the PyScript journey has only just begun, so as PyScript remains under heavy development it is unstable and limited in its scope. Users are encouraged to use PyScript in order to experiment and explore as opposed to using it for production at this early stage.

The programming language Python is used for three main tasks: building websites and software, automating tasks, and performing data analysis. Giotto is a prime example of a Python web framework. One of its features is extremely terse code, which means a blog application can be created with under 300 lines of code.

Data analysis using Python

Python really excels when it comes to data analysis. For price comparison websites, it is useful for scraping online retail websites to use the data in order to compare the prices of products at a glance. Another use of Python is for an expert reviewer who is putting together a list of the best online casino bonuses. The reviewer will be able to code a script to extract important details such as payment options from a range of different casino sites to help them provide the best possible overview. Another example is the use of Python to conduct sentiment analysis for hotel reviews. The analysis can be used to discover whether thousands of customer reviews of a hotel are mainly positive, negative or neutral.

PyScript provides users with the opportunity to run Python in the web browser using HTML and while the framework is experiencing some teething troubles, which is to be expected at the beginning of its journey, it does look promising and could certainly achieve its stated aim of making programming and data science accessible to a greater number of users.

Like it? Share with your friends!



Your email address will not be published. Required fields are marked *

error: Hey Butler Content is protected !!