New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

csscompressor

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csscompressor

A python port of YUI CSS Compressor

pipPyPI
Version
0.9.5
Maintainers
2

.. image:: https://travis-ci.org/sprymix/csscompressor.svg?branch=master :target: https://travis-ci.org/sprymix/csscompressor

Almost exact port of YUI CSS Compressor. Passes all original unittests.

Usage

.. code:: pycon

>>> from csscompressor import compress
>>> compress('''
...    your css {
...        content: "!";
...    }
... ''')
'your css{content:"!"}'

Or, if you want to use it from command line:

.. code::

$ python3 -m csscompressor --help

Compatibility

Tested under Python 2.7 and 3.3+

Installation

Use pip or easy_install:

.. code::

$ pip install csscompressor

Development

Use py.test to run unittests

License

Published under the original Yahoo License for YUI Compressor -- BSD.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts