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)
Metadata
Release files for pyxtern 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyxtern-2.0.0.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxtern-2.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 15.3 kB
Release files / pyxtern-2.0.0.tar.gz
| Download URL | pyxtern-2.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ebd43de37cc0b8b2612c848599e94703727ac5a78034b87e88d38e204dd9dab
|
|
BLAKE2b-256 checksum How to use checksums |
bedcdde515882b7447eacdd935f47522dc8240f086fa0faab83b5997f8f6d8c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
|
Release files / pyxtern-2.0.0-py2.py3-none-any.whl
| Download URL | pyxtern-2.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e9196539b2e2d1a847ab5046e487631c28fff1a74523a8e8f30da59352e1a1af
|
|
BLAKE2b-256 checksum How to use checksums |
6fed372d121e1e066070a277c6d6aa51293da3f1e5d7760b60d25c876cda0eb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15rc1
|