Skip to main content

jrender

PyPI - Version

jrender is a command-line tool that renders Jinja template files using a context built from YAML files and mappings supplied on the command line. It is primarily designed for quickly testing template files.

Installation

Requires Python version 3.9 or higher and pip.

pip install jrender

Example

# Create a template file
> echo "Hello {{name}}" > hello.jinja

# Render the template by supplying values
> jrender hello.jinja name=World

# Values provided through the command line are always interpreted as strings. For other data types or more complex data
# structures, provide the context in a YAML file.
> jrender hello.jinja -f vars.yaml

Metadata

Release files for jrender 1.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 jrender 1.1
File Size Uploaded
jrender-1.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jrender 1.1
File Interpreter ABI Platform
jrender-1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / jrender-1.1.tar.gz

Download URL jrender-1.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3d9e9794d615197c251f43ae4fd6f97248617dbd75e839bd3381f991e0c8f120
BLAKE2b-256 checksum
How to use checksums
713fe968de8b0c7f420d5114a871059765487d0719d04414ad1e4f07739663a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.7 Linux/6.5.0-5-amd64

Release files / jrender-1.1-py3-none-any.whl

Download URL jrender-1.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dd99fed507b8ee568108dc0f3167f3ab72438f90dccbdfbbbaab76e060c38b1
BLAKE2b-256 checksum
How to use checksums
06e7c04d47f7ec7c7eebfc1755c9d16ce87dd328a49af183f669ce86439c85d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.7 Linux/6.5.0-5-amd64

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

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