Metadata-Version: 1.1
Name: UgliPyJS
Version: 0.2.1
Summary: Python wrapper for Uglify-JS library.
Home-page: https://github.com/OiNutter/uglipyjs
Author: Will McKenzie
Author-email: will@oinutter.co.uk
License: MIT License
Download-URL: https://github.com/OiNutter/uglipyjs/tarball/master
Description: UgliPyJs
        ========
        
        UgliPyJs is a port of the `uglifier`_ gem for python. It wraps the
        `UglifyJS`_ minification tool allowing you to minify your Javascript
        files from your Python code.
        
        Install
        -------
        
        ::
        
        	pip install uglipyjs
        
        Usage
        -----
        
        To minify your javascript code:
        
        ::
        
            import uglipyjs
            js = open('blah.js','r').read()
            uglipyjs.compile(js)
        
        You can also minify with source map:
        
        ::
        
        	import uglipyjs
        	js = open('blah.js','r').read()
        	uglipyjs.compile_with_map(js)
        
        If you need to override the defaults pass a dict of options as a second parameter to the compile function:
        
        ::
        	
        	import uglipyjs
            js = open('blah.js','r').read()
            uglipyjs.compile(js,{'mangle':False})
        
        License
        -------
        
        Copyright 2012 Will McKenzie
        
        UgliPyJs is licensed under the MIT License, please see the LICENSE file
        for more details.
        
        .. _uglifier: https://github.com/lautis/uglifier
        .. _UglifyJS: https://github.com/mishoo/uglifyjs
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: JavaScript
Requires: PyV8
Requires: ordereddict
Requires: PyExecJS
