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.8.tar.gz (13.7 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.8-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jacobs_jinja_too-0.2.8.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

Hashes for jacobs_jinja_too-0.2.8.tar.gz
Algorithm Hash digest
SHA256 803fdee3fe7c22785e0c09e64fe21a67f283454906afebab37afb08e77837413
MD5 90e15d6811edf288f982a25cac55992d
BLAKE2b-256 c6e4572ee315dd0d758fcdf5fbf4472623d11537f8c2f0a196c54b2135785dfd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jacobs_jinja_too-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 13.5 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 58221b219d4325a5decc657171fce4d8d7abc04ce98df8eac66de5e07b037ae6
MD5 579fe3c563fd484f74a869851eb837be
BLAKE2b-256 0e6cdf32364c0b04a989200ad4279ac4f58dc6bc57dde1f4282f17a8ffacb28c

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