Skip to main content

A python port of YUI CSS Compressor

Project description

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

Usage

>>> from csscompressor import compress
>>> compress('''
...    your css {
...        content: "!";
...    }
... ''')
'your css{content:"!"}'

Compatibility

Tested under Python 2.6, 2.7 and 3.3

Development

Use py.test to run unittests

License

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for csscompressor, version 0.9.0
Filename, size File type Python version Upload date Hashes
Filename, size csscompressor-0.9.0.tar.gz (235.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page