Skip to main content

Jade templates for Muffin Framework

Project description

Muffin-Jade – Jade template engine for Muffin framework.

Build Status Donate


  • python >= 3.3


Muffin-Jade should be installed using pip:

pip install muffin-jade


Add muffin_jade to PLUGINS in your Muffin Application configuration.


JADE_CACHE_SIZE – Cache size for compiled templates (100)

JADE_ENCODING – Templates’ encoding (UTF-8)

JADE_PRETTY – Pretty output (True)

JADE_TEMPLATE_FOLDERS – List of pathes to templates folder ([templates])


# Register custom context provider
# could be a function/coroutine
def custom_context():
    return { 'VAR': 'VALUE' }

# Register a function into templates
def sum(a, b):
    return a + b

def index(request):
    """ Check for user is admin. """
    local_context = {'key': 'value'}
    return'index.jade', **local_context)

Bug tracker

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


Development of Muffin-Jade happens at:


  • klen (Kirill Klenov)


Licensed under a MIT license.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
muffin_jade-0.0.8-py2.py3-none-any.whl (6.3 kB) Copy SHA256 hash SHA256 Wheel py2.py3
muffin-jade-0.0.8.tar.gz (5.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page