Fork me on GitHub



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.


Install using setuptools, e.g. (within a virtualenv):

$ easy_install jslibs


Once jslibs is installed, you only need include it:


def main(global_config, **settings):
    config = Configurator(...)

The macros will be available in templates like so:

<metal:resources metal:use-macro="request.jslibs['google-cdn']" />

Reporting Bugs / Development Versions

Visit to download development or tagged versions.

Visit to report bugs.

Table Of Contents

Next topic

jslibs API

This Page