Cope 2.5.0
My personal "standard library" of all the generally useful code I've written for various projects over the years
Loading...
Searching...
No Matches
Cope.boilerplate.CommonResponses Class Reference

A collection of default responses for inputs. More...

Static Public Attributes

tuple YES = ('y', 'yes', 'ya', 'yeah', 'si', 'true', 'definitely', 'accurate', 'totally', 'yup')
 
tuple NO = ('n', 'no', 'not', 'nien', 'false', 'nope', 'not really', 'nah')
 
tuple MAYBE = ('sure', 'kinda', 'i guess', 'kind of', 'maybe', 'ish', 'sorta')
 
tuple NA = ('none', 'na', 'n/a', 'not applicable')
 
tuple HIGH_AMOUNT
 
tuple MODERATE_AMOUNT = ('fairly', 'somewhat', 'enough')
 
tuple SOME_AMOUNT = ('a little bit', 'a bit', 'a little', 'ish', 'not a lot', 'not a ton', 'some', 'mostly')
 
tuple LOW_AMOUNT = ("not at all", 'not very', 'not much', 'low', 'none', 'none at all', 'not terribly')
 

Detailed Description

A collection of default responses for inputs.

Make sure to use .lower() when testing agaisnt these. Note: There is some overlap between them, so testing order matters.

Definition at line 16 of file boilerplate.py.


The documentation for this class was generated from the following file: