pymist
Python port of node's minimist module
usage
from pymist import parse
"""
result: {
'a': True,
'b': 1
}
"""
parse(['-a', '-b', '1'])
"""
result: {
'mode': 'debug',
'f': 'test.py'
}
"""
parse(['--mode=debug', '-f', 'test.py'])