The docopt-ng package allows for a more user friendly way to include options when running python scripts, that can then be passed on as arguments to the main function. The original package docopt is no longer being maintained, but this forked version is.
https://github.com/jazzband/docopt-ng