pkg.soopen package index

brew / rank 6713

Install pyp with Homebrew, apt, Nix

Easily run Python at the shell! Magical, but never mysterious. Version 1.3.0 via Homebrew; verified from local package data. Also installable with debian: sudo apt install pyp.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install pyp

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install pyp

Debian stable package indexes · pyp · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#pyp

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

overview

Package summary

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

Commands and aliases

  • pyp
  • pypyp

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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`.

Why package nerds care

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.

Timeline

  • 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

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:shell

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
pypcliglobal executable
pypypcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-09-19
manager version1.3.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/hauntsaninja/pyp

install metadata

Package metadata

Package keybrew:pyp
Version1.3.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/pyp
Homepagehttps://github.com/hauntsaninja/pyp
Repositoryhttps://github.com/hauntsaninja/pyp
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/0c/65/c275ff380e4412438577eab23810dd7a1ba2cf54a6ba558a3d22cf0fb68b/pypyp-1.3.0.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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