{"library":"htmlmin","type":"library","category":null,"description":"Htmlmin is a configurable Python library designed for minifying HTML, offering safety features and various options to control the minification process. It removes extra whitespace, comments, and other unneeded characters to reduce page size and improve load times. The current version is 0.1.12, released in December 2017. The original project appears to be in maintenance mode or largely inactive, leading to the creation of several forks (e.g., `htmlmin2`, `htmlmin4`) to address compatibility with newer Python versions and continued development.","language":"python","status":"maintenance","version":"0.1.12","tags":["html","minifier","web","frontend","optimization"],"last_verified":"Fri May 22","install":[{"cmd":"pip install htmlmin","imports":["import htmlmin\nhtmlmin.minify(html_string)","from htmlmin import Minifier\nminifier = Minifier()\nminified_html = minifier.minify(html_string)"]}],"homepage":"https://htmlmin.readthedocs.io/en/latest/","github":"https://github.com/mankyd/htmlmin","docs":null,"changelog":null,"pypi":"https://pypi.org/project/htmlmin/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":80,"avg_install_s":2.3,"avg_import_s":0.11,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/htmlmin/compatibility"}}