pyp

sed/awk-like tool with Python language

Install

All systems
curl cmd.cat/pyp.sh
Debian Debian
apt-get install pyp
Ubuntu
apt-get install pyp
image/svg+xml Kali Linux
apt-get install pyp
Fedora
dnf install pyp
Windows (WSL2)
sudo apt-get update sudo apt-get install pyp
Raspbian
apt-get install pyp

pyp

sed/awk-like tool with Python language

pyp, the Pyed Piper, is a command line tool for text manipulation. It is similar to awk and sed in functionality, but its subcommands are Python based, and thus more familiar to many programmers. It can operate both on a per-line base and on the complete input stream. Different features can be pipelined in a single command by using the pipe character familiar from shell commands. pyp backs up its input for reruns with modified commands, and can save commands as macros. On the downside, the rerun feature makes it unsuitable for continuous pipe operation.

python2-Pyped

execute Python one-liners