{"categories":[{"label":"HTML","url":"https://skillfed.io/packages/category/text-processing-markup-html"}],"enrichment":{"capability":"Minifies HTML by removing whitespace and comments, reducing response size for faster client-side load times. Works as Django middleware, a decorator, a standalone function, or a command-line tool.","skillfed_tags":["abandoned","html-optimization","legacy-django"],"use_cases":["Reduce HTML response size in production Django deployments by automatically minifying rendered templates via middleware.","Minify static HTML files in build or deployment scripts using the command-line tool without a web framework.","Selectively minify specific views by wrapping them with the html_minify() function.","Exclude sensitive URLs from minification using regex patterns in EXCLUDE_FROM_MINIFYING.","Preserve HTML comments during minification by setting KEEP_COMMENTS_ON_MINIFYING to True."],"what_it_does":"django-htmlmin is an HTML minifier that strips whitespace, newlines, and optionally comments from HTML markup to reduce payload size. It integrates with Django via middleware or decorators, works standalone with other Python web frameworks via a direct function call, and includes a command-line tool for static files. The middleware can be configured to minify selectively by URL pattern and respects Django's DEBUG setting by default.\n\nThe package has no runtime dependencies and is lightweight, but it is abandoned: the last release was 2019-03-18, and the declared support covers only Django 1.11\u20132.1 and Python 2.7\u20133.7\u2014all now end-of-life. While the minification logic itself may still work, there is no active maintenance, no testing against modern versions, and no guarantee of compatibility with current Django or Python releases.","worth_installing":"No. The package is abandoned (no releases since 2019-03-18) and its declared support covers only obsolete Django and Python versions. While the core minification logic may still function, there is no active maintenance, no testing against modern frameworks, and no assurance of correctness or security. For a maintained alternative, consider a current web framework's built-in optimization features."},"id":"django-htmlmin","links":{"html":"https://skillfed.io/packages/django-htmlmin","md":"https://skillfed.io/packages/django-htmlmin.md","pypi":"https://pypi.org/project/django-htmlmin/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-03-18","license_spdx":null,"license_treatment":"permissive","name":"django-htmlmin","python_support":"unspecified","summary":"HTML minifier for Python frameworks (not only Django, despite the name)."},"popularity":{"monthly_downloads":906300,"position":4759,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.11.0"}
