jslibs is a small package with few dependencies, aimed at providing a high quality, curated set of Javascript packages for Pyramid projects. In essence, a group of people have taken the work they are already doing, then pushing it out to share with others. This work includes use of Juicer to increase responsiveness of apps.
Once jslibs is installed, you only need include it:
...
def main(global_config, **settings):
...
config = Configurator(...)
config.scan('myapp')
config.include('jslibs')
...
The macros will be available in templates like so:
<metal:resources metal:use-macro="request.jslibs['google-cdn']" />
Visit http://github.com/Pylons/jslibs to download development or tagged versions.
Visit http://github.com/Pylons/jslibs/issues to report bugs.