Skip to main content

Simple wrapper around jinja2 templating

Project description

Jacob's Jinja Too

CircleCI

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


Download files

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

Source Distribution

jacobs_jinja_too-0.2.14.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jacobs_jinja_too-0.2.14-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file jacobs_jinja_too-0.2.14.tar.gz.

File metadata

  • Download URL: jacobs_jinja_too-0.2.14.tar.gz
  • Upload date:
  • Size: 15.6 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

Hashes for jacobs_jinja_too-0.2.14.tar.gz
Algorithm Hash digest
SHA256 83ceac79bda6282e28f1454a77445700081839535ed1466caf26ebc734e17af1
MD5 cbe46207777e95250824f73042381c21
BLAKE2b-256 c84fa5e1f814cd1c111a326a2b2100438c232663c988b24e5fca153cd5ae5f89

See more details on using hashes here.

File details

Details for the file jacobs_jinja_too-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: jacobs_jinja_too-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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

Hashes for jacobs_jinja_too-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f9eb4f56734cc1cff3283d47062b7f68cac510e42da4ce74d38aac797b194ead
MD5 6897918f4d0ae620967d0c124ee62aa5
BLAKE2b-256 d0c9057e1c38a62339636fb6aa07bf185b721a43dd741e2e884632c9157e66a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page