argsdict
Simple command-line argument parser.
$ python args.py John Smith --age=30 --married
from argsdict import args
arg = args(["name", "surname"])
>> {"name": "John",
"surname": "Smith",
"--age": "30",
"--married": True}
Simple command-line argument parser.
pip install argsdict==0.0.1
Simple command-line argument parser.
$ python args.py John Smith --age=30 --married
from argsdict import args
arg = args(["name", "surname"])
>> {"name": "John",
"surname": "Smith",
"--age": "30",
"--married": True}