Cooked Input
¶
This is documentation for cooked_input v0.5.3, generated Oct 13, 2020.
Contents:
Cooked Input Project
Documentation
Python 2/3 Support
Installation
Project Page
Tutorial
Change log
Cooked Input Quick Start
Installing cooked_input:
Getting Simple Values:
Getting Strings:
Getting Integers:
Getting Dates:
More Convenience Functions:
Menus:
Further Reading:
Cooked Input Tutorial
Introduction:
The CCV paradigm:
Using CCV in Convenience Functions:
Breaking down get_input:
Custom Cleaners, Convertors and Validators:
The GetInput class:
Using get_list:
From Here:
Cooked Input Tutorial, Part Two
Introduction:
Commands:
Tables:
Menus:
Running the application:
From Here:
How-to / FAQ
Getting yes or no
Restricting to a list of choices
Excluding a list of choices
Composing Multiple Validators
More Examples
TODO
Convenience Functions
GetInput Convenience Functions
get_string
get_int
get_float
get_boolean
get_date
get_yes_no
get_list
get_input
process_value
validate
Table Convenience Functions
get_menu
create_rows
create_table
show_table
get_table_input
Cleaners
Creating Cleaners
Cleaners
CapitalizationCleaner
ChoiceCleaner
RegexCleaner
RemoveCleaner
ReplaceCleaner
StripCleaner
Convertors
Creating Convertors
Convertors
BooleanConvertor
DateConvertor
FloatConvertor
IntConvertor
ListConvertor
YesNoConvertor
ChoiceConvertor
Validators
Creating Validators
Validators
AnyOfValidator
ChoiceValidator
EqualToValidator
IsFileValidator
LengthValidator
ListValidator
NoneOfValidator
PasswordValidator
RangeValidator
RegexValidator
SimpleValidator
GetInput
GetInput:
Tables and Menus
TableStyle:
TableItem:
Table:
Table Action Functions:
return_table_item_action
return_row_action
return_tag_action
return_first_col_action
Exceptions
ConvertorError:
MaxRetriesError:
ValidationError:
GetInputInterrupt:
RefreshScreenInterrupt:
PageUpRequest:
PageDownRequest:
FirstPageRequest:
LastPageRequest:
UpOneRowRequest:
DownOneRowRequest:
error_callbacks
Creating Error functions:
error_callbacks:
log_error
print_error
silent_error
Commands
GetInputCommand:
Command Action Functions:
first_page_cmd_action
last_page_cmd_action
prev_page_cmd_action
next_page_cmd_action
scroll_up_one_row_cmd_action
scroll_down_one_row_cmd_action
Indices and tables
¶
Index
Module Index
Search Page
cooked_input
Navigation
Contents:
Cooked Input Project
Cooked Input Quick Start
Cooked Input Tutorial
Cooked Input Tutorial, Part Two
How-to / FAQ
Convenience Functions
Cleaners
Convertors
Validators
GetInput
Tables and Menus
Exceptions
error_callbacks
Commands
Related Topics
Documentation overview
Next:
Cooked Input Project
Quick search