Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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:"!"}'

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.

Release History

This version
History Node

0.9.5

History Node

0.9.4

History Node

0.9.3

History Node

0.9.2

History Node

0.9.1

History Node

0.9.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
csscompressor-0.9.5.tar.gz
(237.8 kB) Copy SHA256 Hash SHA256
Source None Nov 26, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting