A simpler way to use sys.argvs
Project description
argvs
argvs is a lightweight Python library that simplifies sys.argv.
📦 Installation
pip install argvs
or:
pip3 install argvs
## Usage
from argvs import *
ar = argvs()
ar.add_param_list([
['greet', 1, greet],
['version', 1, show_version],
['bye', 1, say_goodbye]
])
ar.init_all()
# example shell commands
```bash
python bridger.py resize input.jpg output.jpg 200 300
or:
python3 bridger.py resize input.jpg output.jpg 200 300# argvs-lib-for-python
# argvs-lib-for-python
# argvs-lib-for-python
# argvs-lib-for-python
# argvs-lib-for-python
# argvs-lib-for-python
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
argvs-1.1.0.tar.gz
(2.1 kB
view details)
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
argvs-1.1.0-py3-none-any.whl
(2.2 kB
view details)
File details
Details for the file argvs-1.1.0.tar.gz.
File metadata
- Download URL: argvs-1.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
553a0de4d7860476fde301fbc56975388672384c26f402b2e2f8853f580872e6
|
|
| MD5 |
f76516b173ed5dc8061ca69e0dd0a6d4
|
|
| BLAKE2b-256 |
1680904b1a6f1d6fbf1dd7d3a496a8994fdb0c2f28ed4a97ae5df39c43b3269a
|
File details
Details for the file argvs-1.1.0-py3-none-any.whl.
File metadata
- Download URL: argvs-1.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672c6ee309b4edc5f13bc434d00a4ca8e8d9701086c212f8656ec500839fa2d4
|
|
| MD5 |
362d21db3feffe2446a1f4d5fd1a16dd
|
|
| BLAKE2b-256 |
8441ff06654f606fd48f0a4dfb7ba560cb0df51c904987784e3d304f289dfa15
|