Use command line tool in Python
Project description
UCLTIP - Use command line tool in Python
This library make you easy to use command line tool in Python. The idea and most of basic codes are from GitPython project http://pypi.python.org/pypi/GitPython/
Here is examples
- ::
from ucltip import SingleCmd ls = SingleCmd(‘ls’) # use it as a function print ls(a=True,l=True)
if the command has sub commd , you can use CmdDispatcher
- ::
from ucltip import CmdDispatcher
class Zenity(CmdDispatcher):
cmd = ‘zenity’ subcmd_prefix = ‘–’
zenity = Zenity() zenity.info(text=”hello”, width=”200”)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ucltip-0.3.tar.gz.
File metadata
- Download URL: ucltip-0.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98b955476cdfbfee54fd195b5758f9d4aa10f6281dd151786346c04fb3781ee4
|
|
| MD5 |
822614aebab635a5c426065599b00d9c
|
|
| BLAKE2b-256 |
91949d78d009e43a7a345e80006abf0d944150f2f581116c316a3f55e95a396f
|
File details
Details for the file ucltip-0.3.linux-i686.exe.
File metadata
- Download URL: ucltip-0.3.linux-i686.exe
- Upload date:
- Size: 65.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87346e6f64cd338aecabad966befd943acd3e1943fb0fec42b7a637c189d2f21
|
|
| MD5 |
3a8219e88f8ffacbd28ddc14fc6dc9cf
|
|
| BLAKE2b-256 |
b6959cdbfe84d568e1c32c05cb65ee96af6cf735830cfd0c45ccdca0023285fa
|