pipettor - robust, easy to use Unix process pipelines
Project description
=============================== Pipettor Overview
pipettor - robust, easy to use Python package for running Unix process pipelines
Features
- Creating process pipelines in Python is either complex (e.g.
subprocess
), or not robust (e.g.os.system()
). This package aims to address these shortcomings. - Command pipelines are simply specified as a sequence of commands, with each command represented as a sequence of arguments.
- Failure of any process in the pipeline results in an exception, with
stderr
included in the exception. - Pipeline
stdin/stdout/stderr
can be passed through from parent process, redirected to a file, or read/written by the parent process. - Asynchronous reading and writing to and from the pipeline maybe done without risk of deadlock.
- Pipeline can run asynchronously or block until completion.
- Popen-style File-like objects for reading or writing a pipeline.
- Documentation: https://pipettor.readthedocs.org.
History
0.5.0 (2020-12-25)
- Removed Python-2 support.
- Switch to using subprocess as a base rather interface directly interface with Unix system calls. This lets subprocess deal with various issues dealing with the Python interpreter environment.
0.4.0 (2018-04-21)
- Allow passing through universial newline mode for PY2.
- Fix bug with not using specified log level.
0.3.0 (2018-02-25)
- added open-stying buffering, encoding, and errors options
- source cleanup
0.2.0 (2017-09-19)
- Simplified and log of info and errors levels by removing logLevel options.
- Improvements to documentation.
0.1.3 (2017-06-13)
- Documentation fixes
0.1.2 (2017-06-11)
- First public release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipettor-0.5.0.tar.gz
(43.3 kB
view details)
Built Distribution
File details
Details for the file pipettor-0.5.0.tar.gz
.
File metadata
- Download URL: pipettor-0.5.0.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160e3ab77881875960a1232d003a314bef598da1c738d0faff7408f74a256b7a |
|
MD5 | 6f50340c35d461f7f633873a903a5342 |
|
BLAKE2b-256 | 70fe7e10fdc55d720cdf37239dca1288ec9361a5923205c5d6831a675f358136 |
File details
Details for the file pipettor-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: pipettor-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c639c2a078467b61184205d2ca4751f0a77187c8127f7eda2bd48b09910b81dc |
|
MD5 | 7259fde99e904d866b033b1d6d320bda |
|
BLAKE2b-256 | dece76ad1530160fee7a254de37399e767d4eb2b8f35984da03ac949d645fa4f |