macOS
brew install jinja2-clilocal Homebrew formula metadata
安装
brew install jinja2-clilocal Homebrew formula metadata
sudo apk add jinja2-cliAlpine Linux edge package indexes · jinja2-cli · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#jinja2-clinixpkgs package indexes · pkgs/by-name/ji/jinja2-cli/package.nix · 来源: api.github.com
sudo apt install python-jinja2-docDebian stable package indexes · python-jinja2-doc · 来源: deb.debian.org
概览
CLI for the Jinja2 templating language
历史
jinja2-cli is a command-line wrapper around the Jinja2 templating engine. It turns Jinja templates plus structured data files or standard input into a Unix-style filter, making Jinja useful outside Python applications for shell scripts, deployment templates, generated config files, and CI jobs.
The package appeared on PyPI in 2012 as `jinja2-cli`, described as the CLI for Jinja2. Its early releases established the core pattern that still defines the tool: run `jinja2 template.j2 data.json`, or pipe data into `jinja2`, and render with Jinja using JSON and related input formats.
The 0.x release line gradually added and maintained data-format handling and CLI behavior. In 2026 the project reached v1.0.0 after the maintainer returned to the backlog and open pull requests, kept backward compatibility except for dropping Python 2, and pointed users to the expanded docs directory.
The README lists several real-world dependents, including Freedom of the Press Foundation's Dangerzone, Elastic Docker images, and ScyllaDB CloudFormation templates, plus hundreds of GitHub dependents. Its packaging footprint includes PyPI, Homebrew, nixpkgs, AUR, and Alpine, matching its role as a small automation tool used from many operating-system package ecosystems.
The tool reads data from files or stdin, supports inline variables with `-D key=value`, allows custom Jinja2 extensions, imports custom filters with `-F`, and exposes Jinja2 environment options. Built-in formats include JSON, INI, ENV, querystring, and TOML on Python versions with standard TOML support, with optional extras for YAML, XML, HJSON, and JSON5.
jinja2-cli is significant because it packages a Python template engine in the smallest useful Unix shape: one executable that accepts a template and data. It is the kind of tool that appears in Docker builds, release scripts, Kubernetes and cloud-template generation, and distro package sets because it avoids dragging a bespoke Python application into each repository.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jinja2 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:jinja2-cli |
|---|---|
| 版本 | 1.0.1 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/mattrobenolt/jinja2-cli |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
jinja2-cli
nix profile install nixpkgs#jinja2-clijinja2-cli 1.0.1-r0
CLI for Jinja2
https://github.com/mattrobenolt/jinja2-cli
sudo apk add jinja2-clijinja2-cli-pyc 1.0.1-r0
Precompiled Python bytecode for jinja2-cli
https://github.com/mattrobenolt/jinja2-cli
sudo apk add jinja2-cli-pycpython-jinja2-doc 3.1.6-1
documentation for the Jinja2 Python library
sudo apt install python-jinja2-docpython3-jinja2 3.1.6-1
small but fast and easy to use stand-alone template engine
sudo apt install python3-jinja2python-jinja2-doc 3.1.2-1ubuntu1
documentation for the Jinja2 Python library
sudo apt install python-jinja2-docpython3-jinja2 3.1.2-1ubuntu1
small but fast and easy to use stand-alone template engine
sudo apt install python3-jinja2来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.