rCSSmin 1.0.5

André Malo nd at perlig.de
Sat Nov 8 21:57:08 CET 2014

Hello World,

I'm pleased to announce version 1.0.5 of rCSSmin.

About rCSSmin

rCSSmin is a CSS minifier written in python based on the semantics of
the YUI compressor, which itself is based on the rule list by Isaac

This module is a re-implementation aiming for speed instead of maximum
compression, so it can be used at runtime (rather than during a
preprocessing step). RCSSmin does syntactical compression only (removing
spaces, comments and possibly semicolons). It does not provide semantic
compression (like removing empty blocks, collapsing redundant properties
etc). It does, however, support various CSS hacks (by keeping them
working as intended):

  - IE7 hack (``>/**/``)
  - Mac-IE5 hack (``/*\*/.../**/``)
  - The boxmodelhack is supported naturally because it relies on valid
    CSS2 strings
  - Between ``:first-line`` and the following comma or curly brace a
    space is inserted. (apparently it's needed for IE6)
  - Same for ``:first-letter``
Comments starting with an exclamation mark (``!``) can be kept optionally.

About Release 1.0.5

This release mainly fixes a locale-dependent installation issue
with Python 3.

Supported Python Versions

* Python 2.4 - 2.7
* Python 3.1 - 3.4
* PyPy 1.9, 2.0, 2.2
* Jython 2.5, 2.7 (Python only)


rCSSmin is available under the terms and conditions of the "Apache License,
Version 2.0."


* Homepage + Documentation: http://opensource.perlig.de/rcssmin/
* PyPI: https://pypi.python.org/pypi/rcssmin
* Github: https://github.com/ndparker/rcssmin
* License: http://www.apache.org/licenses/LICENSE-2.0

André "nd" Malo

More information about the Python-announce-list mailing list