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.2.tar.gz (11.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.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jacobs_jinja_too-0.2.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.13

File hashes

Hashes for jacobs_jinja_too-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6d7cfd8e766c9ae860907c7c46beff57354b44c30def241843c8687c2a674026
MD5 1602a9392d4d84d0145b51dcbb613492
BLAKE2b-256 210b85a2610ba1a4ad32bc000819062cc32ebe1ce04aecfb0ae68f0a50951cf8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jacobs_jinja_too-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8da6d84a767f2c92f560f44dc97088e32726a42bc23138eeb4d936a5f367840e
MD5 f3ca7ecf335c098200f785d732b959b9
BLAKE2b-256 b40958c33c30038c41ba96b52351795f46c7b699cf80407afbf3b55b6cb0c169

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