Собрали в одном месте самые важные ссылки
читайте авторский блог
The go-to library for adding CLI functionality in Python is the built in argparse library. This works really well, but there is a relatively new 3rd party library called typer that boasts a number of improvements.