There is a new and you could say shinning web framework in the works – Pyscript. Pyscript is an open-source web framework that allows users to create and implement rich Python applications in the web browser using HTML’s interface with essential web tools to bring an easy web experience to users.
The Pyscript web framework hopes to bring the capabilities of the popular Python programming language to the web development infrastructure – by running python code in the browser.
The python framework was announced at the PyCon US 2022. it is still very much under development (presently in alpha) by a team at Anaconda Inc. This is the organization behind the development of the popular python development and management environment – Anaconda.
This is the route that Pyscript programming would also follow.
One benefit that this framework would bring is that it would enable web developers to access the power that the python programming language offers and in like manner give data scientists (who are major users of the python language) to create front-end implementations of their application easily.
To get a feel of the web framework, the appropriate pyscript files can be imported into an HTML using the following syntax:
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
You can play with it, for now, to learn how it works. BUT DO NOT USE IT IN ANY PRODUCTION DEVELOPMENT. This is because here many known issues have been identified and addressed to improve it.
You can check out some developed examples using the framework here.
Though it is still heavily under development, it would be very pleasing to see it being further developed and more features being integrated; as it grows into a valuable robust tool in the web development community and field.
- Sovereign Tech Fund Invests €1M In GNOME’s Open-Source Project - November 19, 2023
- Google’s Bard AI: ChatGPT Rival or The Next Frontier in AI and NLP Technology - February 8, 2023
- Google Introduces KataOS, as a Security-based Open-source Operating System - December 22, 2022