Are there any python libraries/packages like Ruby's Juicer/Sprockets/bundle_fu? -


A pager is a library that manages to merge and merge JS \ CSS files ...

As Anurag said, Django users can use.

If you are using Pyrenees or TurboGuair 2.x, there are two real time options:

  • (Realtime-timed helplines for css / js that cache output To support the use of beaker)
  • (A forkive heblers of minimization. By this, however, according to the author of MinificationWebHelpers, devs to merge changes to cooperate with upstream Are not ready)

For my best knowledge, only real time options for Django and Pylons are minisation and insertion. They do not parse Javascript to include any kind of import / instruction.

If you prefer a batch option, then I can not think of writing in particular Python, but these options are I have seen using other Python developers:

  • Write a Python or a shell script that runs low-level tools like YUI Compressor (Java) or it does not do it for you. (One of my projects does this. It does not include import / instructions, but it works with minimal dependencies.)
  • (A commute for JS / CSS and import- Management tool is written in Java.)
  • Used (requires Ruby and uses javaDaD-style import announcements in addition to RequireJS calls, but Javascript dependency (for YUI compressor) makes optional .)
  • this (both Node. JS)

If a pure Python solution is really important, then my advice is to go with either real-time options (like Paster - -reload ) or to use for heavy lifting or write commands.

Note: Due to the lack of documentation, the setup.py link indicates one of my blog posts.

The answer may also be useful:


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -