A python port of YUI CSS Compressor
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
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.
Nov 26, 2017
0.9.5
Nov 07, 2015
0.9.4
Apr 04, 2014
0.9.3
Apr 01, 2014
0.9.2
Oct 09, 2013
0.9.1
Oct 08, 2013
0.9.0
Files in release
No dependencies