Skip to main content

A Filestorage template loader for Jinja2.

Project description

A Filestorage template loader for Jinja2.


  • Load templates from Django like storage
  • Free software: MIT license


Install jinja2_stl:

pip install jinja2_stl

Basic usage:

from jinja2 import Environment

from storage import Storage

from jinja2_stl.loader import FilestorageTemplateLoader

loader = FilestorageTemplateLoader(storage=Storage(...))
env = Environment(loader=loader)

template = env.get_template('foo/bar.html')

print(template.render(the='variables', go='here'))

Storage must implements Django Storage API and is used as storage parameter in FilestorageTemplateLoader. The template foo/bar.html is loaded from Storage then is used in convenience way.


0.0.1 (2014-08-26)

  • First release on PyPI.

Project details

Release history Release notifications

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
jinja2_stl-0.0.1-py2.py3-none-any.whl (4.0 kB) Copy SHA256 hash SHA256 Wheel 3.4
jinja2_stl-0.0.1.tar.gz (5.3 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