Elevator Pitch
PyScript hit the community like a storm after its announcement and becomes the top trending project on GitHub. It allows the running of Python on the browser. But there’s still some misunderstanding of it. Will it replace all web frameworks? What you can or cannot use PyScript for? Let’s find out.
Description
In this talk, through some examples and demos of PyScript, we will see how to use it - just include the CDN URL, understand that it is a frontend-only Python that runs on the browser and learn the fact that it can work with javascript in conjunction.
After that, we will look at what is under the hood - Pyodide - which is a Python distribution for the browser. It is what is essential to power PyScript. We will discover what is the difference between using PyScript and Pyodide.
Finally, we will conclude what is already available in PyScirpt like which library you can run on PyScript and which ones are still yet to come. In the end, we will answer the question - Will PyScript replace Django?
This talk is for those who are curious about PyScript and the idea of running Python in the browser in general. We will assume no piror knowledge about it.
Notes
Details
Since the launch of Pyscript there are a lot of questions about what is it and how it works. Will it change how we do web development with Python? In this talk, we will go through what Pyscirpt actually is, and how it works (using compared Python libraries on Pyodides). We will also talk about why Pyscript is created - not to take over JavaScript or Django, but to give the rest of 99% of people access to Python.
In this talk, we will also showcase how to use PyScript with JavaScript and/ or Django, hopefully, to inspire Python web developers to try it out.
Outline
- Introduction (5 mins)
- What is pyscript (5 mins)
- How to use pyscript (5 mins)
- Using pyscript with JavaScript (5 mins)
- Using pyscript with Django (5 mins)
- Conclusion (5 mins)