not-kennethreitz/envoy
View on GitHub ↗ ★ 2,260 Python archived
Python Subprocesses for Humans™.
14 mentions on Hacker News by 14 people: 0 stories, 14 comments · first 2012-01-03 · latest 2016-08-17
20082026
-
What you actually do in Python is use https://github.com/kennethreitz/envoy
comment by lmm · 2016-08-17 · in “It's The Future” -
…operations such as cd, ls, etc., all work inside IPython. Also, try envoy[0] for subprocesses. https://github.com/kennethreitz/envoy
comment by chimeracoder · 2013-07-28 · in What is new in IPython 1.0 -
See https://github.com/kennethreitz/envoy Example: >> r = envoy.run('uptime | pbcopy')
comment by abraininavat · 2013-05-17 · in Why Awk for AI? (1997) -
…Especially if you have a good shell scripting library. I usually use Fabric, SaltStack, or https://github.com/kennethreitz/envoy
comment by codewright · 2012-12-11 · in Unix Text Processing (1987) -
…it still doesn't work out, you can always use subprocess(which this library is using anyway) or https://github.com/kennethreitz/envoy I didn't know about envoy either. Thanks again! :) EDIT: Upon closer examination, the whole OProc class…
comment by CodeMage · 2012-11-12 · in Python Libraries you should know about -
…it still doesn't work out, you can always use subprocess(which this library is using anyway) or https://github.com/kennethreitz/envoy
comment by irahul · 2012-11-12 · in Python Libraries you should know about -
…module, do yourself a favor and use Kenneth Reitz's excellent wrapper library called Envoy: https://github.com/kennethreitz/envoy For reference, he's the same guy that did the Requests module, which is pretty much the defacto standard for…
comment by Pewpewarrows · 2012-04-19 · in Working with Python subprocess -
…a neat hack, though :) I've written what I feel is a much better solution to this problem: Envoy. https://github.com/kennethreitz/envoy It's pythonic and makes far fewer assumptions about both your code and what you're running.
comment by kenneth_reitz · 2012-01-30 · in Fixing the Python subprocess interface -
…in many entertaining ways. For a sane alternative I'd recommend Kenneth Reitz' awesome Envoy ( https://github.com/kennethreitz/envoy )
comment by ulope · 2012-01-30 · in Fixing the Python subprocess interface -
…it as "Python Subprocesses for Humans™", similar to how he describes Requests, which he also wrote. https://github.com/kennethreitz/envoy
comment by j2labs · 2012-01-30 · in Fixing the Python subprocess interface -
…better route to so is something like envoy[1] which simply wraps `subprocess` in a sane API. [1]: https://github.com/kennethreitz/envoy
comment by tswicegood · 2012-01-30 · in Fixing the Python subprocess interface -
It's funny you mention that. The author/speaker wrote a "Subprocesses for humans" module, too: https://github.com/kennethreitz/envoy There's no fundamental problem that's stopped Python from doing this before. For some reason, all of the…
comment by bretthoerner · 2012-01-03 · in Python for Humans -
…which is intended to provide a more intuitive interface to running processes from python. ( https://github.com/kennethreitz/envoy ) The back story is that the older APIs that Python comes with -- os.popen and os.system -- are deprecated.…
comment by loevborg · 2012-01-03 · in Python for Humans