Python 3 is used instead of shell, when otherwise somewhat complex logic would be done in shell scripts or argument parsing needs to be done. Minimize the number of templates inside a Python script, in order to simplify the code. In the ideal case, there is only one. Such an ideal Python script is basically like a simple shell script, where all arguments are passed implicitly as environment variables, but argument parsing is done explicitly via program arguments.
Use dedicated documentation files for detailed documentation. Help messages in CLI commands should only describe the minimal interface and show how more detailed information can be obtained.
Python code should adhere to PEP 8 – Style Guide for Python Code, as much as reasonable.