skip to navigation
skip to content

Not Logged In

csscompressor 0.9.2

A python port of YUI CSS Compressor

Latest Version: 0.9.3

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

Usage

>>> 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

Compatibility

Tested under Python 2.6, 2.7 and 3.3

Installation

Use pip or easy_install:

$ pip install csscompressor

Development

Use py.test to run unittests

License

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

 
File Type Py Version Uploaded on Size
csscompressor-0.9.2.tar.gz (md5) Source 2014-04-01 231KB
  • Downloads (All Versions):
  • 10 downloads in the last day
  • 360 downloads in the last week
  • 440 downloads in the last month