A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sprymix/csscompressor below:

sprymix/csscompressor: Port of YUI CSS Compressor to Python

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


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