Skip to content
Sections
>> Trisquel >> Packages >> etiona >> python >> python3-rcssmin
etiona  ] [  nabia  ] [  aramo  ]
[ Source: python-rcssmin  ]

Package: python3-rcssmin (1.0.6-1ubuntu3)

CSS Minifier - Python 3.x

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 3.x module.

Other Packages Related to python3-rcssmin

  • depends
  • recommends
  • suggests
  • dep: libc6 (>= 2.4)
    GNU C Library: Shared libraries
    also a virtual package provided by libc6-udeb
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
    dep: python3 (<< 3.7)
    dep: python3 (>= 3.6~)

Download python3-rcssmin

Download for all available architectures
Architecture Package Size Installed Size Files
amd64 17.6 kB65 kB [list of files]
i386 17.7 kB60 kB [list of files]