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.

Source Distribution

csscompressor-0.9.0.tar.gz (235.2 kB view details)

Uploaded Source

File details

Details for the file csscompressor-0.9.0.tar.gz.

File metadata

File hashes

Hashes for csscompressor-0.9.0.tar.gz
Algorithm Hash digest
SHA256 c108ae1c9cdc706e35d811a9855da5806b55afbe4ff871e035ff5a6c699fd016
MD5 2cfb2ff7c6739df54bd82c532e2fc562
BLAKE2b-256 aae382a08dc75ac3eb3a71522be6856594b442cef3caf3e6c9157eb5c3d6ffdb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page