asimov-jinja-module

0.0.0 • Public • Published

ASIMOV Jinja Module

License Package on Crates.io Package on PyPI Package on RubyGems

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 RubyGems

gem install 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

Share on X Share on Reddit Share on Hacker News Share on Facebook Share on LinkedIn

Readme

Keywords

Package Sidebar

Install

npm i asimov-jinja-module

Weekly Downloads

9

Version

0.0.0

License

Unlicense

Unpacked Size

5.19 kB

Total Files

7

Last publish

Collaborators

  • asimov-modules