Need help with cssmin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

129 Stars 44 Forks Other 23 Commits 1 Opened issues


*NO LONGER MAINTAINED*. A Python port of the YUI CSS compression algorithm.

Services available


Need anything else?

Contributors list

No Data


This is a Python port of the YUI CSS Compressor. Install it:

$ easy_install cssmin # OR
$ pip install cssmin

Use it from the command-line:

$ cssmin --help
$ cat file1.css file2.css file3.css | cssmin > output.min.css
$ cssmin --wrap 1000 < input.css > output.css

Or use it from Python:

>>> import cssmin
>>> output = cssmin.cssmin(open('input.css').read())
>>> print output

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.