It may not answer your question directly, but I've used python with JAMstack to show (semi) updated information.
In my case, I needed to show real(ish) time inventory. Our inventory was stuck in an ERP system without an API. So I wrote a scraper that would pull out our inventory, write it to a bunch of markdown files, and push it to Netlify to rebuild the site using Hugo. This was on an hourly cron job.
Since then I've used python to build JAMstack sites from data in Google Sheets. I find that to be a happy medium for projects where there is no user input and I need to update the info somewhat regularly.