A small package with functions to manage program arguments
Project description
arg.py Version 0.0.1 Https://GitHub.com/techeditorsrc/arg
This module for managing application arguments or custom arguments from string.
Output is dictionary:
self.arg_list={ "args":[], "options":[] }
Items from list "args" is dictionary: { "type":"item type", "src":"source data", "value":"parsed data" }
Items from list "options" is string values what begin from "-" character
Item types can be: "option": where string begin from "-" character "list": where string converted to an array "data": where not matched as an "option" or a "list"
Parsing parameters is dictionary with keys: "case_sensetive" for values with type "option" "list" for values with other type from "option" can be converted to an array "list_by" is default character for conversion "value" to an array "args" is string with custom arguments, it will select for parsing if not empty
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 arg-package-0.0.1.tar.gz.
File metadata
- Download URL: arg-package-0.0.1.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
907f63d0670445a4e1a14ada63e33a30cdadffb55343c792358cf819dcfa01e4
|
|
| MD5 |
df466a783ebf36bb1cfc7fa6423578b0
|
|
| BLAKE2b-256 |
4b37efb4fdb4e2ad2f965d512eede492bc602c382d742665e263324f549afbaf
|
File details
Details for the file arg_package-0.0.1-py3-none-any.whl.
File metadata
- Download URL: arg_package-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9839005b0f0a5652b5b9eaa2bf22ef5584197c24c5e2310484965d3c35e1fe6
|
|
| MD5 |
ebc8c1e0e031fed6c0ce0f4b5ec02dd7
|
|
| BLAKE2b-256 |
680ef0eda550372fd80f66b6640266ff8de0b3a6f05672b178d0e02c5a39e3f7
|