envoy 0,3,10,1,3,0,5,1 python

Python Subprocesses for Humans™.

Envoy: Python Subprocesses for Humans.

Note: Delegator <https://github.com/kennethreitz/delegator.py>_ is a replacement for Envoy.

This is a convenience wrapper around the subprocess module.

You don’t need this.

.. image:: https://github.com/kennethreitz/envoy/raw/master/ext/in_action.png

But you want it.

Usage

Run a command, get the response::

>>> r = envoy.run('git config', data='data to pipe in', timeout=2)

>>> r.status_code
129
>>> r.std_out
'usage: git config [options]'
>>> r.std_err
''

Pipe stuff around too::

>>> r = envoy.run('uptime | pbcopy')

>>> r.command
'pbcopy'
>>> r.status_code
0

>>> r.history
[<Response 'uptime'>]

Related Repositories

envoy

envoy

Python Subprocesses for Humans™. ...

envoy

envoy

...

envoy

envoy

C++ front/service proxy ...

envoy

envoy

A ssh/gpg-agent wrapper leveraging cgroups and systemd/socket activation ...

envoy-operator

envoy-operator

Envoy Operator creates/configures/manages Envoy clusters atop Kubernetes ...


Top Contributors

kennethreitz llimllib mher kracekumar msabramo jbergstroem bretthoerner alex akent cenk eth7 emning TedSinger adammck mrshu sirpengi stefanfoulis

Releases

-   v0.0.2 zip tar
-   v0.0.1 zip tar