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.6.0 (2022-11-16)
- remove use of deprecated pipes module
0.5.0 (2020-12-25)
- Removed Python-2 support.
- Switch to using subprocess as a base rather interface directly 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.6.0.tar.gz
(39.0 kB
view details)
Built Distribution
pipettor-0.6.0-py3-none-any.whl
(14.7 kB
view details)
File details
Details for the file pipettor-0.6.0.tar.gz
.
File metadata
- Download URL: pipettor-0.6.0.tar.gz
- Upload date:
- Size: 39.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c48c10356802d859f5d2bb2822b2499789892ed1cea925e1820b5644e8dfbb |
|
MD5 | 1d79fcd9e8db0b39bc710c1dd9d99239 |
|
BLAKE2b-256 | bb873d521774a38f6af0365e880f22d4832ee3e1dfcec54eb3417712357ff546 |
File details
Details for the file pipettor-0.6.0-py3-none-any.whl
.
File metadata
- Download URL: pipettor-0.6.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a81987ecc8484f5a11a989cafbc1abf82c0a530efb61934e2c685bd8525c425 |
|
MD5 | 4cd7aa9dff0e9d191eb48859d216c6e6 |
|
BLAKE2b-256 | d45f6575aa7778c2e0901007c8e7531ac39323bb2acf2bd07588de3615c0e0ae |