Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1900 > unrolled thread

rCSSmin 1.0.6

Started byAndré Malo <nd@perlig.de>
First post2015-10-11 18:06 +0200
Last post2015-10-11 18:06 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  rCSSmin 1.0.6 André Malo <nd@perlig.de> - 2015-10-11 18:06 +0200

#1900 — rCSSmin 1.0.6

FromAndré Malo <nd@perlig.de>
Date2015-10-11 18:06 +0200
SubjectrCSSmin 1.0.6
Message-ID<mailman.576.1444634935.28679.python-announce-list@python.org>
Hello World,

I'm pleased to announce version 1.0.6 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
Schlueter.

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.6
===================

This release mainly fixes the minification of calc() calls (Issue #1).
Additionally it lifts installation restrictions for future python versions.


Supported Python Versions
=========================

* Python 2.4 - 2.7
* Python 3.2 -
* PyPy 1.9 -
* Jython 2.5 - (Python only)


License
=======

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


Links
=====

* 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web