Skip to main content

Compression related scripts

Project description

Examples:

python scripts/yui_compress_files.py –compressor path/to/yuicompressor-2.4.8.jar –root path/to/stylesheets –files cssfile1.css stylesheetlib/cssfile2.css cssfile3.css

# creates files: cssfile1.min.css, stylesheetlib/cssfile2.min.css, cssfile3.min.css using yuicompressor jar file

python scripts/compile_single_file.py –root path/to/javascripts –files jsfile1.js jsfile2.js jsfile3.js –filename single_optimized_file.js

# creates one file single_optimized_file.js using unix concat

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
compress_pyscripts-0.0.1.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page