Weekly Journal 94 - Python, Typer
I have been playing around with a new (to me at least) library for building CLI tools in Python. Typer is wrapper around Click and Rich for making nice looking CLI interfaces in Python. The API is similar to FastAPI and it uses modern Python type declarations. I’ve only used it some simple test scripts, but so far it has been a joy to use. It leverages decorators to mark Python functions as CLI commands, and it makes it easy to connect everything together into a cohesive CLI application. I’m looking forward to working with it for both personal and work projects.