A simple HTML minifier for Python that removes unnecessary whitespace, comments, and optional quotes. Current version 0.1.13, no longer actively maintained.
pip install htmlminfNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minify a simple HTML string.
Use htmlmin or lxml.html instead.
Preprocess content or use a more robust minifier.
Test output thoroughly or switch to html5lib-based minifier.
No dependency data recorded yet.