Skip to main content

A small package to run external command lines.

Project description

This package provides decorators and methods to run any external command line in a proper maner. It allows the creation of any command line python interface with ease.

How to install

Since pyxtern is hosted on PyPI, it can be installed using:

pip install pyxtern

How to use

The full documentation is available here. The following example presents the simplest way of using pyxtern:

from pyxtern import run

cmd = "find ./pyxtern -name *.py"
exit, out, err = run(cmd.split(), tee=True)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyxtern, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pyxtern-2.0.0-py2.py3-none-any.whl (9.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pyxtern-2.0.0.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page