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


Groups > comp.lang.python.announce > #1216

rCSSmin 1.0.3

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <nd@perlig.de>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; '(python': 0.07; 'pypy': 0.07; 'skip:` 10': 0.07; 'etc).': 0.09; 'naturally': 0.09; 'runtime': 0.09; 'semantic': 0.09; 'url:apache': 0.09; 'url:github': 0.09; 'yui': 0.09; 'python': 0.11; '2.7': 0.14; 'aiming': 0.16; 'andr\xe9': 0.16; 'brace': 0.16; 'comma': 0.16; 'compression': 0.16; 'curly': 0.16; 'does,': 0.16; 'exclamation': 0.16; 'ie7': 0.16; 'license:': 0.16; 'only)': 0.16; 'redundant': 0.16; 'semantics': 0.16; 'syntactical': 0.16; 'to:addr:python-announce-list': 0.16; 'url:license-2': 0.16; 'url:licenses': 0.16; 'skip:= 10': 0.16; 'module': 0.19; 'written': 0.21; 'hack': 0.22; 'header:User-Agent:1': 0.23; '(by': 0.24; 'versions': 0.24; '2.0': 0.26; 'possibly': 0.26; 'supported': 0.26; 'world,': 0.26; 'properties': 0.29; '(like': 0.30; 'css': 0.30; "i'm": 0.30; 'comments': 0.31; 'relies': 0.31; 'skip:= 20': 0.31; 'url:python': 0.33; 'announce': 0.33; 'version': 0.36; 'url:org': 0.36; 'list': 0.37; 'starting': 0.37; 'needed': 0.38; 'does': 0.39; 'itself': 0.39; 'to:addr:python.org': 0.39; 'space': 0.40; 'release': 0.40; 'removing': 0.60; 'received:unknown': 0.61; 'extended': 0.61; 'content-disposition:inline': 0.62; 'received:217': 0.63; 'header :Message-Id:1': 0.63; 'maximum': 0.63; 'provide': 0.64; 'more': 0.64; 'kept': 0.65; 'license': 0.66; 'url:0': 0.67; 'between': 0.67; '(apparently': 0.84; '2.7.': 0.84; '3.4': 0.84; '=====': 0.84; 'collapsing': 0.84; 'isaac': 0.84; 'homepage': 0.91; 'received:(helo localhost)': 0.91
From André Malo <nd@perlig.de>
Organization TIMTOWTDI
To python-announce-list@python.org
Subject rCSSmin 1.0.3
Date Fri, 14 Feb 2014 00:12:09 +0100
User-Agent KMail/1.9.10
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
Content-Disposition inline
X-Mailman-Approved-At Fri, 14 Feb 2014 20:23:03 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.6929.1392405785.18130.python-announce-list@python.org> (permalink)
Lines 65
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1392405785 news.xs4all.nl 2968 [2001:888:2000:d::a6]:59248
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1216

Show key headers only | View raw


Hello World,

I'm pleased to announce version 1.0.3 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.3
===================

- Support for more CSS @-groups was added (@supports, @document, @keyframes)
- Python support was extended to Python 3.4 and Jython 2.7. 


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

* Python 2.4 - 2.7
* Python 3.1 - 3.4
* PyPy 1.9, 2.0
* Jython 2.5, 2.7 (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

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

rCSSmin 1.0.3 André Malo <nd@perlig.de> - 2014-02-14 00:12 +0100

csiph-web