Talks

Upgrading Python CLIs: From Scripts to Interactive Tools

Saturday, May 16th, 2026 5 p.m.–5:30 p.m. in Grand Ballroom B

Presented by

Avik Basu

Description

Audience

This talk is for Python developers at any level. We will use ML workflows as our running example, but the patterns apply to any CLI application.

Objective

Attendees will learn how to progressively enhance command-line tools. Through a concrete example that evolves throughout the talk, they will see when and how to apply each library to improve usability, interactivity, and maintainability. By building better CLI experiences, attendees will be encouraged to use terminals more in their own workflows.

Details

Well designed CLI tools are powerful, fast and it makes it very appealing to work with. But more than that, great TUIs can make the command line approachable, and even enjoyable, helping more people embrace terminal-based workflows.

We will build a CLI tool from scratch, starting with basic argparse and print statements, then progressively enhance it through three stages. First, we'll use Typer to replace verbose argparse code with clean, type-safe configuration management. Next, we'll add Rich for progress bars, tables, and styled output. Lastly, we will introduce some interactive elements with Textual, e.g. dashboards, filtering, and real-time updates. Finally we will conclude by discussing when each enhancement is worthwhile, different testing strategies, and some production considerations.

Search