Skip to main content

Note: Work in progress.

This is a convenience wrapper around the subprocess module.

You don’t need this.

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'>]

Release files for envoy 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for envoy 0.0.3
File Size Uploaded
envoy-0.0.3.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for envoy 0.0.3
File Interpreter ABI Platform
envoy-0.0.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size:9.2 kB

Release files / envoy-0.0.3.tar.gz

Download URL envoy-0.0.3.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
22b02009cfda2cf2cdb94a75a15ac3fd910aea8685c53e8e03715c7e9d8e8bde
BLAKE2b-256 checksum
How to use checksums
350155819eb9761339b65be3bda906110a3c7c0e9114374cce12a399c5992fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / envoy-0.0.3-py2.py3-none-any.whl

Download URL envoy-0.0.3-py2.py3-none-any.whl
Size 5.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
789d274f8bc00401848678c0ee18199c1a57901749ed6b1a03a3ea53ec72ceef
BLAKE2b-256 checksum
How to use checksums
3671b6ca37dd6bfe6ec851ee385e824fd4e459f2744caa2b8e7533555dcdeb8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

1 release file

0.0.1

1 release file

0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page