I think my #kettlingar #RPCKittens side-quest from #moggie work may be slowly winding down.

I've got the kittens working well, got tests written and passing on multiple Python versions. I am happy with the performance and feature set.

Now I just need to migrate all the moggie code to use kittens. Ugh.

I wonder if a GIL-free Python will make render the entire architecture obsolete before I get it shipped? Naaaah...

Sleep training a baby means 4-5am commits are now a thing for me again.

Last night #Kettlingar learned how to generate a stream of Server Sent Events from a #Python generator, how to parse form variables and, tying it all together, gained an example showing how to add an #HTMX UI to an #RPCKitten.

https://github.com/mailpile/kettlingar/blob/main/examples/htmx.py

... also, HTMX is pretty neat! I like it.

kettlingar/examples/htmx.py at main · mailpile/kettlingar

RPC Kittens! Cute asyncio HTTP-RPC microservices for fun and profit. - mailpile/kettlingar

GitHub