Query string parsing in Python in the style of the standard library argparse module.