macOS
brew install pyplocal Homebrew formula metadata
安装
brew install pyplocal Homebrew formula metadata
nix profile install nixpkgs#pypnixpkgs package indexes · pkgs/by-name/py/pyp/package.nix · 来源: api.github.com
概览
Easily run Python at the shell! Magical, but never mysterious
历史
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.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
$PYP_CONFIG_PATH可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pyp | cli | 全局可执行文件 | |
pypyp | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/hauntsaninja/pyp
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pyp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
pyp 3.0.9-1
sed/awk-like tool with Python language
https://thepyedpiper.github.io/pyp/
sudo apt install pyppyp
nix profile install nixpkgs#pyppyp 2.12-3
sed/awk-like tool with Python language
sudo apt install pyp来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.