Simple wrapper around jinja2 templating
Project description
Jacob's Jinja Too
A simple wrapper around Jinja2 templating with a collection of custom filters. Jinja2 is a templating language for Python.
Only tested with Python3.7.
The main purpose for this project is for depencency management as this diagram shows:
[Top Level Project] --> [jacobs-jinja-too] : uses
[Top Level Project] --> [Another Project] : depends
[Another Project] --> [jacobs-jinja-too] : uses
Installation
pip3 install jacobs-jinja-too
Example Usage
from jacobsjinjatoo import Templator as jj2
t = jj2.MarkdownTemplator()
t.add_template_dir('templates/')
params = {
"name": "My Name"
}
t.render_template('foo.jinja2', output_name='foo.txt', **params)
License
GPLv2
There is no copyright claim or ownership of any content created by jacobs-jinja-too.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jacobs_jinja_too-0.2.9.tar.gz.
File metadata
- Download URL: jacobs_jinja_too-0.2.9.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f829953e0990f2fb438a2aacf8925880b6fbc5511be4ef8436895434005cf7d
|
|
| MD5 |
7ab3bbf153226b627d75ffcec836c26d
|
|
| BLAKE2b-256 |
1b76406098bafdc1ed96a3804826eae3f46b867630300f9a4f1ae51175456d8e
|
File details
Details for the file jacobs_jinja_too-0.2.9-py3-none-any.whl.
File metadata
- Download URL: jacobs_jinja_too-0.2.9-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.12 {"installer":{"name":"uv","version":"0.9.12"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c62447730e4d452461120e82150260a54df718ed1d2e401a791fdc4c6be2689
|
|
| MD5 |
2fa1a52ca42e1508da38402f0f444931
|
|
| BLAKE2b-256 |
41d1c1f4f7385ab9b72f0cc57cf06e49a2f647d16b8580a73c37ce57d4d69b3c
|