Python CLI utility for piping like sed/awk/perl