Skip to main content

No project description provided

Project description

Bottle Jade – Short description.

Build Status Coverals Donate


  • python >= 2.6


Bottle Jade should be installed using pip:

pip install bottle-jade


from bottle import Bottle
from bottle_jade import JadePlugin
from os import path as op

app = Bottle()
templates = op.dirname(op.abspath(__file__))
jade = app.install(JadePlugin(template_folder=templates))

def index():
    context = {'var': 'value'}
    return jade.render('index.jade', **context)

def simple():
    context = {}
    return context


JADE_CACHE_SIZE – Number of templates which will be cached (200) JADE_PRETTY – Enable pretty output (True) JADE_TEMPLATE_FOLDER – Set path to templates folder (templates) JADE_ENCODING – Set templates’ encoding (UTF-8)

Bug tracker

If you have any suggestions, bug reports or annoyances please report them to the issue tracker at


Development of Bottle Jade happens at:


  • klen (Kirill Klenov)


Licensed under a BSD license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bottle-jade-0.2.1.tar.gz (4.9 kB view hashes)

Uploaded Source

Built Distribution

bottle_jade-0.2.1-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page