Pypipe
Dev tools
command-line utility
SHOW HN2023
213points
45comments
#261of 3,109 in 2023
Top 9%of 2023 by points
How HN took it
LovedMost comments that take a side are positive
12 positive, 4 neutral or asking, 4 mixed, 2 critical, out of 22 comments about the project. Thread score +0.45.
Idea: 11 for, 0 againstDesign: 1 for, 1 againstDocs: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Simple and useful, similar to Perl one-liners and awk
From 3 comments
Nice project! It gives me so much Perl one-liners vibe, when `perl` command combined with `-p` and `-e` flags allows you to write super concise programs for bash pipelines. Some…
ekiauhce on HNLooks fun! Like a nicer AWK
aronhegedus on HNA better analog would be perl -ne. It was only a matter of time before python got this.
imglorp on HN
Fun idea that fills a gap for Python users
From 2 comments
I have a feeling that in most use cases this is replacing grep and awk in a familiar way to Python programmers, especially the latter with its own grammar. Fun stuff!
enoch2090 on HNI’ve had dreams about making this sort of tool. I’m so thrilled to see this!!!!
paiute on HN
Objections
First example (line[::2]) is confusing
From 1 comment
``` $ echo "pypipe" | ppp "line[::2]" ppp ``` This is an incredibly confusing first example!
robertlagrant on HN
Requests
Support auto-import of modules like pyp and pawk
From 2 comments
This looks interesting! A tool in the same vein that I already use is pyp (`pypyp` on PyPI). This project, pypipe, has built-in record splitting and CSV support that pyp doesn't.…
networked on HNhttps://github.com/alecthomas/pawk is also great, & auto imports any module that you use
make3 on HN
Package for brew or apt
From 1 comment
Nice! My go to system scripting is bash that calls python for the things that just suck doing in bash. I didn't see a method to do it but it would be great if this could cleanup…
Difwif on HN
Questions
How does performance compare with awk
From 1 comment
Nice! How does it compare performance-wise with AWK?
hk__2 on HN
Alternatives named
pyp
From 1 comment
This looks interesting! A tool in the same vein that I already use is pyp (`pypyp` on PyPI). This project, pypipe, has built-in record splitting and CSV support that pyp doesn't.…
networked on HN
pawk
From 1 comment
https://github.com/alecthomas/pawk is also great, & auto imports any module that you use
make3 on HN
Perl one-liners (perl -ne)
From 2 comments
Nice project! It gives me so much Perl one-liners vibe, when `perl` command combined with `-p` and `-e` flags allows you to write super concise programs for bash pipelines. Some…
ekiauhce on HNA better analog would be perl -ne. It was only a matter of time before python got this.
imglorp on HN
awk
From 1 comment
Cool! My tool of choice for such things is awk, still, it's good to have more alternatives
kunley on HN
Mario
From 1 comment
This looks interesting! A tool in the same vein that I already use is pyp (`pypyp` on PyPI). This project, pypipe, has built-in record splitting and CSV support that pyp doesn't.…
networked on HN
nushell
From 1 comment
In the same spirit as the nushell project https://www.nushell.sh/
zak905 on HN