$npx skillfedfor your agent

jinja2-cli

The CLI for Jinja2

Worth itPyPI UtilitiesReleased Apr 20261.7M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jinja2_cli-1.0.1-py3-none-any.whl
v1.0.1 · released 2026-04-05 · Python >=3.8 · 1 runtime deps: jinja2

Yes. It is a lightweight, actively maintained tool with low install friction, permissive licensing, no security vulnerabilities, and a clear use case for anyone templating text from the shell. Install it if you need to render Jinja2 templates from the command line or in scripts without writing Python code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later; TOML format support requires Python 3.11+
  • Low friction install with a single runtime dependency on jinja2.
  • Actively maintained with recent releases and a stable repository.

License · maintenance · safety

permissive license (permissive) — BSD License (permissive) allows use in commercial and private projects with minimal restrictions—retain copyright notice and disclaimer.

last release 2026-04-05 (131 days) · last repo commit 2026-08-12 · 608 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,679,960 downloads/mo, #3,658 on PyPI

Verify before relying

$ pip install jinja2-cli
$ jinja2 template.j2 data.json
$ curl -s http://api.example.com | jinja2 template.j2
  • Whether custom filter modules can be loaded from arbitrary paths or only from installed packages
  • Performance characteristics with large data files or complex templates
  • Exact behavior when template or data file is malformed or missing
Same gist for agents: .md · .json

What it is and what it does

jinja2-cli is a command-line wrapper around the Jinja2 templating engine that lets you render templates from the shell, reading data from files or standard input. It accepts multiple data formats (JSON, INI, ENV, querystring, TOML, and optional YAML/XML/JSON5 via extras) and supports inline variable definition, custom Jinja2 extensions, and custom filter modules. This makes it useful for generating configuration files, documentation, or any text output driven by structured data, without writing Python code.

The tool is designed for shell scripting and DevOps workflows—you can pipe data directly from curl, jq, or other CLI tools into a template, or read from files. It supports full control over the Jinja2 environment and can load custom filters from Python modules, including Ansible's filter library. The package is actively maintained, supports Python 3.8 through 3.12, and has no known vulnerabilities.

Use it for

  • Generate configuration files (nginx, Docker, CloudFormation) from JSON or YAML data in CI/CD pipelines
  • Render documentation or reports by combining templates with data fetched from APIs or databases
  • Transform structured data (JSON, TOML) into text output using Jinja2 filters and logic from the command line
  • Build shell scripts that template output without embedding Python or shell templating logic
  • Extend template rendering with custom filters by loading your own Python filter modules

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

It is a lightweight, actively maintained tool with low install friction, permissive licensing, no security vulnerabilities, and a clear use case for anyone templating text from the shell. Install it if you need to render Jinja2 templates from the command line or in scripts without writing Python code.

Install

jinja2-cli on PyPI

Before you install

Low friction install with a single runtime dependency on jinja2. Actively maintained with recent releases and a stable repository.

Requires Python 3.8 or later; TOML format support requires Python 3.11+

License in practice

BSD License (permissive) allows use in commercial and private projects with minimal restrictions—retain copyright notice and disclaimer.

Quickstart

$ pip install jinja2-cli
$ jinja2 template.j2 data.json
$ curl -s http://api.example.com | jinja2 template.j2

Verify before relying

  • Whether custom filter modules can be loaded from arbitrary paths or only from installed packages
  • Performance characteristics with large data files or complex templates
  • Exact behavior when template or data file is malformed or missing

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
jinja2
MaintenanceActively maintained 131 days since the last release
Last repo commit
First released
Downloads1,679,960 / month, #3,658 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: jinja2_cli-1.0.1-py3-none-any.whl

Tags

Capabilities
jinja2 command line tooltemplate rendering clijson to template clijinja2 stdin templatingdata-driven template cliyaml template renderingjinja2 command line
Topics
cli-tooltemplatingdevops

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “jinja2 command line tool”

  • jinja2-cliA command-line interface for Jinja2 templating that renders templates…
  • jinja-cliA command-line tool that renders Jinja2 templates with data from…
  • envtplRenders Jinja2 templates on the command line, substituting shell…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also j2cli · jinjanator · envtpl · jinja2-ansible-filters · jinja-cli · Jinja2 · jc · django-jinja · ruamel.yaml.jinja2 · json2xml