librelist archives

« back to archive

pure python javascript minifier

pure python javascript minifier

From:
Jay Baker
Date:
2011-05-26 @ 21:16
Does anyone have a recommendation for a pure python javascript minifier? I'd
like to explore the option of minifying and caching javascript through the
normal request mechanism.
I've found some css solutions.

Thanks in advance.

Re: [flask] pure python javascript minifier

From:
Waldemar Osuch
Date:
2011-05-27 @ 02:31
On Thu, May 26, 2011 at 15:16, Jay Baker <jbaker.work@gmail.com> wrote:
> Does anyone have a recommendation for a pure python javascript minifier? I'd
> like to explore the option of minifying and caching javascript through the
> normal request mechanism.
> I've found some css solutions.
>
> Thanks in advance.
>

Another one I have seen on PyPI recently
http://pypi.python.org/pypi/slimit

Re: [flask] pure python javascript minifier

From:
Nick Martin
Date:
2011-05-26 @ 21:21
On 26 May 2011, at 22:16, Jay Baker wrote:

> Does anyone have a recommendation for a pure python javascript minifier?
I'd like to explore the option of minifying and caching javascript through
the normal request mechanism.
> I've found some css solutions.
> 
> Thanks in advance.
> 


Hi Jay,

Give Minimatic a go. I've used it in the past with Pylons, and it worked 
very nicely.

http://pypi.python.org/pypi/Minimatic/1.0

Cheers

Nick