Skip to content
/ cssmin Public
forked from zacharyvoase/cssmin

A Python port of the YUI CSS compression algorithm.

License

Notifications You must be signed in to change notification settings

p0is0n/cssmin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cssmin

This is a Python port of the YUI CSS Compressor. Install it:

$ easy_install cssmin # OR
$ pip install cssmin

Use it from the command-line:

$ cssmin --help
$ cat file1.css file2.css file3.css | cssmin > output.min.css
$ cssmin --wrap 1000 < input.css > output.css

Or use it from Python:

>>> import cssmin
>>> output = cssmin.cssmin(open('input.css').read())
>>> print output

About

A Python port of the YUI CSS compression algorithm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published