skillfed

questionary

Python library to build pretty command line user prompts ⭐️

questionary Permissive license MIT Active 2,157 v2.1.1 released

Install

questionary on PyPI

pip

pip install questionary

uv

uv add questionary

poetry

poetry add questionary

Package 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

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

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 ✨

Example (image)

```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.
cli prompt libraryinteractive command line formsterminal user interfacepython questionnaire buildercommand line input promptsterminal select dropdowncli checkbox prompts

Similar packages