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
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
pyxtern-2.0.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for pyxtern-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9196539b2e2d1a847ab5046e487631c28fff1a74523a8e8f30da59352e1a1af |
|
MD5 | 381c07c13a69d98281c6c2ac1240106d |
|
BLAKE2b-256 | 6fed372d121e1e066070a277c6d6aa51293da3f1e5d7760b60d25c876cda0eb4 |