Contribute Media
A thank you to everyone who makes this possible: Read More

htmx + Flask: Modern Python Web; Hold the JavaScript


This talk was presented at PyBay2021 Food Truck Edition - 6th annual Bay Area Regional Python conference. See for more details about PyBay and click SHOW MORE for information about this talk.

DESCRIPTION There has been a strong drumbeat to move away from server-side programming and lean more and more heavily on JavaScript, especially for dynamic and interactive web sites. With the recent release of HTMX, there is another path Python developers can choose. Use declarative programming on the client side with nearly pure HTML and CSS and double down on back-end Python (Flask, Django, FastAPI, and other frameworks).

In this session, Michael Kennedy will present some of the cleanest Flask code you have seen while at the same time adding rich interactivity on the front-end -- all the while with no JavaScript in side. It's a new, and likely better, way to think about building dynamic Python web apps.

SPEAKER BIO A Python and MongoDB enthusiast, and an entrepreneur. Host of @TalkPython and @PythonBytes, founder of Talk Python Training. Python Software Foundation Fellow.

SPONSOR ACKNOWLEDGEMENT The post production of this and other PyBay2020 videos are made possible by our sponsors: - Carta - Anyscale - Goodrx - Nginx -

EVENT PRODUCER ACKNOWLEDGEMENT This community conference is produced by organizers of SF Python meetup and volunteers from around the SF Bay Area and beyond. See upcoming events here:


Improve this page