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
20082026
-
…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
comment by elesiuta · 2023-09-24 · in Modern Linux Tools vs. Unix Classics: Which Would I Choose? -
…using pyp myself when not running commands over multiple directories of files or in parallel. [1] https://github.com/elesiuta/pyxargs
comment by elesiuta · 2023-09-23 · in Shshsh is a bridge connects Python and shell -
…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 -
…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 -
…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…
comment by elesiuta · 2023-03-16 · in Miller: Like Awk, sed, cut, join, and sort for CSV, TSV, and tabular JSON -
…pyxargs --py "print('{}') if os.path.ismount('{}') else ''" | pyxargs -m stdin fusermount -u {} [1] https://github.com/elesiuta/pyxargs
comment by elesiuta · 2023-01-28 · in Show HN: Clamshell- an experimental Python based shell