Skip to main content

Easily call processes from python

Project description

Perform is for calling processes from python in a simple and easy way. Each program is added to the perform module as a function that returns the stdout printed by the program.

Examples:
To call a normal program that whose name doesn't contain symbols:
stdout = perform.ls()

To pass arguments to a program:
stdout = perform.git("ls-files", "-m")

To call a program that contains symbols in its name:
stdout = perform._("pip2.7", "install", "perform")

To get stderr from a program:
try:
perform.git("asdad")
except Exception as e:
print(str(e))

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

perform-0.0.3.tar.gz (1.9 kB view hashes)

Uploaded Source

Built Distribution

perform-0.0.3-py2.py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 2 Python 3

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