tmbo/questionary
tmbo/questionary has 2,198 GitHub stars and 121 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-07 22:48 UTC. Last push 2026-08-18.
Python library to build pretty command line user prompts ✨Easy to use multi-select lists, confirmations, free text prompts ...
Measured star growth
- in 24h
- +1
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalQuestionary
✨ Questionary is a Python library for effortlessly building pretty command line interfaces ✨

import questionary
questionary.text("What's your first name").ask()
questionary.password("What's your secret?").ask()
questionary.confirm("Are you amazed?").ask()
questionary.select(
"What do you want to do?",
choices=["Order a pizza", "Make a reservation", "Ask for opening hours"],
).ask()
questionary.rawselect(
"What do you want to do?",
choices=["Order a pizza", "Make a reservation", "Ask for opening hours"],
).ask()
questionary.checkbox(
"Select toppings", choices=["foo", "bar", "bazz"]
).ask()
questionary.path("Path to the projects version file").ask()
Used and supported by
Features
Questionary supports the following input prompts:
There is also a helper to print formatted text for when you want to spice up your printed messages a bit.
Installation
Use the package manager pip to install Questionary:
pip install questionary
✨🎂✨
Usage
import questionary
questionary.select(
"What do you want to do?",
choices=[
'Order a pizza',
'Make a reservation',
'Ask for opening hours'
]).ask() # returns value of selection
That's all it takes to create a prompt! Have a look at the documentation for some more examples.
Documentation
Documentation for Questionary is available here.
Support
Please open an issue with enough information for us to reproduce your problem. A minimal, reproducible example would be very helpful.
Contributing
Contributions are very much welcomed and appreciated. Head over to the documentation on how to contribute.
Authors and Acknowledgment
Questionary is written and maintained by Tom Bocklisch and Kian Cross.
It is based on the great work by Oyetoke Toby and Mark Fink.
License
Licensed under the MIT License. Copyright 2021 Tom Bocklisch.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,875 starspublic-apis/public-apis
A collective list of free APIs
497,120 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,926 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,168 stars