Michael Kennedy
Michael Kennedy's Thoughts on Technology
Tools
Topics
Courses
Talk Python
Python Bytes
Open Source
AI Enablement
About
© 2006 - 2026 Michael Kennedy
Web
Chameleon templates, modernized: chameleon-rs
I rewrote Chameleon in Rust to make Python web apps faster. chameleon-rs runs your existing templates unchanged and adds async rendering, Markdown, and free-threaded Python support.
Oct 27, 2026
Cutting Python Web App Memory Over 31%
I reduced Python web app memory by 3.2 GB using async workers, import isolation, the Raw+DC database pattern, and disk caching. Detailed before and after numbers for each technique.
Apr 1, 2026
Raw+DC Database Pattern: A Retrospective
After migrating three production Python web apps to the Raw+DC database pattern, I share real-world performance benchmarks: nearly 2x requests per second, 18% less memory, native async support, and freedom from unmaintained ODM libraries.
Mar 30, 2026
Replacing Flask with Robyn wasn't worth it
I converted Python Bytes from Quart/Flask to the Rust-backed Robyn framework and benchmarked it with Locust. The result: no meaningful speed or memory improvement. Here's why framework maturity still wins.
Mar 23, 2026
Use Chameleon templates in the Robyn web framework
Introducing chameleon-robyn, a Python package that adds Chameleon template support to the Rust-backed Robyn web framework as an alternative to Jinja.
Mar 19, 2026
Blocking AI crawlers might be a bad idea
Instead of blocking AI crawlers out of frustration, content creators should embrace deep AI integrations to ensure accurate recommendations and better user experiences. Disappearing from AI results won't make AI go away.
Jan 21, 2026
Talk Python in Production book is out!
A cloud-agnostic guide to building, scaling, and managing your own python infrastructure.
Oct 11, 2025
Goodbye Wordpress, thanks AI
I want to share a story of massive success with agentic coding.
Sep 30, 2025
Michael's Top Trends of 2024 for Python Web Devs
What are my top 8 trends of 2024 for Python web developers?
Dec 21, 2024
Talk Python migrated to Quart web framework
And I did a big write up in case it helps anyone on similar journeys.
Nov 19, 2024
Introducing chameleon-flask package
A new package to add Chameleon HTML support to Flask.
Nov 9, 2024
Search Talk Python from your address bar
It's now possible to search the podcasts from anywhere.
Oct 16, 2024
We Must Replace uWSGI With Something Else
uWSGI is in minimal maintenance mode, now what?
Oct 3, 2024
Passkeys are great, careful of the lock-in
Along came passkeys. A cool idea that quickly turned evil.
Sep 24, 2024
Use Custom Search Engines Way More
Browsers these days let you add custom search destinations directly, which ones could add?
Jan 28, 2024
Unsolicited Advice for Mozilla and Firefox
Some unsolicited, probably painful, but needed advice for Mozilla and Firefox.
Jan 11, 2024
Don't Sweat the Ad Blocker Drama
Chrome has been stirring up lots of concern with their ad-blocker limitations coming. But don't worry, it shouldn't apply to you anyway. Here's why.
Nov 28, 2023
Welcome back RSS
RSS was the foundation of the early web, and it's still important.
Jan 3, 2023
Paying for search in 2022, am I crazy?
I have some core beliefs about the technology world.
Dec 13, 2022
Sometimes, You Should Build It Yourself
When it's healthy to embrace your 'not built here' tendencies.
Dec 8, 2022
Properly Factor Your Jinja HTML Code with Jinja Partials
You wouldn't write 500 lines of Python in one function, so why do it in HTML?
Dec 3, 2022
Installing Mastodon as a Progressive Web App (PWA)
Searching for a great Mastodon app? It might be hiding in your browser!
Nov 18, 2022
Is Python right for your team?
Over at Talk Python, we’re doing a fun online event for people exploring Python and whether it’s a fit for their organization or for their team. Is Python right for your organization? Are you tasked w...
Dec 4, 2019