inquirerpy
Python port of Inquirer.js (A collection of common interactive command-line user interfaces)
What it is and what it does
InquirerPy is a Python implementation of Inquirer.js, providing a collection of interactive command-line prompts for building conversational CLI applications. It wraps prompt-toolkit to deliver cross-platform terminal UI components including text input, confirmations, single and multi-select lists, checkboxes, and fuzzy-searchable selections. The library was created as a modernized successor to PyInquirer, addressing its limitations (outdated prompt-toolkit pinning, color and cursor issues, missing key-binding options) while maintaining backward compatibility and adding new features like pagination and a fuzzy prompt.
Most developers use it to build CLI tools that guide users through interactive workflows—configuration wizards, multi-step forms, or menu-driven applications. It supports both a classic dictionary-based API (compatible with PyInquirer) and a fluent builder syntax. The package is lightweight, with only two runtime dependencies, and works on Windows, macOS, and Linux, though Unix platforms generally have better terminal support.
Use it for:
- Build interactive CLI setup wizards that guide users through configuration steps with text inputs, confirmations, and selections.
- Create menu-driven command-line tools where users select from lists or checkboxes to control application behavior.
- Implement fuzzy-searchable selection prompts for choosing from large lists of options (files, resources, configurations).
- Add interactive surveys or questionnaires to CLI applications that collect structured user responses.
- Build terminal-based installers or deployment scripts that prompt for environment-specific choices.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
InquirerPy provides interactive command-line prompts (text input, confirmations, selections, checkboxes, fuzzy search) for building conversational CLI interfaces in Python.
Yes, with conditions. InquirerPy is stable and well-suited for building interactive CLIs with low install friction and no known vulnerabilities. However, the project is dormant (last release 2022-06-27), so adopt it only if you need its specific feature set (especially the fuzzy prompt) and can tolerate no active maintenance. For new projects, consider whether an actively maintained alternative better fits your risk tolerance.
Install
inquirerpy on PyPI
pip
pip install inquirerpyuv
uv add inquirerpypoetry
poetry add inquirerpyInstalling inquirerpy
Before you install
Low friction install with just two runtime dependencies (prompt-toolkit and pfzy). However, the project is dormant—last release was 2022-06-27, with no updates since then despite an active repository.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install InquirerPy
from InquirerPy import inquirer
name = inquirer.text(message="What's your name:").execute()
confirm = inquirer.confirm(message="Confirm?").execute()
Requires Python 3.7 or later; prompt-toolkit and pfzy must be installed as runtime dependencies.
Verify before relying
- Whether dormancy affects real-world stability or if the library is feature-complete and stable enough to require no updates.
- Compatibility with the latest versions of prompt-toolkit beyond what the description excerpt explicitly states.
- Whether the fuzzy search prompt works reliably in production use cases.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.7,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — prompt-toolkit, pfzy |
| Maintenance | dormant — 1,509 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 16,385,473/month — #1,155 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: InquirerPy-0.3.4-py3-none-any.whl
Keywords: cli, prompt-toolkit, commandline, inquirer, development
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
inquirerInquirer provides interactive command-line…
permissive · top 5,000 on PyPI
questionaryQuestionary builds interactive command-line…
permissive · top 1,000 on PyPI
inquirer3Builds interactive command-line prompts with…
permissive · top 15,000 on PyPI
click-promptclick-prompt adds interactive prompts to Click…
permissive · top 15,000 on PyPI
prompt_toolkitprompt_toolkit is a Python library for building…
permissive · top 1,000 on PyPI
pyfzfpyfzf wraps the fzf command-line fuzzy finder,…
permissive · top 15,000 on PyPI
beaupyBeauPy provides interactive CLI…
permissive · top 15,000 on PyPI
click-replAdds an interactive REPL mode to Click…
permissive · top 1,000 on PyPI
bulletBullet provides styled, interactive CLI prompts…
permissive · top 15,000 on PyPI
prompthub-pyFetches prompt templates from Prompt Hub or…
permissive · top 15,000 on PyPI