In my quest to build some cloud focused tooling, I stumbled on two Python libraries that are probably super well known in the Python community but new to me. Typer and Click are both libraries for building CLI applications. They work to make it simple to create a command line tool in Python. Typer actually requires Click but is definitely the simplest to use – import typer, create a typer.Typer app, decorate your functions and you’re done! Click is a little more complex to implement but does seem quite feature rich. Maybe a full comparison in a later post is required.
You can find Typer on the web here: https://github.com/tiangolo/typer
Click is out on the inter webs here: https://github.com/pallets/click
