questionary
Python library to build pretty command line user prompts ⭐️
Install
questionary on PyPI
pip
pip install questionaryuv
uv add questionarypoetry
poetry add questionaryPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — prompt_toolkit |
| Maintenance | actively maintained — 350 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: questionary-2.1.1-py3-none-any.whl
Keywords: cli, ui, inquirer, questions, prompt
About questionary
from the package's own PyPI description — quoted content, verbatim
Questionary
Version (image) License (image) Continuous Integration (image) Coverage (image) Supported Python Versions (image) Documentation (image)
✨ Questionary is a Python library for effortlessly building pretty command line interfaces ✨
```python3 import questionary
questionary.text("What's your first name").ask() questionary.password("What's your secret?").ask() questionary.confirm("Are you...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Questionary builds interactive command-line prompts and forms with minimal code, supporting text input, selections, checkboxes, passwords, and confirmations through a clean Python API.
Low friction install with a single runtime dependency (prompt_toolkit). Actively maintained with recent releases; last commit 2026-07-22 and latest release 2025-08-28 indicate ongoing support.
MIT license permits commercial and private use with minimal restrictions; you must retain the copyright notice and license text in distributions.
Usage
pip install questionary
import questionary
questionary.select(
"What do you want to do?",
choices=["Option A", "Option B", "Option C"]
).ask()
Requires Python 3.9 or later.
Verdict: Questionary is a well-maintained, permissively licensed library for building polished CLI prompts with minimal dependencies. No known vulnerabilities, active development, and top-1000 PyPI popularity make it a solid choice for interactive command-line applications.
Needs verification
- Whether prompt_toolkit's own dependencies introduce additional system-level requirements or transitive friction beyond what the fact sheet captures.
- Performance characteristics or latency implications when handling large choice lists or complex nested prompts.
Similar packages
permissive · top 1,000 on PyPI
shellinghampermissive · top 1,000 on PyPI
opentelemetry-semantic-conventions-aipermissive · top 1,000 on PyPI
mlflowpermissive · top 1,000 on PyPI
ptyprocesspermissive · top 1,000 on PyPI
pymupdf4llmagpl · top 1,000 on PyPI
dateparserpermissive · top 1,000 on PyPI
argcompletepermissive · top 1,000 on PyPI
prompt_toolkitpermissive · top 1,000 on PyPI
cycloptspermissive · top 1,000 on PyPI