PyScript is officially here!🚀 Build web apps with Python & HTML

preview_player
Показать описание
PyScript is officially here! Build web apps with Python & HTML. In this Crash Course we take a look at the new PyScript platform, I show you all important features, and some example websites you can build with it.

Demos:

Resources:

Get my Free NumPy Handbook:

📓 ML Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel:

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

#Python

Timeline:
00:00 - Introduction
00:50 - pyscript features
04:08 - how to use pyscript & main features
12:42 - example apps

----------------------------------------------------------------------------------------------------------
* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Рекомендации по теме
Комментарии
Автор




Note: These are sponsored links. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you!🙏

patloeber
Автор

I love it how the web development industry keeps on inventing new ways to render the exact same thing; just to keep us busy...

bxlbjorn
Автор

Finally JS is becoming quite fast but to balance that humanity decided to run python in the browser. 😂

pengain
Автор

As much as this is unique and welcome, I can't imagine Pyscript becoming big among the other 100 web frameworks that get released each month.

CaptainCsaba
Автор

This is an incredible project. Just look at the popularity of streamlit. There is a giant demand to quickly standup python applications with a web front end.

gardnmi
Автор

- "WASM is great because it allows near-native performance by skipping the js interpreter"
- "Let's use it to run a python interpreter!"

eaad
Автор

A few concerns: Loading time, downloading dependencies every time instead of caching them.

Security: For example you showed it using open ai, surely anybody could view the source of the page and steal your api key.

I'm not sure I see the point just yet, though capable it's still using js and there's no way around that I guess.

norndev
Автор

Really excited from the video. Thanks Patrick for the great intro.

Looking forward for more tutorials about pyscript🎉

Eltrissi
Автор

One thing I don't understand ids why PyScript is enclosed bewteen <pyscript></pyscript> tags instead of <script language="PyScript></script> tags? Why not use exisiting HTML language features to indicate a PyScript section.

vonchilliman
Автор

Awesome video! The 2D game was one of my proof-of-concept apps. The game itself is one of the demos that's bundled with the Pyxel engine, with a few modifications like adding a mute button.

For what it's worth, experimental support for Pyxel is built into the current release of the Pyodide runtime (0.23), but I'd be a little cautious deploying with that at scale - because of how simulated infinite loops work in Emscripten (i.e. doing while(True) without locking everything up), some dead Python frames are left on the stack, leading to a slow memory leak.

It's definitely stable enough to play around with an have a good time - but watch PyScript and Pyodide for stability updates.

CodingGlass
Автор

I’m not sure I’d use this very often. But, suppose you do data analysis or machine learning in python. With this you could just call the models directly. That seems nice.
And 100 million other applications. If you have other better tools you can use those, but it’s nice if people can use what they’re familiar with. Then again, it would have been nice if many of us happened to be familiar with the same stuff instead of having 50 choices. Maybe I can scribble together a new language and make everyone adopt that…

HyperFocusMarshmallow
Автор

@PatrickLoeber Lovely video and cool showcase, I look forward to exploring. *Important note:* I'd recommend reuploading with your ChatGPT API key blurred.

SteveMcKeon
Автор

If it doesn't have 12 billion dependencies that all break with every single update then it's never going to be able to compete with TypeScript.

waytospergtherebro
Автор

WOW... Im new to this and this video gave me more clues to add to the scrypt and site im trying to build by self educating me... More videos like this please using PyScript and how to incorporate images on background, images on buttons, boxes that show images, calculators... that would be awesome for me to learn and get knowledge faster while listening to the videos and understanding the mechanics of this new world to me... Thank you so much Patrick cheers

pedroserra
Автор

Crazy Stuff!!!Unbelievable!!!!Next level Python!!!Thank you so much!!!

giannisnik
Автор

i want to cry this is much soo much easier and understandable then sometimes javascript with their frameworks

BmxAddict
Автор

Why <py-script> ? Why not <script type="text\python" language="Python" > ?

ihateidiots
Автор

About the only real use I see for this right now is to take RenPY games and host them on the web.
Most all the things you would want to use python for, aren't really intended for use on the front end but instead in standalone applications and on servers for heavy data processing.

whiskeyfur
Автор

Awesome video! thanks. So, we can't currently deploy this in our custom domains? or can we?

SreevathsaBV
Автор

Looks interesting. What's its usefulness given the plethora of already existing frameworks that do this better faster easier?

Godrose
join shbcf.ru