In brief
argparse describes command-line arguments and generates usage help. It can convert a value to int and report unsuitable text.
Useful to know
argparse describes command-line arguments and generates usage help. It can convert a value to int and report unsuitable text. [1]
Conversion is not the complete business rule. A negative count can be a valid integer but an unacceptable order. Define constraints separately and distinguish positional arguments from options so scripts can invoke the command predictably.
Sources
For further detail and to check the information: