Exploring PuePy, a reactive frontend framework in Python, bringing Python to the browser with Pyodide, creating progressive web apps in Pyscript, comparing reactivity in Vue, delving into PuePy components, discussing SPAs with PewPie, browser challenges in Python frontend development, and handling email send failures with Pupy project.
Read more
AI Summary
AI Chapters
Episode notes
auto_awesome
Podcast summary created with Snipd AI
Quick takeaways
PuePy enables Python front end development similar to Vue.js.
PyScript allows running Python in the browser with PewPy for interactive components.
Maintaining DOM coherence in PyScript front end development requires 'refs'.
Deep dives
Python's Dominance in Data Science and Web Development
Python is a popular language dominating data science and being widely chosen for web development. While it excels in these areas, it is not commonly used for front end programming, where frameworks like React and Vue reign. However, emerging tools like PyScript offer the possibility of using Python for front end tasks.
Introducing PewPie: Python-Based Front End Framework
PewPie is not only a runtime in the browser but also a reactive front end framework in Python. Developed by Ken Kinder, PewPie allows for building interactive front end components using Python in a manner similar to Vue .js.
Technical Aspects of PyScript and PewPie
PyScript enables running Python in the browser, offering both Pyodide and MicroPython versions for different requirements. PewPie simplifies front end development by providing components and event handlers to create interactive user interfaces.
Challenges and Solutions in Front End Development
Front end development with PyScript and PewPie faces challenges in maintaining DOM coherence during state changes. Utilizing 'refs' enables minimizing DOM updates, ensuring smooth interactions and performance.
Outlook on PyScript and Future Developments
PyScript's community support and potential for growth are highlighted, making it an experimental yet promising tool. Collaboration, contributions, and testing further enhance its stability and usability. Additionally, tools like PG Cure are recommended as practical alternatives for task queues.
Python is one of the most popular languages of the current era. It dominates data science, it an incredible choice for web development, and its many people's first language. But it's not super great on front-end programing, is it? Frameworks like React, Vue and other JavaScript frameworks rule the browser and few other languages even get a chance to play there. But with pyscript, which I've covered several times on this show, we have the possibility of Python on the front end. Yet it's not really a front end framework, just a runtime in the browser. That's why I'm excited to have Ken Kinder on the podcast to talk about his project PuePy, a reactive frontend framework in Python.
Michael's PWA pyscript app: github.com Michael's demo of a PWA pyscript app: youtube.com Python iOS Web App with pyscript and offline PWAs video: youtube.com Watch this episode on YouTube: youtube.com Episode transcripts: talkpython.fm
--- Stay in touch with us --- Subscribe to us on YouTube: youtube.com Follow Talk Python on Mastodon: talkpython Follow Michael on Mastodon: mkennedy
Get the Snipd podcast app
Unlock the knowledge in podcasts with the podcast player of the future.
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode
Save any moment
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Share & Export
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode