During his keynote at PyCon 2022, Anaconda CEO Peter Wang unveiled a new project: PyScript.
PyScript is described as a framework that uses a mixture of Python and standard HTML to allow users to create Python applications in a browser.
“PyScript aims to give users a first-class programming language that has consistent styling rules, is more expressive, and is easier to learn,” said one of its creators, Principal Software Architect Fabio Pliger, in a company blog post.
In a more detailed technical blog post, Pliger says, “One of the ways I like to think of PyScript is [as] ‘the Minecraft for software development’: a framework that provides basic blocks for users to create their own worlds (applications) or new blocks (PyScript components and widgets) that others can use.”
This flexibility reflects the goal the program’s developers had of offering a reliable and accessible framework to create and ship applications for any hardware and software platform, “while still having fun.” Instead of starting a new technology stack from scratch, PyScript’s authors wanted to mine options from the rich Python ecosystem. They wanted to offer a clean API that supports standard HTML that can also extend HTML to read custom components while providing a pluggable and extensible components system, all on an adaptable platform.
“With a little bit of flexibility, we believed that the browser would be a great platform that we could adapt to achieve our goals of providing a reliable, accessible, and fun experience for PyScript users,” said Pliger. “The browser works everywhere (from laptops, tablets, to phones), and is secure, powerful, and stable, making it, in our opinion, the perfect starting point for carrying out PyScript’s goals.”
“The point is, that by registering new web components that are simple and very expressive, users don’t need to waste their time learning CSS and other specific web dev technologies,” said Pliger.
The authors of PyScript see the current alpha stage version, which they call unstable and limited but functional, as just the beginning. They envision a future where it becomes a whole new paradigm for application programming and development as PyScript and the core technologies used to build it continue to mature and improve.
Anaconda’s Commercial Fee Is Paying Off, CEO Says
Data Science and AI Predictions for 2022
Anaconda’s 2021 State of Data Science Report Highlights Support for Open Source, Impacts from COVID-19