Click

Develop Python Command Line (CLI) Application With Click
Python Click CLI: Validate and Modify Arguments