HEX
Server: LiteSpeed
System: Linux houston.panomity.com 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User: nudepix (1011)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //lib/python3/dist-packages/csscompressor-0.9.5.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: csscompressor
Version: 0.9.5
Summary: A python port of YUI CSS Compressor
Home-page: http://github.com/sprymix/csscompressor
Author: Yury Selivanov
Author-email: info@sprymix.com
License: BSD
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2.6
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Utilities
License-File: LICENSE

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