uTidyLib is a Python wrapper for the HTML
Tidy Library. It’s a pretty handy library and is dead
simple to use, but unfortunately it does not compile on Leopard out of the
box. I wrote a quick patch to fix it, and will maintain a vendor branch on GitHub since
development seems to have been abandoned years ago.