Get the latest tech news
Htmy – Async, pure-Python rendering engine
Source code: https://github.com/volfpeter/htmy Documentation and examples: https://volfpeter.github.io/htmy htmy Async, pure-Python rendering engine. Key features - Async-first, to let you make the best use of modern async tools.
This can reduce the amount of boilerplate you need to write in some cases, and also gives you the freedom to split the rendering and non-rendering logic in any way you see fit. In fact, built-in components get their Formatter from the context if it contains one, to make it possible to customize tag property name and value formatting. Then there are tools that aim for the middleground, usually by providing most of the benefits and drawbacks of complete application frameworks while leaving state management, client-server communication, and dynamic UI updates for the user to solve, often with some level of HTMX support.
Or read this on Hacker News