https://github.com/valueof/pycssmin
CSS minification tool written in Python
https://github.com/valueof/pycssmin
Last synced: about 1 year ago
JSON representation
CSS minification tool written in Python
- Host: GitHub
- URL: https://github.com/valueof/pycssmin
- Owner: valueof
- Created: 2011-07-22T02:18:58.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-07-22T20:41:09.000Z (almost 15 years ago)
- Last Synced: 2025-04-07T19:51:42.725Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 96.7 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyCssMin
This is a CSS minification tool. It is a Python port of cssmin.js,
which is a JavaScript port of the Java CSS minifier distributed with
YUICompressor, which is itself a port of the PHP cssmin utility.
### Usage
```
from cssmin import cssmin
cssmin("""
body {
color: #FFFFFF;
}
""")
> 'body{color:#fff}'