git404hub

what is pyinquirer fr?

someone-cloud/pyinquirer — explained in plain English

Analysis updated 2026-07-24

14PythonAudience · developerComplexity · 2/5LicenseSetup · easy

tl;dr

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.

vibe map

mindmap
  root((repo))
    What it does
      Interactive CLI prompts
      Eight question types
      Conditional questions
    Question types
      Text and confirm
      List and checkbox
      Password and editor
    Tech stack
      Python
      pip package
    Use cases
      Build CLI menus
      Collect user input
      Pizza ordering demo
    License
      MIT license
      Open source fork

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Build a command-line menu that lets users pick options from a list.

VIBE 2

Create a CLI setup wizard that asks a series of questions with defaults and validation.

VIBE 3

Collect secure password input from users without displaying characters on screen.

VIBE 4

Present a multi-select checklist for users to choose several items at once.

what's the stack?

Pythonpip

how it stacks up fr

someone-cloud/pyinquirer0c33/agentic-aiadennng/stock_strategy_lab
Stars141414
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencedeveloperdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Install with pip and define questions as Python dictionaries, no external dependencies or infrastructure required.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

in plain english

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.

prompts (copy fr)

prompt 1
Install PyInquirer with pip and write a Python script that uses a list prompt to let the user choose between 'Create new project', 'Open existing project', and 'Delete project', then print their choice.
prompt 2
Using PyInquirer, create a checkbox prompt that asks users to select their favorite pizza toppings from a list, then display a summary of their selections.
prompt 3
Build a PyInquirer prompt with a text input that validates the user entered a valid email address, and a confirm question asking if they want to proceed.
prompt 4
Create a PyInquirer script that uses the 'when' conditional to only ask for a password if the user selected 'yes' to a confirmation question about enabling authentication.

Frequently asked questions

what is pyinquirer fr?

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.

What language is pyinquirer written in?

Mainly Python. The stack also includes Python, pip.

What license does pyinquirer use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is pyinquirer to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is pyinquirer for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.