$npx skillfedfor your agent

htmlmin

An HTML Minifier

SkipPyPI HTMLReleased Dec 2017985.3K downloads / moBSDSource build

Decision gist · record as of 2026-08-14

sdist only — htmlmin-0.1.12.tar.gz · builds from source
v0.1.12 · released 2017-12-29

No. The package is abandoned (last release 2017-12-29, last commit 2021-10-20) with no maintenance or compatibility updates. High install friction (source-only distribution) and unverified Python compatibility compound the risk. For modern HTML minification, choose an actively maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Package classifiers indicate Python 2.7 and 3.2 support; compatibility with modern Python versions is unverified and likely broken given abandonment since 2017.
  • High install friction due to source distribution only.
  • Package is abandoned—last release was 2017-12-29 and last commit 2021-10-20—so expect no maintenance, bug fixes, or compatibility updates.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions; you may use and modify freely provided you retain the license notice.

last release 2017-12-29 (3150 days) · last repo commit 2021-10-20 · 137 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 985,273 downloads/mo, #4,575 on PyPI

Verify before relying

pip install htmlmin
import htmlmin
minified = htmlmin.minify('<html>  <body>  Hello  </body>  </html>')
  • Whether htmlmin works correctly with modern Python versions, given the last release predates current standards by years.
  • What specific 'safety features' the minifier provides and how they differ from other HTML minifiers.
  • Whether the package handles modern HTML5 constructs and attributes correctly.
Same gist for agents: .md · .json

What it is and what it does

htmlmin is a Python library that reduces HTML file size by removing unnecessary whitespace, comments, and other redundant markup while preserving the document's structure and functionality. It offers configurable options to control what gets minified, allowing you to balance file-size reduction against the risk of breaking layout or behavior.

The package has no runtime dependencies and installs from source only. However, it has been abandoned since late 2017 and receives no maintenance; the last commit was in 2021 but no releases followed. It was originally designed for Python 2.7 and 3.2, making its behavior on modern Python versions uncertain.

Use it for

  • Reduce HTML payload size in static site generators or build pipelines before deployment.
  • Minify HTML templates in web applications to lower bandwidth costs and improve page load times.
  • Strip comments and whitespace from generated HTML in automated testing or documentation workflows.
  • Integrate HTML compression into CI/CD pipelines for front-end asset optimization.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last release 2017-12-29, last commit 2021-10-20) with no maintenance or compatibility updates. High install friction (source-only distribution) and unverified Python compatibility compound the risk. For modern HTML minification, choose an actively maintained alternative.

Install

htmlmin on PyPI

Before you install

High install friction due to source distribution only. Package is abandoned—last release was 2017-12-29 and last commit 2021-10-20—so expect no maintenance, bug fixes, or compatibility updates.

Package classifiers indicate Python 2.7 and 3.2 support; compatibility with modern Python versions is unverified and likely broken given abandonment since 2017.

License in practice

BSD license is permissive, allowing commercial and private use with minimal restrictions; you may use and modify freely provided you retain the license notice.

Quickstart

pip install htmlmin
import htmlmin
minified = htmlmin.minify('<html>  <body>  Hello  </body>  </html>')

Verify before relying

  • Whether htmlmin works correctly with modern Python versions, given the last release predates current standards by years.
  • What specific 'safety features' the minifier provides and how they differ from other HTML minifiers.
  • Whether the package handles modern HTML5 constructs and attributes correctly.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,150 days since the last release
Last repo commit
First released
Downloads985,273 / month, #4,575 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.2Topic :: Text Processing :: Markup :: HTML

Evidence: htmlmin-0.1.12.tar.gz

Tags

Capabilities
html minifierreduce html file sizehtml whitespace removalcompress html markuphtml optimizationstrip html comments
Topics
abandonedhtml-optimization

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “html whitespace removal”

  • htmlminMinifies HTML by removing unnecessary whitespace and comments while…
  • django-htmlminMinifies HTML by removing whitespace and comments, reducing response…
  • htmlmin2Minifies HTML by removing unnecessary whitespace and comments while…

Give your agent the search over MCP, or paste the wish link into any chat.

More HTML packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
lxml Worth it
PyPI · Python Modules · released May 2026

lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.

Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.

permissive licensecompiled wheel · 3.8+
416.8Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Markdown Worth it
PyPI · Python Modules · released Jul 2026

Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.

Install it if you need to parse Markdown in Python.

BSD-3-Clausepure Python · 3.10+
121.7Mdownloads / mo

See also htmlmin2 · jsmin · django-htmlmin · JSON_minify · rjsmin · csscompressor · rcssmin · mkdocs-minify-plugin · cssmin · css-html-js-minify