cssmin
A Python port of the YUI CSS compression algorithm.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2013, no maintenance since 2022), has an unclear license, and high install friction. Modern CSS minifiers (integrated into webpack, esbuild, PostCSS, or other active build tools) are better maintained, faster, and handle contemporary CSS features. Install only if you are maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- No explicit Python version requirement specified; compatibility with modern Python versions is unverified.
- High install friction due to source-only distribution.
- Package is abandoned—last release October 2013, no commits since December 2022—making it unmaintained and unsuitable for new projects.
License · maintenance · safety
UNKNOWN (unclear) — License is marked UNKNOWN with no SPDX identifier, creating legal ambiguity about permitted use and redistribution.
last release 2013-10-14 (4687 days) · last repo commit 2022-12-18 · 132 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,956 downloads/mo, #10,865 on PyPI
Alternatives
Verify before relying
pip install cssmin
import cssmin
output = cssmin.cssmin(open('input.css').read())
print(output)- Whether the package works correctly with Python 3.x versions
- Whether the YUI CSS Compressor algorithm it ports remains adequate for modern CSS
- What the actual license is (marked UNKNOWN in metadata)
What it is and what it does
cssmin is a Python port of the YUI CSS Compressor that reduces CSS file size by stripping whitespace and unnecessary characters. It works both as a command-line utility (piping CSS through `cssmin`) and as a Python library (calling `cssmin.cssmin()` on a CSS string). The package has no runtime dependencies.
However, the package is abandoned: the latest release is from October 2013, and the repository shows no commits since December 2022. This means it receives no maintenance, bug fixes, or updates for modern CSS features or Python versions. Using it in new projects carries risk of incompatibility and unaddressed security or correctness issues.
Use it for
- Build scripts that need to minify CSS as part of a legacy project still using this specific tool
- Offline CSS compression when modern build tools are unavailable or undesirable
- Batch processing CSS files from the command line in environments where the tool is already installed
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2013, no maintenance since 2022), has an unclear license, and high install friction. Modern CSS minifiers (integrated into webpack, esbuild, PostCSS, or other active build tools) are better maintained, faster, and handle contemporary CSS features. Install only if you are maintaining legacy code that already depends on it.
Install
cssmin on PyPI
Before you install
High install friction due to source-only distribution. Package is abandoned—last release October 2013, no commits since December 2022—making it unmaintained and unsuitable for new projects.
No explicit Python version requirement specified; compatibility with modern Python versions is unverified.
License in practice
License is marked UNKNOWN with no SPDX identifier, creating legal ambiguity about permitted use and redistribution.
Quickstart
pip install cssmin
import cssmin
output = cssmin.cssmin(open('input.css').read())
print(output)
Verify before relying
- Whether the package works correctly with Python 3.x versions
- Whether the YUI CSS Compressor algorithm it ports remains adequate for modern CSS
- What the actual license is (marked UNKNOWN in metadata)
Package facts
| License | UNKNOWN unclear |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 4,687 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 153,956 / month, #10,865 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: cssmin-0.2.0.tar.gz
Tags
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 › “minimize css files”
- cssminCompresses CSS files by removing unnecessary characters while…
- vbuildCompiles Vue single-file components (*.vue) to standalone HTML,…
- css-html-js-minifyMinifies CSS, HTML, and JavaScript files or folders to reduce file…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also csscompressor · rcssmin · jsmin · htmlmin2 · htmlmin · webassets · mkdocs-minify-plugin · django-compressor · Flask-Minify · minify-html