Skip to main content

Uses to prompt user to fill out a questionnaire, and returns the results as a dict

Project description

# questionnaire

__questionnaire__ is a Python library that uses [pick]( to prompt a user to answer a series of questions. At the end of the questionnaire if returns the answers as a dict.

As with __pick__, __questionnaire__ supports multiple choice questions only. However, __questionnaire__ allows users to select multiple options for a single question.

__questionnaire__’s most powerful feature is the ability to include any question conditionally based on previous answers. The API for conditional questions is simple and flexible.

Finally, users can use <kbd>&larr;</kbd> or <kbd>h</kbd> to go back in a questionnaire.

## Installation `sh pip install questionnaire `

## Examples Check out [this client](examples/ that uses __questionnaire__ to build up a dict of answers for easy generating an ansible-playbook command for administering servers.


## Multiple options

## Conditional questions

## Tests

## LICENSE This code is licensed under the [MIT License](

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for questionnaire, version 0.4.2
Filename, size File type Python version Upload date Hashes
Filename, size questionnaire-0.4.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page