/usr/lib/python3/dist-packages/slimmer-0.1.30.egg-info/PKG-INFO is in python3-slimmer 0.1.30-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | Metadata-Version: 1.1
Name: slimmer
Version: 0.1.30
Summary: HTML,XHTML,CSS,JavaScript optimizer
Home-page: http://www.fry-it.com
Author: Peter Bengtsson
Author-email: peter@fry-it.com
License: Python
Download-URL: http://pypi.python.org/pypi/slimmer/
Description: slimmer.py is a whitespace optimizer for CSS, HTML and XHTML output.
It's written by Peter Bengtsson, peter@fry-it.com in 2004-2005. Still
maintained in 2008.
INSTALLATION::
$ sudo easy_install slimmer
Alternative::
$ tar -zxvf slimmer-x.x.x.tgz
$ cd slimmer/
$ sudo python setup.py install
USAGE::
>>> import slimmer
>>> from slimmer import css_slimmer
>>> css_slimmer("h1, h2 { font-family: 'Courier New', Courier; }")
"h1,h2{font-family:'Courier New',Courier;border:1px solid black;}"
>>> html_slimmer('<a href="x" title=" foo bar "> one </a> <br />')
>>> from slimmer import html_slimmer, xhtml_slimmer
>>> html_slimmer('''<a href="x" title=" foo bar "
> one </a> <br/>''')
'<a href="x" title=" foo bar "> one </a><br />'
UNITTESTS::
$ cd slimmer/tests
$ python testSlimmer.py
$ python testSlimmer.py --verbose
Keywords: slimmer optimizer optimiser whitespace
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Other Environment
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Communications
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Other/Nonlisted Topic
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|