hedron-jinja
HDJ is Hedron's explicit, standards-first .hdj format over Jinja for advanced applications.
pip install hedron-jinja
from jinja2 import Environment, FileSystemLoader
from hedron_jinja import HedronJinja, TemplateSpec
templates = HedronJinja(
Environment(loader=FileSystemLoader("templates")),
components={"StatusBadge": StatusBadge},
)
result = templates.render(TemplateSpec("dashboard.hdj"), view)
---hdj
version = 1
kind = "fragment"
profile = "standard"
regions = ["main"]
---
<main id="main" hx-history-elt>{{ view.heading }}</main>
Templates are trusted application code. Write ordinary HTML, CSS, JavaScript, Web Components,
Jinja, and HTMX directly; HDJ adds typed components and preserves Hedron render metadata. Strict
mode checks a finite dynamic sink matrix with purpose-specific URL filters. Deployment capability
declarations and application policy remain separate and authoritative. Format v1 accepts static
.hdj dependencies only and every source must render through HedronJinja. HDJ is not a sandbox
for hostile template authors.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hedron_jinja-0.16.0.tar.gz.
File metadata
- Download URL: hedron_jinja-0.16.0.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
850b0aedd9f69bb5c0b36b3f874c68c1c18f24fbd1d236cce982af85ad4af825
|
|
| MD5 |
156490d7d30e1967424571d3e7e5ec89
|
|
| BLAKE2b-256 |
9b06fec77e970f8947c547cf481a95d3b026fd523b847d11e5a26dfb585c50e3
|
File details
Details for the file hedron_jinja-0.16.0-py3-none-any.whl.
File metadata
- Download URL: hedron_jinja-0.16.0-py3-none-any.whl
- Upload date:
- Size: 37.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fda9204ce13a2c26446d4a33c70010691a4f6b571074ea933efa6c4f45ab53b
|
|
| MD5 |
593f775175f9ee350f50479e3a71e869
|
|
| BLAKE2b-256 |
9cef1144927c13a1266deee7884a053755696088064c86c2899548fe5722b9d0
|