skip to navigation
skip to content

Not Logged In

envoy 0.0.3

Simple API for running external processes.

Note: Work in progress.

This is a convenience wrapper around the subprocess module.

You don’t need this.

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'>]
 
File Type Py Version Uploaded on Size
envoy-0.0.3-py2.py3-none-any.whl (md5) Python Wheel 2.7 2014-08-13 4KB
envoy-0.0.3.tar.gz (md5) Source 2014-08-13 4KB
  • Downloads (All Versions):
  • 187 downloads in the last day
  • 1095 downloads in the last week
  • 2156 downloads in the last month