Jinja2 Filestorage Template Loader
A Filestorage template loader for Jinja2.
Features
Load templates from Django like storage
Free software: MIT license
Quickstart
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.
History
0.0.1 (2014-08-26)
First release on PyPI.
Metadata
Release files for jinja2_stl 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| jinja2_stl-0.0.1.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jinja2_stl-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 9.3 kB
Release files / jinja2_stl-0.0.1.tar.gz
| Download URL | jinja2_stl-0.0.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af264bdb0b2be3c48bc6f32cd750e3950920920e965080e1e941991847924234
|
|
BLAKE2b-256 checksum How to use checksums |
2a1453e6cba8f23f9dd782a04824e23b628b0d3d5cdc50663a647c02ea114fd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / jinja2_stl-0.0.1-py2.py3-none-any.whl
| Download URL | jinja2_stl-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
797f907aa6d2c4a15d40eb4dbc33b78878ff5f9dc3784586a0ec577fe0840d1a
|
|
BLAKE2b-256 checksum How to use checksums |
7fffd38197c3bf76b11744e3fc37a6306c5b01c253e7295805601b292a6c8089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for jinja2_stl 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.