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 --helpCompatibility
Tested under Python 2.7 and 3.3+
InstallationUse pip
or easy_install
:
$ pip install csscompressorDevelopment
Use py.test to run unittests
LicensePublished under the original Yahoo License for YUI Compressor -- BSD.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4