https://github.com/zacharyvoase/cssmin
*NO LONGER MAINTAINED*. A Python port of the YUI CSS compression algorithm.
https://github.com/zacharyvoase/cssmin
Last synced: 6 months ago
JSON representation
*NO LONGER MAINTAINED*. A Python port of the YUI CSS compression algorithm.
- Host: GitHub
- URL: https://github.com/zacharyvoase/cssmin
- Owner: zacharyvoase
- License: other
- Created: 2010-04-08T13:03:22.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2022-12-18T14:53:07.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T16:18:48.140Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 113 KB
- Stars: 133
- Watchers: 7
- Forks: 43
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `cssmin`
This is a Python port of the [YUI CSS Compressor][yuicompressor]. Install it:
[yuicompressor]: http://developer.yahoo.com/yui/compressor/
$ easy_install cssmin # OR
$ pip install cssminUse it from the command-line:
$ cssmin --help
$ cat file1.css file2.css file3.css | cssmin > output.min.css
$ cssmin --wrap 1000 < input.css > output.cssOr use it from Python:
>>> import cssmin
>>> output = cssmin.cssmin(open('input.css').read())
>>> print output