Skip to main content

jitsu - jinja2 rendering with yaml

Simple, easy rendering of templates for each data file, with one command.

What jitsu does?

jitsu renders data in each data file to specified jinja2 template, and then store the results in a new directory _dist.

Usage

  1. Installation: pip install jitsu
  2. Directory structure:
    1. All the templates go to templates directory. (Can also be specified with -t option)
    2. All the data files go to data directory. (Can also be specified with -d option.)
  3. Run jitsu.

Applications

Static websites

templates/
 `-- blog-post.j2
  |- poem-post.j2
data/
 `-- post1.yaml
  |- post1.yaml
  |- post2.yaml
  |- post3.yaml
  |- post4.yaml
  |- poem1.yaml
  |- poem2.yaml

Running jitsu will give something like this

_dist/
 `-- post1.html
  |- post2.html
  |- post3.html
  |- post4.html
  |- poem1.html
  |- poem2.html

Metadata

Release files for jitsu 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jitsu 0.0.1
File Size Uploaded
jitsu-0.0.1.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jitsu 0.0.1
File Interpreter ABI Platform
jitsu-0.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 7.3 kB

Release files / jitsu-0.0.1.tar.gz

Download URL jitsu-0.0.1.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
71413aafcf87d56d4aeb8642b129c755f35f0a16137d4fb2ad109573da1289b0
BLAKE2b-256 checksum
How to use checksums
216a92a7011dcdb3e8510fc4eea38ca7ef2cd795e671b9b262a1e3df69623cbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / jitsu-0.0.1-py2.py3-none-any.whl

Download URL jitsu-0.0.1-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
24f3fbbed33990ea26a7f77584dd4f0529b84e9019e711c3ca651c757e3b957e
BLAKE2b-256 checksum
How to use checksums
17e8fb3b2885160adcee21cbfe6ed84870aa792af7bb2470fc7ff6bc9fee46cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page