pkg.soopen package index

brew / 排名 2744

使用 Homebrew, apk, Nix, apt 安装 jinja2-cli

查看 jinja2-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install jinja2-cli

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add jinja2-cli

Alpine Linux edge package indexes · jinja2-cli · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#jinja2-cli

nixpkgs package indexes · pkgs/by-name/ji/jinja2-cli/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install python-jinja2-doc

Debian stable package indexes · python-jinja2-doc · 来源: deb.debian.org

概览

软件包摘要

CLI for the Jinja2 templating language

命令和别名

  • jinja2

历史

项目历史与用法

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.

时间线

  • 2012: PyPI release 0.1.0 introduced the package as a CLI for Jinja2.
  • 2015: The 0.3 and 0.4 releases continued the early Python packaging line.
  • 2017: Version 0.6.0 extended the 0.x series.
  • 2019: Version 0.7.0 continued the tool's use as a small templating CLI.
  • 2022: Version 0.8.2 closed the pre-1.0 release line.
  • 2026: v1.0.0 dropped Python 2 support and refreshed the project after backlog and pull-request review.

Related projects

  • jinja2-cli depends conceptually on Jinja2 from the Pallets project and overlaps with command-line templating tools such as gomplate, envsubst, mustache CLIs, yq/jq pipelines, cookiecutter, and configuration generators used in infrastructure repositories.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
jinja2可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.0.1
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:jinja2-cli
版本1.0.1
软件包管理器Homebrew
主页https://github.com/mattrobenolt/jinja2-cli
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

jinja2-cli

nix profile install nixpkgs#jinja2-cli
  • normalized package name match
  • 匹配方式:Jinja2 Cli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ji/jinja2-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

jinja2-cli 1.0.1-r0

CLI for Jinja2

https://github.com/mattrobenolt/jinja2-cli

sudo apk add jinja2-cli
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: jinja2-cli
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Jinja2 Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jinja2-cli from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

jinja2-cli-pyc 1.0.1-r0

Precompiled Python bytecode for jinja2-cli

https://github.com/mattrobenolt/jinja2-cli

sudo apk add jinja2-cli-pyc
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: jinja2-cli
  • 1 依赖
  • normalized package name match
  • 匹配方式:Jinja2 Cli
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: jinja2-cli-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
Debian apt92%

python-jinja2-doc 3.1.6-1

documentation for the Jinja2 Python library

http://jinja.pocoo.org/

sudo apt install python-jinja2-doc
  • Section: doc
  • Architecture: all
  • Source Package: jinja2
  • 1 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Jinja2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python-jinja2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

python3-jinja2 3.1.6-1

small but fast and easy to use stand-alone template engine

http://jinja.pocoo.org/

sudo apt install python3-jinja2
  • Section: python
  • Architecture: all
  • Source Package: jinja2
  • 2 依赖
  • 2 可选依赖
  • installed executable or alias match
  • 匹配方式:Jinja2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-jinja2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt92%

python-jinja2-doc 3.1.2-1ubuntu1

documentation for the Jinja2 Python library

http://jinja.pocoo.org/

sudo apt install python-jinja2-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: jinja2
  • 1 依赖
  • 1 可选依赖
  • installed executable or alias match
  • 匹配方式:Jinja2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python-jinja2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

python3-jinja2 3.1.2-1ubuntu1

small but fast and easy to use stand-alone template engine

http://jinja.pocoo.org/

sudo apt install python3-jinja2
  • Section: python
  • Architecture: all
  • Source Package: jinja2
  • 2 依赖
  • 3 可选依赖
  • installed executable or alias match
  • 匹配方式:Jinja2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-jinja2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation