questionary
Python library to build pretty command line user prompts ⭐️
Decision gist · record as of 2026-08-14
Yes. Questionary is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—styled, interactive CLI prompts—cleanly and is widely used. Install it if you need to collect user input in a terminal application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction: pure Python wheel with a single runtime dependency (prompt_toolkit).
- Actively maintained with recent commits and a large user base (top 1000 on PyPI).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.
last release 2025-08-28 (351 days) · last repo commit 2026-07-22 · 2,157 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 24,319,914 downloads/mo, #920 on PyPI
Alternatives
Verify before relying
pip install questionary
import questionary
questionary.text("What's your name?").ask()
questionary.select("Choose one:", choices=["A", "B", "C"]).ask()What it is and what it does
Questionary is a Python library that wraps prompt_toolkit to simplify building interactive command-line interfaces. It provides a high-level API for common input patterns—text fields, password prompts, single and multi-select menus, checkboxes, file path input, and confirmations—without requiring you to manage the lower-level terminal handling yourself.
You call questionary methods like `text()`, `select()`, or `checkbox()` with a prompt and optional choices, then chain `.ask()` to display the prompt and return the user's response. It's designed for CLI tools, setup wizards, and interactive scripts where you need clean, styled prompts without building a full TUI framework.
Use it for
- Build interactive CLI setup wizards or configuration scripts that guide users through choices.
- Collect structured user input (names, passwords, selections) in terminal-based tools.
- Create multi-step command-line forms with validation and styled prompts.
- Add interactive menus to shell scripts or automation tools.
- Build chatbot or conversational CLI interfaces with prompted questions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Questionary is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—styled, interactive CLI prompts—cleanly and is widely used. Install it if you need to collect user input in a terminal application.
Install
questionary on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (prompt_toolkit). Actively maintained with recent commits and a large user base (top 1000 on PyPI).
Requires Python 3.9 or later.
License in practice
MIT license is permissive; you can use this freely in commercial and private projects with minimal restrictions.
Quickstart
pip install questionary
import questionary
questionary.text("What's your name?").ask()
questionary.select("Choose one:", choices=["A", "B", "C"]).ask()
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageprompt_toolkit |
| Maintenance | Actively maintained 351 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 24,319,914 / month, #920 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries |
Evidence: questionary-2.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “interactive terminal prompts”
- questionaryQuestionary builds interactive command-line prompts with text input,…
- beaupyBeauPy provides interactive CLI elements—select, multi-select,…
- bulletBullet provides styled, interactive CLI prompts for Python—bullet…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also inquirerpy · inquirer · inquirer3 · click-prompt · bullet · pdd-cli · clikit · prompty · rich-toolkit · beaupy