Registry / serialization / jnjrender

jnjrender

JSON →
library1.0.11pypypiunverified

A utility to render Jinja2 templates with a YAML environment, allowing nested template rendering within rendered text. Current version 1.0.11, with no regular release cadence.

pip install jnjrender
INSTALL
IMPORT
SIG · JNJRENDER
J
jnjrender
serializationpythonv1.0.11
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

render_template
from jnjrender import render_template
from jnjrender import render_template

Basic rendering of a Jinja2 template string with a YAML-like environment dictionary.

import os from jnjrender import render_template template_string = "Hello {{ name }}!" environment = {"name": "World"} result = render_template(template_string, environment) print(result) # Output: Hello World!
jnjrender --version
Debug
Known issues
gotchaThe environment parameter expects a dictionary, not a YAML string. If you have a YAML string, you must parse it yourself (e.g., using PyYAML).
fix
Use yaml.safe_load(yaml_string) if you have a YAML file or string.
affects: all
gotchaThe library does not handle template inheritance or complex Jinja2 features beyond string interpolation. For advanced Jinja2 usage, consider using jinja2 directly.
fix
Use the jinja2 library for full template support.
affects: all
deprecatedThe package has not been updated since 2020 (version 1.0.11) and may have unpatched security issues with Jinja2 dependencies.
fix
Consider migrating to jinja2's direct API or a more maintained alternative.
affects: all
Upgrade
Version history
1.0.11latest on PyPI · released Sep 2, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
jnjrender — pip install jnjrender · libregistry