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
Hashes for arg_package-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9839005b0f0a5652b5b9eaa2bf22ef5584197c24c5e2310484965d3c35e1fe6 |
|
MD5 | ebc8c1e0e031fed6c0ce0f4b5ec02dd7 |
|
BLAKE2b-256 | 680ef0eda550372fd80f66b6640266ff8de0b3a6f05672b178d0e02c5a39e3f7 |