as library or command line, argparse