hauntsaninja/pyp
View on GitHub ↗ ★ 1,536 Python
Easily run Python at the shell! Magical, but never mysterious.
16 mentions on Hacker News by 10 people: 1 story, 15 comments · first 2020-05-09 · latest 2023-10-23
20082026
-
…modules to import. It is very convenient and would be nice to have here. A version of `pypprint` ( https://github.com/hauntsaninja/pyp/blob/9408446a41bfdc60e44... ) may be useful, too. The most famous Python command-line tool like this is…
comment by networked · 2023-10-23 · in Show HN: Pypipe – A Python command-line tool for pipeline processing -
…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? -
…is about the only one that's tasteful in terms of project scope and not going off the deep end: https://github.com/hauntsaninja/pyp
comment by frou_dh · 2023-09-23 · in Shshsh is a bridge connects Python and shell -
…I apologise if that sounds rude, but I don't know how else to put it, that's what it is. [0] https://github.com/hauntsaninja/pyp
comment by brigandish · 2022-02-15 · in Frawk: A fast, JITted, statically-typed AWK written in Rust -
…you're able to see the exact Python code you'd run without running it, e.g. `pyp --explain x[:5]`. https://github.com/hauntsaninja/pyp
comment by hauntsaninja · 2022-02-12 · in Easily handle CLI operation via Python instead of regular Bash programs -
…similar tool a while back that lets you create your own "magic" variables. I use `f` all the time! https://github.com/hauntsaninja/pyp#pyp-lets-you-configure-y...
comment by hauntsaninja · 2022-02-12 · in Easily handle CLI operation via Python instead of regular Bash programs -
This looks like an unmaintained version of (the much more complete) pyp: https://github.com/hauntsaninja/pyp
comment by Naac · 2022-02-12 · in Easily handle CLI operation via Python instead of regular Bash programs -
…pipe in what Xonsh calls "Python mode" is for me the central limiting feature of that shell.) [1] https://github.com/hauntsaninja/pyp
comment by bscphil · 2021-09-16 · in A Tour of the Oil Language -
…| pyp '["\t".join(pair) for pair in zip(lines[::2],lines[1::2])]' | less +G; end; funcsave hist [1] https://github.com/hauntsaninja/pyp
comment by dsp_person · 2021-04-06 · in IPython as a System Shell -
In a similar vein, pyp: https://github.com/hauntsaninja/pyp
comment by davea37 · 2020-11-22 · in Show HN: Making Python one-liner-fit with the new pwk (Python With Kurly braces) -
…teach new users these legacy tools and we can finally progress a little? 1 - http://xon.sh 2 - https://github.com/hauntsaninja/pyp
comment by kabacha · 2020-05-19 · in Linux Productivity Tools (2019) [pdf] -
…import aliases, or use libraries like pipetools to make your life easier! More details at https://github.com/hauntsaninja/pyp#pyp-is-configurable
comment by hauntsaninja · 2020-05-12 · in Show HN: Pyp – Easily, magically, run Python at the shell -
…quicker for some use cases since it doesn't need subcommands, but I'll definitely be updating https://github.com/hauntsaninja/pyp#related-projects
comment by hauntsaninja · 2020-05-09 · in Show HN: Pyp – Easily, magically, run Python at the shell -
xonsh is great! I'm a fan of your cousin's work :-) I mentioned it in https://github.com/hauntsaninja/pyp#related-projects for if you want even more Python in your shell.
comment by hauntsaninja · 2020-05-09 · in Show HN: Pyp – Easily, magically, run Python at the shell -
Yup, that was the inspiration for this project and its name. See https://github.com/hauntsaninja/pyp#related-projects for more discussion. By no means is this a new idea, but I think this iteration has some convenient twists :-)
comment by hauntsaninja · 2020-05-09 · in Show HN: Pyp – Easily, magically, run Python at the shell