Skip to main content

pipettor - robust, easy to use Unix process pipelines

Project description

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 provides 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.

  • File-like objects for reading or writing a pipeline.

  • Documentation: https://pipettor.readthedocs.org.

History

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


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.3.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

pipettor-0.3.0-py2.py3-none-any.whl (16.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pipettor-0.3.0.tar.gz.

File metadata

  • Download URL: pipettor-0.3.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pipettor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9b10e6772a14ab1dbada69fdeec7e7905f56a2d76062dd1e6238cdea30e74cdf
MD5 7fca8c2b1399f1c3a4a6046c5a729779
BLAKE2b-256 74aa1d627ff1a230c2324a748b24564bd99b5b40ddbfd15bd6ade41f07459d13

See more details on using hashes here.

File details

Details for the file pipettor-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pipettor-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 001ee87b0242796829b3c3bbbcfe95112fcef7a35b0a37a9c83b2cc41162854f
MD5 4bb3c642913069787c0324b5ce03ed51
BLAKE2b-256 e4010919f46ed55bfbbbd1c7ed9f1a37bd8c70b0dcfcfe311d57fa55c4af6289

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page