An open API service indexing awesome lists of open source software.

https://github.com/vsajip/sarge

Subprocess Allegedly Rewards Good Encapsulation :-) This library provides a wrapper for subprocess which provides command pipeline functionality.
https://github.com/vsajip/sarge

Last synced: 12 months ago
JSON representation

Subprocess Allegedly Rewards Good Encapsulation :-) This library provides a wrapper for subprocess which provides command pipeline functionality.

Awesome Lists containing this project

README

          

|badge1| |badge2|

.. |badge1| image:: https://img.shields.io/github/workflow/status/vsajip/sarge/Tests
:alt: GitHub test status

.. |badge2| image:: https://img.shields.io/codecov/c/github/vsajip/sarge
:target: https://app.codecov.io/gh/vsajip/sarge
:alt: GitHub coverage status

Overview
========
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.

Requirements & Installation
---------------------------

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.

Availability & Documentation
----------------------------

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
`_.