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.
- Host: GitHub
- URL: https://github.com/vsajip/sarge
- Owner: vsajip
- License: other
- Created: 2021-12-10T18:25:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-25T13:24:30.000Z (over 1 year ago)
- Last Synced: 2024-10-30T01:02:14.582Z (over 1 year ago)
- Language: Python
- Homepage: https://docs.red-dove.com/sarge/
- Size: 2.2 MB
- Stars: 31
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
- awesome-python - sarge - Yet another wrapper for subprocess. (Processes)
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
`_.