ASIMOV module for prompt templating using the Jinja templating language.
Project description
ASIMOV Jinja Module
ASIMOV module for prompt templating using the Jinja templating language.
✨ Features
- Renders JSON inputs using the MiniJinja templating engine.
- Loads environment variables from
.env(aka dotenv) files. - Distributed as a standalone static binary with zero runtime dependencies.
🛠️ Prerequisites
- Rust 1.85+ (2024 edition) if building from source code
⬇️ Installation
Installation from PyPI
pip install -U asimov-jinja-module
Installation from Source Code
cargo install asimov-jinja-module
👉 Examples
Rendering from JSON to Markdown
asimov-jinja-runner template.j2 < input.json > output.md
📚 Reference
Installed Binaries
asimov-jinja-runner: renders JSON from standard input to standard output
👨💻 Development
git clone https://github.com/asimov-modules/asimov-jinja-module.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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 asimov_jinja_module-0.1.2-py3-none-win_amd64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-win_amd64.whl
- Upload date:
- Size: 431.2 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
440e25e0278eb13589626df56082343e02e200898320be8d5db5860e67f96039
|
|
| MD5 |
d1b26fb67d2b0d37037beb341120c358
|
|
| BLAKE2b-256 |
8d85c33ed4065ebc600b2056362b50a46030ce036eb48eef271531008fd99bf2
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-musllinux_1_1_x86_64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 479.7 kB
- Tags: Python 3, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f9501e5fcd483461e98eb91d854cf131d14cff50bbba406ec43f9aece92b162
|
|
| MD5 |
67fe3df5233daa513adc18dca1645360
|
|
| BLAKE2b-256 |
0aba17452b7809abee08ccadc5d711e9d1989cc3fe9cbaf57c20477b415fb6fa
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-musllinux_1_1_aarch64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 467.2 kB
- Tags: Python 3, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7db0edc7c7ed7f181a4add0e9bd455ab55a8bdd276b185824567c503bb5fc8dd
|
|
| MD5 |
d70095b1074998a4d0a9cf4578b2c814
|
|
| BLAKE2b-256 |
45f42cc174963e642b8c1873c6aa00fb40bed023ecc778dad075bf9b0671815a
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 463.1 kB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e95bcb8f457728fd5c13a78fa88afde02cc0083393487bff3cf09e74bae35b57
|
|
| MD5 |
075d2f245faaf16c06fc0eea5be074e9
|
|
| BLAKE2b-256 |
6632b63cd8b4754636372cae73571c100e7f9613246f1ceced0169de3a458148
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 446.3 kB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e263b4dcbd353c294538d108cd511218829c2e7cbc0cc7e2a809e0477f18cf5d
|
|
| MD5 |
a64b6c07fb83bf3dc797b08c4d400202
|
|
| BLAKE2b-256 |
9970da872232e38eead5cebaf4bea5a823631cc21c527203e42f12a64399d1f0
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-macosx_12_0_x86_64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-macosx_12_0_x86_64.whl
- Upload date:
- Size: 446.7 kB
- Tags: Python 3, macOS 12.0+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
499640f4baf0f15737ca4bf75458bd052f5c7f5572bea5c4a0778d347a8757fa
|
|
| MD5 |
9ecdcd201f5269233040c61a012c102a
|
|
| BLAKE2b-256 |
557bca221d086fdd714675d6827cb8cfcff7192193fa54c9f671670ec2414f0f
|
File details
Details for the file asimov_jinja_module-0.1.2-py3-none-macosx_12_0_arm64.whl.
File metadata
- Download URL: asimov_jinja_module-0.1.2-py3-none-macosx_12_0_arm64.whl
- Upload date:
- Size: 441.7 kB
- Tags: Python 3, macOS 12.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e39179ed9aeb9bd4b7608559b9806f921a4b7e4683e8f89835b9864abd15e13f
|
|
| MD5 |
23bf06e1d796a7f2b1bb97beeed87253
|
|
| BLAKE2b-256 |
f1113aff444c196053d29b0eef4958a0f22a2ed87a9565b7bedff2e7efed0171
|