Analysis updated 2026-07-24
Build a command-line menu that lets users pick options from a list.
Create a CLI setup wizard that asks a series of questions with defaults and validation.
Collect secure password input from users without displaying characters on screen.
Present a multi-select checklist for users to choose several items at once.
| someone-cloud/pyinquirer | 0c33/agentic-ai | adennng/stock_strategy_lab | |
|---|---|---|---|
| Stars | 14 | 14 | 14 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 4/5 | 4/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Install with pip and define questions as Python dictionaries, no external dependencies or infrastructure required.
PyInquirer is a Python library that helps developers build interactive prompts for command line programs. Instead of making users type raw commands, you can present them with menus, yes or no confirmations, text fields, password inputs, and multi-select checklists. The project is a maintained fork of an earlier library that was abandoned in 2024, when the original author asked for someone to take over. This updated version adds support for recent Python versions and fixes compatibility issues with the underlying text interface library it relies on. You install it with pip, the standard Python package installer. The basic workflow involves defining a list of questions as Python dictionaries, then passing them to a prompt function that displays each question, collects the user's response, and returns all answers together. Each question specifies a type, a name to store the answer under, and the message displayed to the user. You can also set default values, validate input, transform answers with filters, and conditionally skip questions based on previous responses. The library supports eight question types. Simple text input and yes or no confirmations cover basic cases. List prompts let users pick one item from a menu, while checkbox prompts allow multiple selections. There is also a numbered list variant, an expandable choice list with keyboard shortcuts, a password field that hides typed characters, and an editor type that opens an external text editor for longer input. The repository includes example scripts demonstrating each question type, plus a combined pizza ordering demo that shows several prompt types working together. Custom visual styling is available through color and formatting rules applied to question marks, pointers, and selected items. The fork is maintained by Zafrul Razeem, with the original work credited to Oyetoke Toby. It is released under the MIT license.
A Python library for creating interactive command-line prompts like menus, checkboxes, and password inputs, letting you build user-friendly CLI tools without raw text commands.
Mainly Python. The stack also includes Python, pip.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.