Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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

Download files

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

Files for jinja2_stl, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size jinja2_stl-0.0.1-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size jinja2_stl-0.0.1.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page