Preview: Pyscript at PyCon 2023

Published April 14, 2023

Tags: pyscript python pycon PyCon2023

Pycon US is almost upon us! After Peter Wang's dynamite keynote launching PyScript at PyCon US 2022, the team is back again with a swath of interesting talks, tutorials, and topics in Salt Lake City this year. If you're interesting in PyScript, or Python on the web in any form, I'd highly encourage you to check these out.

Update 6/2/23: Links to the recordings of each talk have been added.

PyScript Team Talks

The following are talks and tutorials being given by PyScript team members, on PyScript or related topics:

Tutorial: Writing Serverless Python Web Apps with PyScript

Date: Wednesday April 19, 2023. 1:30pm-5:00pm
Room: 250D

We'll be kicking off the week strong with a full tutorial sesion on PyScript, hosted by Engineering Manager Ted Patrick with contributions by several of the PyScript core team. We'll look at the fundamentals of PyScript, how to configure a PyScript page/app with all the resources it needs, how to respond to events, build and utilize plugins, and use PyScript to bring all the power of existing JavaScript libraries into the Python world. No shortage of exciting things to cover!

I say "we" because I'm fortunate enough to be a part of the team presenting this session, in my own small way. If you want to learn more about PyScript, meet the team, or get involved, this would be a great session to attend. We'd love to see you there!

Talk: Build Yourself a PyScript

Date: Friday April 21, 2023. 12:15pm-1:00pm
Room: 335ABC

PyScript team members Paul Everitt and Nicholas Tollervey will be taking a look at Python platforms on the web. If you were inventing a general-purpose Python platform that you wanted others to use and build upon, what considerations might you have for its API, format and function? What does a "file" mean in the context of a web page? How would "virtual environments" work? What is a Web Worker and why should you care?

Both Nicholas and Paul are seasoned experts in plumbing these kinds of foundational questions in their talks - if you're thinking about building something with Python on the Web, whether with PyScript or in place of PyScript, this would be a great talk to sit in on.

Talk: The CPU in your browser: WebAssembly demystified

Date: Saturday April 22, 2023. 12:15pm-12:45pm
Room: 225DEF

PyScript principle software engineer Antonio Cuni will be presenting on Web Assembly - what is it, what can it do, what can't it do, and what's coming in the future. The talk aims to go deeper than a simple "What is Web Asssembly?" to talk about advanced topics like dynamic linking, JIT Compliation, the relationship with Emscripten, and more.

Antonio's background in compilers and interpreters (in particular HPy and PyPy) gives him a great lens to view the underlying technology that underpins many of the Python-on-the-Web implementations that now exist, like PyScript and Pyodide.

Talk: PyScript and the magic of Python in the browser

Date: Saturday April 22, 2023. 1:30pm-2:15pm
Room: 355DEF

Lead PyScript Dev Fabio Pliger introduces what PyScript is today! What is is, what it can do, and how it's grown since its launch at the keynote at PyCon 2022. An overview of the new Micropython runtime, the plugin system, the current API, and so on.

To be honest, there's a huge pile of cool stuff for Fabio to talk about here - squeezing it all into 45 minutes will be a feat! But if you're looking to get deeper into PyScript and you aren't able to attend the Tutorial, this would be the talk to attend.

More Python on the Web

If you're reading this far, I'm going to assume you have some interest in Python On the Web as a topic; as such, here are a few more sessions that I think are exciting in that vein:

Tutorial: Web Development With A Python-backed Frontend: Featuring HTMX and Tailwind

Date: Wednesday April 19, 2023. 9am-12:30pm
Room: 250E

Mario Munoz is presenting a tutorial on using HTMX and TailwindCSS inside your web designs. HTMX adds interactivtiy, transitions, sockets, and server sent events directly inside of HTML syntax, while Tailwind is an opinioned set of CSS classes for styling. Both of these are meant to increase development speed by removing verbosity in the development environment.

Tutorial: Streamlit for Python - How to create beautiful interactive GUIs and web apps

Date: Wednesday April 19, 2023. 1:30pm-5pm
Room: 250F

Streamlit is quite a slick data visualization framework, with a hosted solution for data apps as a part of the Streamlit Community Cloud. While this tutorial conflicts with the PyScript tutorial and so I can't officially recommend you clone yourself to attend both, this is one I'm excited to catch on video after the fact.

Talk: Pyscript for Education

Date: Saturday April 22, 2023. 10:45pm-11:15pm
Room: 355DEF

Professor of Finance Blake Rayfield is giving a talk on the advantages of PyScript from a distribution standpoint, with a focus on the educational space. The zero-install nature of PyScript lowers the barrier to access for folks who don't have the technical background, permission, or time to install Python locally. He'll be addressing what PyScript brings to the table that previous tools didn't, and how future developments can continue to push Python in an even-more-accessible direction.

Talk: Inside your web framework: intro to the ASGI spec, middleware and apps

Date: Saturday April 22, 2023. 10:45pm-11:15pm
Room: 255ABC

For the more backend-focused Python devs, Adrian Garcia Badaracco is leading a session on the Asynchronous Server Gateway Interface, a spec and API for writing event-driven web applications. The talk includes writing a simple ASGI app from scratch, then building it up to a featurefull server architecture. If you're looking to squeeze cycles out of your backend, this would be a neat talk to attend.

The Anaconda Booth

As a contributing sponsor of PyCon, my understanding is that Anaconda will have a booth on the expo floor! Since I'm not an Anaconda company member, I can't speak to exactly what will be going on there. That said, if you wanted to chat about PyScript, Python Anywhere, Anaconda Notebooks, or the companies other interesting web offerings, I suspect you'd find a friendly face there.