Skip to main content

extproc is a layer on top of subprocess. The subprocess module supports a rich API but is clumsy for many common use cases, namely sync/async fork-exec, command substitution and pipelining, all of which is trivial to do on system shells.

The goal is to make Python a sane alternative to non-trivial shell scripts.

Features:

  • Easy to fork-exec commands, wait or no wait

  • Easy to capture stdout/stderr of children (command substitution)

  • Easy to express I/O redirections

  • Easy to construct pipelines

  • Use short names for easy interactive typing

Documentation is at <http://github.com/aht/extproc/>.

This module depends on Python 2.6, or where subprocess is available. Doctests require /bin/sh to pass. Tested on Linux.

This is an alpha release. Expect bugs.

Metadata

Release files for extproc 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 extproc 0.0.3
File Size Uploaded
extproc-0.0.3.tar.gz 5.4 kB Details

Release files / extproc-0.0.3.tar.gz

Download URL extproc-0.0.3.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d4a2c00fbfe93234d6f561abb1e01cee34ec6a1a4c5f7ec7dcbb7e5b342690e4
BLAKE2b-256 checksum
How to use checksums
9a8cc2ce73f6c218b9ba8cb77487a209fb7dc4ee4b5f06c0093c0e7301ba3972
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

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