Questionary

Version License Supported Python Versions

✨ Questionary is a Python library for effortlessly building pretty command line interfaces ✨

It makes it very easy to query your user for input. You need your user to confirm a destructive action or enter a file path? We’ve got you covered:

_images/example.gif

Creating your first prompt is just a few key strokes away

import questionary

first_name = questionary.text("What's your first name").ask()

This prompt will ask the user to provide free text input and the result is stored in first_name.

You can install Questionary using pip (for details, head over to the Installation page):

$ pip install questionary

Ready to go? Check out the Quickstart.

License

Licensed under the MIT License. Copyright 2020 Tom Bocklisch.