Pixelsuft Parse Arguments
Parse Command Line Arguments From String
Change Log
Added set Function For Getting String From Arguments
Example
from parse_args import get as get_args
from parse_args import set as get_str
print(str(get_args(' test.exe /f /m --file "lol lol.txt" --test 1 2')))
print(get_str(['test.exe', '-F', 'test.txt lol']))
Output:
['test.exe', '/f', '/m', '--file', 'lol lol.txt', '--test', '1', '2']
"test.exe" "-F" "test.txt lol"
Metadata
Release files for parse-args 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| parse_args-2.0.0.tar.gz | 1.8 kB | Details |
Release files / parse_args-2.0.0.tar.gz
| Download URL | parse_args-2.0.0.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd061fcfb08f6c26c1cf5eddc460e8306cdfe09157e8597593a47afe8d18a32c
|
|
BLAKE2b-256 checksum How to use checksums |
194c2329cfe4439c4a329da27fc45b747846cd29b1da942aa5c96a24f678a027
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.0
|