pkg.soopen package index

brew / 排名 6713

使用 Homebrew, apt, Nix 安装 pyp

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pyp

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install pyp

Debian stable package indexes · pyp · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#pyp

nixpkgs package indexes · pkgs/by-name/py/pyp/package.nix · 来源: api.github.com

概览

软件包摘要

Easily run Python at the shell! Magical, but never mysterious

命令和别名

  • pyp
  • pypyp

历史

项目历史与用法

pyp is a command-line utility that transforms shell input with concise Python expressions.

项目历史

pyp was created as a concise way to run Python in shell pipelines. Its author credits the older Pyed Piper project for inspiration and the command name, while describing pyp's closer adherence to ordinary Python syntax and APIs.

采用历史

Upstream documents installation as the `pypyp` Python package and through Homebrew, Nixpkgs, and the Arch User Repository. The supplied package facts additionally record Debian and Ubuntu package mappings.

使用方式

Pipe text into `pyp` and reference each line through `x`, `l`, or `line`, or the complete input through `lines` and `stdin`. The tool automatically imports referenced modules and prints final expressions; `--explain` or `--script` exposes the generated Python. A custom Python configuration file is selected with `PYP_CONFIG_PATH`.

为什么软件包爱好者会关心

pyp appeals to command-line users who want Python's standard syntax and libraries for quick pipeline transformations without maintaining a separate script. Its AST rewriting, automatic imports, smart printing, and `--explain` output distinguish it from simpler Python one-liner wrappers.

时间线

  • Modern implementation: pyp was written after the original Python-2-only Pyed Piper had been inactive for roughly a decade.

Related projects

  • Pyed Piper
  • Pyped
  • pythonpy
  • piep
  • xonsh
  • awk

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

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

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
$PYP_CONFIG_PATH

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pypcli全局可执行文件
pypypcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本1.3.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/hauntsaninja/pyp

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/hauntsaninja/pypnone 置信度

安装元数据

软件包元数据

软件包键brew:pyp
版本1.3.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/pyp
主页https://github.com/hauntsaninja/pyp
仓库https://github.com/hauntsaninja/pyp
许可证MIT
源码归档https://files.pythonhosted.org/packages/0c/65/c275ff380e4412438577eab23810dd7a1ba2cf54a6ba558a3d22cf0fb68b/pypyp-1.3.0.tar.gz
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepyp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

pyp 3.0.9-1

sed/awk-like tool with Python language

https://thepyedpiper.github.io/pyp/

sudo apt install pyp
  • Section: utils
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Pyp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pyp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pyp

nix profile install nixpkgs#pyp
  • normalized package name match
  • 匹配方式:Pyp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/py/pyp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pyp 2.12-3

sed/awk-like tool with Python language

sudo apt install pyp
  • Section: universe/utils
  • Architecture: all
  • 1 依赖
  • normalized package name match
  • 匹配方式:Pyp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pyp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation