Offline

PyJSX: Write JSX Directly in Python - No Strings Attached!

Track:
Web Development, Web APIs, Front-End Integration
Type:
Talk
Level:
intermediate
Room:
South Hall 2A
Start:
13:55 on Friday, 18 July 2025
End:
14:25 on Friday, 18 July 2025
Duration:
30 minutes
View in the schedule

Abstract

Tired of wrestling with clunky string templates or learning yet another templating language just to render some HTML? PyJSX brings the elegance and power of React-style JSX syntax directly to Python, allowing you to create complex HTML structures using Python's native syntax.

Together we'll see how one can build reusable components with standard Python functions, but I'll also showcase some of the nitty-gritty implementation details that make PyJSX possible, including a custom parser and a lot of import magic.

Love it or hate it, you'll walk away understanding how language extensions such as PyJSX can push Python's boundaries in unexpected ways. Come see how we can blend Python's simplicity with JSX's declarative power - and decide for yourself if this unholy alliance is a brilliant innovation or beautiful madness!