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.

Files for muffin-jade, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size muffin_jade-0.0.8-py2.py3-none-any.whl (6.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size muffin-jade-0.0.8.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page