Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> python >> python-rcssmin
etiona  ]
[ 源代码: python-rcssmin  ]

软件包: python-rcssmin (1.0.6-1ubuntu3)

CSS Minifier - Python 2.7

The minifier is 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).

rcssmin.c is a reimplementation of rcssmin.py in C and improves runtime up to factor 100 or so (depending on the input). docs/BENCHMARKS in the source distribution contains the details.

This package contains the Python 2.7 module.

其他与 python-rcssmin 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: python
    interactive high-level object-oriented language (default version)
    dep: python (<< 2.8)
    dep: python (>= 2.7~)

下载 python-rcssmin

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 17.5 kB65 kB [文件列表]
i386 17.5 kB60 kB [文件列表]