Skip to main content

EasyProcess is an easy to use python subprocess interface.

Links:
Features:
  • layer on top of subprocess module

  • easy to start, stop programs

  • easy to get standard output/error, return code of programs

  • command can be list or string

  • logging

  • timeout

  • unittests

  • crossplatform, development on linux

  • global config file with program aliases

Known problems:
  • shell is not supported

  • pipes are not supported

  • large stdout/stderr was not tested, maybe not efficent

  • stdout/stderr is set only after the subprocess has finished

  • stop() does not kill whole subprocess tree

  • Python 3 is not supported

Basic usage

>>> from easyprocess import EasyProcess
>>> EasyProcess('echo hello').call().stdout
'hello'

Installation

General

if you have setuptools installed:

# as root
easy_install EasyProcess

if you have pip installed:

# as root
pip install EasyProcess

Ubuntu

sudo apt-get install python-setuptools
sudo easy_install EasyProcess

Uninstall

# as root
pip uninstall EasyProcess

Metadata

Release files for EasyProcess 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for EasyProcess 0.0.10
File Size Uploaded Provenance Actions
EasyProcess-0.0.10.tar.gz 33.8 kB Without provenance Details for EasyProcess-0.0.10.tar.gz

Release files / EasyProcess-0.0.10.tar.gz

Download URL EasyProcess-0.0.10.tar.gz
Size 33.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0821f39f56e2af7090ab41edb0b7d4ea6293166a9916b84e295a059ad2d129cc
BLAKE2b-256 checksum
How to use checksums
fe13a9044645a586bfc930a943c23406736d25ec5d8f516799c7c2150658ccfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for EasyProcess 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page