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.1.0.tar.gz (10.9 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.1.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jacobs_jinja_too-0.1.0.tar.gz
Algorithm Hash digest
SHA256 57abc92f75ecd32b642f6051dc52a45f85d78189429b9df7f224cfe80300724e
MD5 ebccc9f718a8ce8609f759afdd9e1105
BLAKE2b-256 9f055f5ab99a8883a4d02585eafd3fe4fe204f2ff0fb28dfde97696c28382fcf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jacobs_jinja_too-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93ce3f95f4b972ec18217ae29823c57d6bdfbc9628da12be29e0519525a3df59
MD5 146bcf9f6a5ff5f60226b3c325e6e63f
BLAKE2b-256 072b006bbd79d9e8e49743d67e31a4bf530a9895fc67002d48183aad8cef4872

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