Hacker GitHub

← All repos

elesiuta/pyxargs

View on GitHub ↗ ★ 4 Python

Command line Python scripting with an xargs-like interface and AWK-like capabilities for data processing and task automation

6 mentions on Hacker News by 1 person: 0 stories, 6 comments · first 2023-01-28 · latest 2023-09-24

Mentions per year 6 mentions · busiest year 2023 (6)
20082026
  1. …learned of pyp [2] which I haven't tried yet but looks like it's even better for this use case. [1] https://github.com/elesiuta/pyxargs [2] https://github.com/hauntsaninja/pyp
  2. …using pyp myself when not running commands over multiple directories of files or in parallel. [1] https://github.com/elesiuta/pyxargs
  3. …made pyxargs [1] which lets you run python code on stdin, or a walk of your current directory. [1] https://github.com/elesiuta/pyxargs
    comment by elesiuta · 2023-08-27 · in Alternative Shells
  4. …using a terminal multiplexer so outputs don't get mixed up or if they require user input. [1] https://github.com/elesiuta/pyxargs [2] https://en.wikipedia.org/wiki/Xargs#Encoding_problem
    comment by elesiuta · 2023-08-15 · in Ask HN: Share a shell script you like
  5. …for your list, but can be used in some of the same ways [2] and may of of interest nonetheless. [1] https://github.com/elesiuta/pyxargs [2] cat /etc/hosts | pyxargs -d \n --im json --pre "d={}" --post "print(dumps(d))" --py…
  6. …pyxargs --py "print('{}') if os.path.ismount('{}') else ''" | pyxargs -m stdin fusermount -u {} [1] https://github.com/elesiuta/pyxargs