csscompressor 0.9.5


pip install csscompressor

  Latest version

Released: Nov 26, 2017

Project Links

Meta
Author: Yury Selivanov

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 2.7
  • Python :: 2.6

Topic
  • Software Development :: Build Tools
  • Text Processing :: General
  • Utilities
https://travis-ci.org/sprymix/csscompressor.svg?branch=master

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.

No dependencies