Preview: Pyscript at PyCon 2023
Published April 14, 2023
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. Links to the recorded talks/tutorials will be added here once they are available online after PyCon.
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
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
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
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
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
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
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
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
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.