This is uTidylib, the Python wrapper for the HTML cleaning library named
TidyLib:

WWW: https://github.com/xdissent/utidylib