🌐
Reddit
reddit.com › r/learnpython › recommended library for an interactive cli?
r/learnpython on Reddit: Recommended library for an interactive CLI?
February 11, 2022 -

I'm trying to build a simple script. I'd like to present a list of options to a user, then allow the user to tab up and down through the list (using arrows and/or j+k) and select an option with enter.

Bonus points if the library can:

  • present follow up options/questions/commands after selecting an option

  • accept one of multiple keystrokes/commands when selecting the option, not just <enter>

  • refresh the view of the list of options (e.g. if there are associated statuses with each option)

Any suggestions?

Thanks!

🌐
Medium
medium.com › geekculture › build-interactive-cli-tools-in-python-47303c50d75
Build Interactive CLI Tools in Python | by Dinesh Kumar K B | Geek Culture | Medium
October 10, 2024 - We can build interactive and immersive command-line interfaces in python using PyInquirer and other libraries. For my example, I am picking click and PyInquirer.
Discussions

command line interface - Python interactive CLI application? - Stack Overflow
I'm not even sure what these would be called? I used to write them in ADA running on VAX-VMS! I want to make a simple menu-driven application that would let me display menus and use the cursor key... More on stackoverflow.com
🌐 stackoverflow.com
Recommended library for an interactive CLI?
You’re looking for a TUI, a Text User Interface Library. Here are some examples: https://github.com/bczsalba/pytermgui https://github.com/Textualize/textual There are a number of TUI libraries, I expect you can find on that fits your needs if you search for Python TUI. Gooey is an interesting tool that may get you most of the way to what you want. It creates a GUI automatically from the same set of directives you would use to set up a command line utility (argparse). https://github.com/chriskiehl/Gooey More on reddit.com
🌐 r/learnpython
10
8
February 11, 2022
Anyone know a good 2D drawing library for python?
I have used the Python bindings of Cairo and I think PyCairo is pretty much awesome - http://www.cairographics.org/pycairo/ More on reddit.com
🌐 r/programming
26
11
December 16, 2008
Is there a python framework supporting "drill down charts". Example: I present a histogram of years, click on a year, get a histogram of months, click on a month, histogram of days. I can generate simple matplotlib graphs for Jupyter, it would be neat if each graph element could contain a link.
Essentially, you want a dashboard solution. Tableau is a good choice, but if you were adventurous enough to try your own. https://dash.plot.ly/interactive-graphing More on reddit.com
🌐 r/datascience
30
28
July 4, 2018
🌐
The Hitchhiker's Guide to Python
docs.python-guide.org › scenarios › cli
Command-line Applications — The Hitchhiker's Guide to Python
Cement is flexible, and its use ... a mega-framework. Python Fire is a library for automatically generating command-line interfaces from absolutely any Python object. It can help debug Python code more easily from the command line, create CLI ...
🌐
PyPI
pypi.org › project › cmd2
cmd2 · PyPI
cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python
      » pip install cmd2
    
Published: Jul 16, 2026
Version: 4.1.2
🌐
Medium
medium.com › @wilson79 › 10-best-python-cli-libraries-for-developers-picking-the-right-one-for-your-project-cefb0bd41df1
10+ Best Python CLI Libraries for Developers: Picking the Right One for Your Project | by Wilson | Medium
February 3, 2026 - Best for: Beautiful interactive prompts (like a CLI wizard) Think of those setup wizards that ask you questions one by one — project name, choose a template, confirm settings. That’s what these libraries do. ... And it handles empty input, retries, and even custom validators automatically. Best for: Progress bars for loops and long operations · TQDM (from Arabic “taqaddum” = progress) is the standard for progress bars in Python.
🌐
GitHub
github.com › facebookincubator › python-nubia
GitHub - facebookarchive/python-nubia: A command-line and interactive shell framework. · GitHub
May 30, 2022 - Interactive mode that offers fish-style auto-completion · CLI mode that gets generated from your functions and classes.
Author: facebookarchive
🌐
Real Python
realpython.com › python-click
Click and Python: Build Extensible and Composable CLI Apps – Real Python
March 18, 2026 - In this tutorial, you'll learn how to use the Click library to build robust, extensible, and user-friendly command-line interfaces (CLI) for your Python automation and tooling scripts.
🌐
YouTube
youtube.com › watch
how to build interactive command line tools (quick and easy) with python - YouTube
Usually CLI tools have really poor interactivity.In this tutorial we will use the equivalent of radio-buttons and check-boxes in a simple Python command-line...
Published: August 11, 2020
Find elsewhere
🌐
GitHub
github.com › shadawck › awesome-cli-frameworks
GitHub - shadawck/awesome-cli-frameworks: Collection of tools to build beautiful command line interface in different languages · GitHub
Vorpal : Vorpal is Node's first framework for building interactive CLI applications. With a simple and powerful API, Vorpal opens the door to a new breed of rich, immersive CLI environments.
🌐
Real Python
realpython.com › python-typer-cli
Build a Command-Line To-Do App With Python and Typer – Real Python
July 3, 2026 - In this step-by-step project, you'll create a to-do application for your command line using Python and Typer. While you build this app, you'll learn the basics of Typer, a modern and versatile library for building command-line interfaces (CLI).
🌐
Opensource.com
opensource.com › article › 17 › 5 › 4-practical-python-libraries
4 Python libraries for building great command-line user interfaces | Opensource.com
May 9, 2017 - By the end of this article, readers should have a good understanding of how to use Prompt Toolkit, Click (Command Line Interface Creation Kit), Pygments, and Fuzzy Finder to implement an easy-to-use REPL. I plan to achieve this in fewer than 20 lines of Python code.
🌐
PyPI
pypi.org › project › interactive-cli
interactive-cli · PyPI
May 3, 2023 - poetry run python -m interactive_cli · PyPI data · Data sourced directly from PyPI's database. Released: May 3, 2023 Latest release · PyPI data · Data sourced directly from PyPI's database. miile7 · Author: miile7 · Python >=3.8, <4.0 · Programming Language ·
🌐
The-analytics
the-analytics.club › python-cli-tutorial
How To Create Interactive CLIs In Python?
July 26, 2021 - Please wait while your request is being verified
🌐
GitHub
github.com › alttch › icli
GitHub - alttch/icli: interactive command line interfaces for Python · GitHub
icli is a Python library, built on top of argparse, which allows you to quickly build rich interactive command line interfaces with sections, command history, command batch processing, command repeating and interactive auto-complete.
Author: alttch
🌐
Thegreenreport
thegreenreport.blog › articles › interactive-cli-automation-with-python › interactive-cli-automation-with-python.html
The Green Report | Interactive CLI Automation with Python
January 5, 2025 - Logs provide insight into how our script interacts with the CLI, helping us pinpoint issues quickly. ... Log each step of the automation process, including input commands and received outputs. Use built-in logging capabilities (sys.stdout for pexpect or explicit print statements in pywinauto). For more advanced needs, integrate Python's logging module to store logs in files and configure log levels (e.g., INFO, DEBUG, ERROR).
🌐
ThemeSelection
themeselection.com › home › collections › 9 must have python cli library for developers in 2025
10+ Best Python CLI Library for Developers - ThemeSelection
August 11, 2026 - The Python CLI library is a collection of tools and functions that facilitate the creation of command-line interfaces in Python applications. Furthermore, it includes pre-built modules and functions that help developers handle user input, execute ...
🌐
PyPI
pypi.org › project › intermake
intermake · PyPI
Automated run-time generation of user interfaces from Python functions - command-line-args, CLI, python-interactive, python-scripted, graphical (Qt GUI)
      » pip install intermake
    
Published: Feb 05, 2019
Version: 1.0.0.78
🌐
Pythonrepo
pythonrepo.com › catalog › python-command-line-interface-development_newest_1
The Best 31 Python CLI Interface Development Libraries | PythonRepo
January 12, 2022 - Python Fire Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. Python Fire is a s ... Python Prompt Toolkit prompt_toolkit is a library for building powerful interactive command line applications in Python.