HNHacker News
TopNewBestAskShowJobs

bugen

61 karma · joined October 22, 2023

submissionscomments
bugen··on Show HN: Pypipe – A Python command-line tool for pipeline processing
pawk is awesome. What concise code! I absolutely adore the simplicity of pawk.
bugen··on Show HN: Pypipe – A Python command-line tool for pipeline processing
It's incredible to discover so many projects similar to pypipe! In particular, pyp seems truly magical. If I had known about pyp before, I might not have developed pypipe. However, the lack of prior knowledge about pyp has given pypipe its own unique identity. Learning from these earlier projects, I can see there's still room for growth in pypipe. Thank you for the valuable insights, especially regarding the potential implementation of the auto-import feature.
bugen··on Show HN: Pypipe – A Python command-line tool for pipeline processing
Thank you for using pypipe!

  How about?  
  
  cat staff.xml | ppp xpath -O path='./Animal/Age'
I also wanted to allow custom commands like this, but I decided on the current format for a few reasons, including the ability to omit the default 'line' command from the arguments. For frequently used commands, please consider setting up aliases in your configuration files (e.g ~/.profile).

  alias xpath='ppp custom -N xpath'
bugen··on Show HN: Pypipe – A Python command-line tool for pipeline processing
Thank you for all the comments and advice. I'm truly surprised by the response, it's beyond what I expected. It was here that I learned about other projects similar to pypipe for the first time. After checking them out, I now understand that pypipe's strength is in its simplicity. I plan to improve pypipe while keeping it simple, so anyone can easily understand how it works by reading the source code and make their own customizations.