RETIRED, further work has moved to Debian project infrastructure
Go to file
Yury Selivanov bec3e582cb Merge pull request #5 from nikolas/patch-1
Update README.rst
2015-12-16 10:07:00 -05:00
csscompressor Merge pull request #4 from vlad003/master 2015-11-07 11:50:57 -05:00
.gitignore Ignore setup.py-related directories 2013-10-09 12:25:35 -04:00
.travis.yml Update travis 2015-11-07 11:45:55 -05:00
LICENSE Add LICENSE file 2013-10-08 13:25:11 -04:00
MANIFEST.in add MANIFEST.in to keep LICENSE in the distribution 2013-10-08 16:28:43 -04:00
README.rst Update README.rst 2015-12-16 10:03:47 -05:00
setup.py bump version to 0.9.4 2015-08-18 08:28:57 +04:30

README.rst

image

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.