skip to navigation
skip to content

csscompressor 0.9.4

A python port of YUI CSS Compressor

Almost exact port of YUI CSS Compressor. Passes all original unittests.


>>> from csscompressor import compress
>>> compress('''
...    your css {
...        content: "!";
...    }
... ''')
'your css{content:"!"}'

Or, if you want to use it from command line:

$ python3 -m csscompressor --help


Tested under Python 2.6, 2.7 and 3.3


Use pip or easy_install:

$ pip install csscompressor


Use py.test to run unittests


Published under the original Yahoo License for YUI Compressor – BSD.

File Type Py Version Uploaded on Size
csscompressor-0.9.4.tar.gz (md5) Source 2015-11-07 232KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 815 downloads in the last month