cybrkyd

Page with Py

 Thu, 11 Sep 2025 18:45 UTC

Less than 300 lines. That’s the answer to the question: How much Python code would it take to generate a static site?.

Admittedly, this is the first draft and very basic, almost to the point of being not fit for purpose. But it will get there. With the foundation now in place, all that remains is to add a lick of paint, a tiny dab of spit to shine it up and then we are production-ready.

The true test will come when I get it to generate my blog to my satisfaction. For now though, it is alpha. I have much to do yet, so keep an eye on the changes via Codeberg if anyone is interested in (snail-pace) progress.

I have named it Page with Py. And I honestly reckon… maybe about ~400 lines total at the end.

»
Tagged in: #python #PaPy

Visitors: Loading...