7f1d985c5f
d/s/options: extend-diff-ignore of .gitreview d/control: Using OpenStack's Gerrit as VCS URLs. Change-Id: I8fd503cb454f3a9efa2501aa8ac2e1b9d638d1ca |
||
---|---|---|
csscompressor | ||
debian | ||
.gitignore | ||
.gitreview | ||
.travis.yml | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
setup.py |
README.rst
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.