Skip to main content

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


Download files

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

Source Distribution

simpleargvs-1.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simpleargvs-1.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file simpleargvs-1.1.0.tar.gz.

File metadata

  • Download URL: simpleargvs-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

Hashes for simpleargvs-1.1.0.tar.gz
Algorithm Hash digest
SHA256 e69e9622aaff276a70b4ae9384f9010ba074eb730e6ad6fd5671a83938180044
MD5 09a2300a5fd514e3225a67b9582481fc
BLAKE2b-256 0fde582233b67342d0d7b6c665eacd76a8bad2a12dec2cd2206d6a5dd1713a71

See more details on using hashes here.

File details

Details for the file simpleargvs-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: simpleargvs-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.11

File hashes

Hashes for simpleargvs-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 542f790afe1279609fa794f0adbee514de65c92bbed7250bdd38897e9f9483ed
MD5 fffbd7077e2d2dba8c3f4747805b9518
BLAKE2b-256 3f2c9508f0498fc0c1d0d529657350ff50ef891e11d8397975b432ef82ba80a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page