The sarge package provides a wrapper for subprocess which provides command pipeline functionality.
This package leverages subprocess to provide easy-to-use cross-platform command
pipelines with a POSIX flavour: you can have chains of commands using ;
, &
,
pipes using |
and |&
, and redirection.
The sarge package requires Python 2.7 or Python 3.6 or greater, and can be installed with the standard Python installation procedure:
pip install sarge
There is a set of unit tests which you can invoke with:
python setup.py test
before running the installation.
The latest version of sarge can be found on GitHub.
The latest documentation (kept updated between releases) is on Read The Docs.
Please report any problems or suggestions for improvement either via the mailing list or the issue tracker.