Python in the HTML (Browser) | अब HTML में पायथन (ब्राउज़र) | जावास्क्रिप्ट का अंत??

Опубликовано: 30 Октябрь 2024
на канале: Tech With Saif
21
5

Python in the HTML (Browser)

THE END of JavaScript???

Say Hello to PyScript
PyScript is a framework that allows users to create rich Python applications in the browser using a mix of Python with standard HTML. PyScript aims to give users a first-class programming language that has consistent styling rules, is more expressive, and is easier to learn.

What is PyScript? Well, here are some of the core components:

Python in the browser: Enable drop-in content, external file hosting (made possible by the Pyodide project, thank you!), and application hosting without the reliance on server-side configuration

Python ecosystem: Run many popular packages of Python and the scientific stack (such as numpy, pandas, scikit-learn, and more)

Python with JavaScript: Bi-directional communication between Python and Javascript objects and namespaces

Environment management: Allow users to define what packages and files to include for the page code to run

Visual application development: Use readily available curated UI components, such as buttons, containers, text boxes, and more

Flexible framework: A flexible framework that can be leveraged to create and share new pluggable and extensible components directly in Python

All that to say… PyScript is just HTML, only a bit (okay, maybe a lot) more powerful, thanks to the rich and accessible ecosystem of Python libraries.


====================================

PyScript’s goals:

Offer a clean and simple API

Support standard HTML

Extend HTML to read custom components that are opinionated and reliable

Provide a pluggable and extensible components system
============================
PyScript एक ढांचा है जो उपयोगकर्ताओं को मानक HTML के साथ पायथन के मिश्रण का उपयोग करके ब्राउज़र में समृद्ध पायथन एप्लिकेशन बनाने की अनुमति देता है। PyScript का उद्देश्य उपयोगकर्ताओं को एक प्रथम श्रेणी की प्रोग्रामिंग भाषा देना है जिसमें सुसंगत स्टाइल नियम हैं, अधिक अभिव्यंजक है, और सीखना आसान है।

==============================
Resources Links:
Website: https://pyscript.net/
Blog: https://www.anaconda.com/blog/pyscrip...
GitHub: https://github.com/pyscript/pyscript