SYMBOL INDEX (264 symbols across 35 files) FILE: awsshell/__init__.py function determine_doc_index_filename (line 19) | def determine_doc_index_filename(): function load_index (line 26) | def load_index(filename): function main (line 31) | def main(): FILE: awsshell/app.py function create_aws_shell (line 35) | def create_aws_shell(completer, model_completer, docs): class InputInterrupt (line 39) | class InputInterrupt(Exception): class ChangeDirHandler (line 49) | class ChangeDirHandler(object): method __init__ (line 50) | def __init__(self, output=sys.stdout, err=sys.stderr, chdir=os.chdir): method run (line 55) | def run(self, command, application): class EditHandler (line 67) | class EditHandler(object): method __init__ (line 68) | def __init__(self, popen_cls=None, env=None, err=sys.stderr): method _get_editor_command (line 77) | def _get_editor_command(self): method _generate_edit_history (line 83) | def _generate_edit_history(self, application): method run (line 88) | def run(self, command, application): class ProfileHandler (line 114) | class ProfileHandler(object): method __init__ (line 120) | def __init__(self, output=sys.stdout, err=sys.stderr): method run (line 124) | def run(self, command, application): class ExitHandler (line 149) | class ExitHandler(object): method run (line 150) | def run(self, command, application): class DotCommandHandler (line 154) | class DotCommandHandler(object): method __init__ (line 163) | def __init__(self, output=sys.stdout, err=sys.stderr): method handle_cmd (line 167) | def handle_cmd(self, command, application): method _unknown_cmd (line 187) | def _unknown_cmd(self, cmd_parts, application): class AWSShell (line 191) | class AWSShell(object): method __init__ (line 227) | def __init__(self, completer, model_completer, docs, method load_config (line 258) | def load_config(self): method save_config (line 272) | def save_config(self): method cli (line 283) | def cli(self): method run (line 289) | def run(self): method stop_input_and_refresh_cli (line 322) | def stop_input_and_refresh_cli(self): method create_layout (line 336) | def create_layout(self, display_completions_in_columns, toolbar): method create_buffer (line 346) | def create_buffer(self, completer, history): method create_key_manager (line 355) | def create_key_manager(self): method create_application (line 415) | def create_application(self, completer, history, method on_input_timeout (line 446) | def on_input_timeout(self, cli): method create_cli_interface (line 478) | def create_cli_interface(self, display_completions_in_columns): method profile (line 491) | def profile(self): method profile (line 495) | def profile(self, new_profile_name): FILE: awsshell/autocomplete.py class AWSCLIModelCompleter (line 6) | class AWSCLIModelCompleter(object): method __init__ (line 13) | def __init__(self, index_data, match_fuzzy=True): method global_arg_metadata (line 29) | def global_arg_metadata(self): method arg_metadata (line 33) | def arg_metadata(self): method reset (line 37) | def reset(self): method autocomplete (line 46) | def autocomplete(self, line): method _get_all_args (line 117) | def _get_all_args(self): method _handle_backspace (line 124) | def _handle_backspace(self): method _complete_from_full_parse (line 127) | def _complete_from_full_parse(self): method _autocomplete_options (line 140) | def _autocomplete_options(self, last_word): FILE: awsshell/compat.py function default_editor (line 23) | def default_editor(): function default_editor (line 26) | def default_editor(): FILE: awsshell/config.py class Config (line 21) | class Config(object): method load (line 24) | def load(self, config_template, config_file=None): method _load_template_or_config (line 47) | def _load_template_or_config(self, template_path, config_path): method _copy_template_to_config (line 66) | def _copy_template_to_config(self, template_path, FILE: awsshell/db.py class ConcurrentDBM (line 6) | class ConcurrentDBM(object): method open (line 9) | def open(cls, filename, create=False): method create (line 17) | def create(cls, filename): method __init__ (line 24) | def __init__(self, db): method __getitem__ (line 27) | def __getitem__(self, key): method __setitem__ (line 38) | def __setitem__(self, key, value): method close (line 45) | def close(self): FILE: awsshell/docs.py function load_lazy_doc_index (line 5) | def load_lazy_doc_index(filename): function load_doc_db (line 10) | def load_doc_db(filename): class DocRetriever (line 15) | class DocRetriever(object): method __init__ (line 17) | def __init__(self, doc_index): method extract_description (line 24) | def extract_description(self, dot_cmd): method extract_param (line 34) | def extract_param(self, dot_cmd, param_name): FILE: awsshell/fuzzy.py function fuzzy_search (line 45) | def fuzzy_search(user_input, corpus): function calculate_score (line 54) | def calculate_score(search_string, word): FILE: awsshell/index/completion.py class IndexLoadError (line 18) | class IndexLoadError(Exception): class CompletionIndex (line 22) | class CompletionIndex(object): method __init__ (line 43) | def __init__(self, cache_dir=DEFAULT_CACHE_DIR, fslayer=None): method load_index (line 53) | def load_index(self, version_string): method _filename_for_version (line 68) | def _filename_for_version(self, version_string): method load_completions (line 72) | def load_completions(self): FILE: awsshell/keys.py class KeyManager (line 17) | class KeyManager(object): method __init__ (line 30) | def __init__(self, get_match_fuzzy, set_match_fuzzy, method _create_key_manager (line 41) | def _create_key_manager(self, get_match_fuzzy, set_match_fuzzy, FILE: awsshell/lexer.py class ShellLexer (line 20) | class ShellLexer(RegexLexer): FILE: awsshell/loaders.py class JSONIndexLoader (line 6) | class JSONIndexLoader(object): method __init__ (line 7) | def __init__(self): method index_filename (line 11) | def index_filename(version_string, type_name='completions'): method load_index (line 15) | def load_index(self, filename): FILE: awsshell/makeindex.py function new_index (line 23) | def new_index(): function index_command (line 28) | def index_command(index_dict, help_command): function write_index (line 65) | def write_index(output_filename=None): function write_doc_index (line 79) | def write_doc_index(output_filename=None, db=None, help_command=None): function do_write_doc_index (line 94) | def do_write_doc_index(db, help_command, close_db_on_finish): function _index_docs (line 107) | def _index_docs(db, help_command): function render_docs_for_cmd (line 117) | def render_docs_for_cmd(help_command): function convert_rst_to_basic_text (line 131) | def convert_rst_to_basic_text(contents): class FileRenderer (line 153) | class FileRenderer(object): method __init__ (line 155) | def __init__(self): method render (line 158) | def render(self, contents): method contents (line 162) | def contents(self): class BasicTextWriter (line 166) | class BasicTextWriter(textwriter.TextWriter): method translate (line 167) | def translate(self): class BasicTextTranslator (line 173) | class BasicTextTranslator(textwriter.TextTranslator): method depart_title (line 174) | def depart_title(self, node): method visit_literal (line 185) | def visit_literal(self, node): method depart_literal (line 188) | def depart_literal(self, node): FILE: awsshell/resource/index.py function extract_field_from_jmespath (line 35) | def extract_field_from_jmespath(expression): class ResourceIndexBuilder (line 44) | class ResourceIndexBuilder(object): method __init__ (line 45) | def __init__(self): method build_index (line 48) | def build_index(self, resource_data): class CompleterDescriber (line 90) | class CompleterDescriber(object): method __init__ (line 102) | def __init__(self, resource_index): method describe_autocomplete (line 105) | def describe_autocomplete(self, service, operation, param): class CachedClientCreator (line 140) | class CachedClientCreator(object): method __init__ (line 141) | def __init__(self, session): method create_client (line 147) | def create_client(self, service_name): class CompleterDescriberCreator (line 154) | class CompleterDescriberCreator(object): method __init__ (line 156) | def __init__(self, loader): method create_completer_query (line 162) | def create_completer_query(self, service_name): method _create_completer_query (line 176) | def _create_completer_query(self, service_name): method services_with_completions (line 182) | def services_with_completions(self): class ServerSideCompleter (line 190) | class ServerSideCompleter(object): method __init__ (line 191) | def __init__(self, client_creator, describer_creator): method retrieve_candidate_values (line 195) | def retrieve_candidate_values(self, service, operation, param): function main (line 254) | def main(): FILE: awsshell/shellcomplete.py class AWSShellCompleter (line 24) | class AWSShellCompleter(Completer): method __init__ (line 32) | def __init__(self, completer, server_side_completer=None): method _create_server_side_completer (line 38) | def _create_server_side_completer(self, session=None): method change_profile (line 53) | def change_profile(self, profile_name): method completer (line 59) | def completer(self): method completer (line 63) | def completer(self, value): method last_option (line 67) | def last_option(self): method current_command (line 71) | def current_command(self): method _convert_to_prompt_completions (line 74) | def _convert_to_prompt_completions(self, low_level_completions, method get_completions (line 108) | def get_completions(self, document, complete_event): FILE: awsshell/style.py class StyleFactory (line 19) | class StyleFactory(object): method __init__ (line 26) | def __init__(self, style_name): method style_factory (line 29) | def style_factory(self, style_name): FILE: awsshell/substring.py function substring_search (line 15) | def substring_search(word, collection): FILE: awsshell/toolbar.py class Toolbar (line 16) | class Toolbar(object): method __init__ (line 24) | def __init__(self, get_match_fuzzy, get_enable_vi_bindings, method _create_toolbar_handler (line 30) | def _create_toolbar_handler(self, get_match_fuzzy, get_enable_vi_bindi... FILE: awsshell/ui.py function create_default_layout (line 28) | def create_default_layout(app, message='', function _split_multiline_prompt (line 200) | def _split_multiline_prompt(get_prompt_tokens): class HasDocumentation (line 230) | class HasDocumentation(Filter): method __init__ (line 231) | def __init__(self, app): method __call__ (line 234) | def __call__(self, cli): FILE: awsshell/utils.py class FileReadError (line 16) | class FileReadError(Exception): function remove_html (line 20) | def remove_html(html): function build_config_file_path (line 26) | def build_config_file_path(file_name): function temporary_file (line 31) | def temporary_file(mode): class DataOnly (line 52) | class DataOnly(HTMLParser): method __init__ (line 53) | def __init__(self): method handle_data (line 59) | def handle_data(self, data): method get_data (line 62) | def get_data(self): class FSLayer (line 66) | class FSLayer(object): method file_contents (line 73) | def file_contents(self, filename, binary=False): method file_exists (line 89) | def file_exists(self, filename): class InMemoryFSLayer (line 101) | class InMemoryFSLayer(object): method __init__ (line 104) | def __init__(self, file_mapping): method file_contents (line 110) | def file_contents(self, filename, binary=False): method file_exists (line 119) | def file_exists(self, filename): FILE: tests/integration/test_config.py class ConfigTest (line 22) | class ConfigTest(unittest.TestCase): method test_config_off (line 24) | def test_config_off(self): method test_config_on (line 43) | def test_config_on(self): FILE: tests/integration/test_db.py function shell_db (line 6) | def shell_db(tmpdir): function test_can_get_and_set_value (line 12) | def test_can_get_and_set_value(shell_db): function test_raise_key_error_when_no_key_exists (line 17) | def test_raise_key_error_when_no_key_exists(shell_db): function test_can_set_multiple_values (line 23) | def test_can_set_multiple_values(shell_db): function test_can_change_existing_value (line 30) | def test_can_change_existing_value(shell_db): function test_can_update_multiple_times (line 36) | def test_can_update_multiple_times(shell_db): function test_can_handle_unicode (line 42) | def test_can_handle_unicode(shell_db): function test_can_create_and_open_db (line 47) | def test_can_create_and_open_db(tmpdir): FILE: tests/integration/test_keys.py class KeysTest (line 24) | class KeysTest(unittest.TestCase): method setUp (line 26) | def setUp(self): method tearDown (line 33) | def tearDown(self): method feed_key (line 36) | def feed_key(self, key): method test_F2 (line 40) | def test_F2(self): method test_F3 (line 45) | def test_F3(self): method test_F4 (line 51) | def test_F4(self): method test_F5 (line 58) | def test_F5(self): method test_F9 (line 64) | def test_F9(self): method test_F10 (line 69) | def test_F10(self): FILE: tests/integration/test_makeindex.py function cloudformation_command (line 8) | def cloudformation_command(): function test_can_write_doc_index_for_single_operation (line 15) | def test_can_write_doc_index_for_single_operation(cloudformation_command): function test_can_document_all_service_commands (line 35) | def test_can_document_all_service_commands(cloudformation_command): function test_can_index_a_command (line 46) | def test_can_index_a_command(cloudformation_command): FILE: tests/unit/index/test_completions.py class TestCompletionIndex (line 7) | class TestCompletionIndex(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_can_load_index (line 13) | def test_can_load_index(self): method test_index_does_not_exist_raises_error (line 23) | def test_index_does_not_exist_raises_error(self): FILE: tests/unit/test_app.py function errstream (line 11) | def errstream(): function test_can_dispatch_dot_commands (line 15) | def test_can_dispatch_dot_commands(): class PopenLogger (line 29) | class PopenLogger(object): method __call__ (line 30) | def __call__(self, cmd): function test_edit_handler (line 38) | def test_edit_handler(): function test_error_msg_printed_on_error_handler (line 60) | def test_error_msg_printed_on_error_handler(errstream): function test_profile_handler_prints_profile (line 74) | def test_profile_handler_prints_profile(): function test_profile_handler_when_no_profile_configured (line 83) | def test_profile_handler_when_no_profile_configured(): function test_profile_command_changes_profile (line 95) | def test_profile_command_changes_profile(): function test_profile_prints_error_on_bad_syntax (line 106) | def test_profile_prints_error_on_bad_syntax(): function test_prints_error_message_on_unknown_dot_command (line 116) | def test_prints_error_message_on_unknown_dot_command(errstream): function test_delegates_to_complete_changing_profile (line 122) | def test_delegates_to_complete_changing_profile(): function test_cd_handler_can_chdir (line 130) | def test_cd_handler_can_chdir(): function test_chdir_syntax_error_prints_err_msg (line 137) | def test_chdir_syntax_error_prints_err_msg(errstream): function test_error_displayed_when_chdir_fails (line 145) | def test_error_displayed_when_chdir_fails(errstream): function test_history_stored_correctly (line 153) | def test_history_stored_correctly(): function test_exit_dot_command_exits_shell (line 172) | def test_exit_dot_command_exits_shell(): FILE: tests/unit/test_autocomplete.py function index_data (line 5) | def index_data(): function test_completes_service_names (line 16) | def test_completes_service_names(index_data): function test_completes_service_names_substring (line 22) | def test_completes_service_names_substring(index_data): function test_completes_multiple_service_names (line 29) | def test_completes_multiple_service_names(index_data): function test_no_completion (line 35) | def test_no_completion(index_data): function test_can_complete_subcommands (line 41) | def test_can_complete_subcommands(index_data): function test_everything_completed_on_space (line 61) | def test_everything_completed_on_space(index_data): function test_autocomplete_top_leve_services_on_space (line 80) | def test_autocomplete_top_leve_services_on_space(index_data): function test_reset_auto_complete (line 86) | def test_reset_auto_complete(index_data): function test_reset_after_subcommand_completion (line 97) | def test_reset_after_subcommand_completion(index_data): function test_backspace_should_complete_previous_command (line 121) | def test_backspace_should_complete_previous_command(index_data): function test_can_handle_entire_word_deleted (line 125) | def test_can_handle_entire_word_deleted(index_data): function test_can_handle_entire_line_deleted (line 129) | def test_can_handle_entire_line_deleted(index_data): function test_autocompletes_argument_names (line 154) | def test_autocompletes_argument_names(index_data): function test_autocompletes_argument_names_substring (line 163) | def test_autocompletes_argument_names_substring(index_data): function test_autocompletes_global_and_service_args (line 172) | def test_autocompletes_global_and_service_args(index_data): function test_can_mix_options_and_commands (line 193) | def test_can_mix_options_and_commands(index_data): function test_only_change_context_when_in_index (line 218) | def test_only_change_context_when_in_index(index_data): function test_can_handle_skips_in_completion (line 240) | def test_can_handle_skips_in_completion(index_data): function test_cmd_path_updated_on_completions (line 274) | def test_cmd_path_updated_on_completions(index_data): function test_last_option_updated_up_releated_api_params (line 304) | def test_last_option_updated_up_releated_api_params(index_data): function test_last_option_is_updated_on_global_options (line 332) | def test_last_option_is_updated_on_global_options(index_data): function test_can_handle_autocompleting_same_string_twice (line 359) | def test_can_handle_autocompleting_same_string_twice(index_data): function test_can_handle_autocomplete_empty_string_twice (line 366) | def test_can_handle_autocomplete_empty_string_twice(index_data): function test_global_arg_metadata_property (line 376) | def test_global_arg_metadata_property(index_data): FILE: tests/unit/test_docs.py function test_lazy_doc_factory (line 5) | def test_lazy_doc_factory(tmpdir): function test_load_doc_db (line 11) | def test_load_doc_db(tmpdir): FILE: tests/unit/test_fuzzy.py function test_subsequences (line 14) | def test_subsequences(search, corpus, expected): FILE: tests/unit/test_load_completions.py class LoadCompletionsTest (line 18) | class LoadCompletionsTest(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_load_completions (line 41) | def test_load_completions(self): FILE: tests/unit/test_makeindex.py function test_can_convert_rst_text (line 4) | def test_can_convert_rst_text(): FILE: tests/unit/test_resources.py function describer_creator (line 11) | def describer_creator(): function test_build_from_has_many (line 21) | def test_build_from_has_many(): function test_removes_jmespath_expressions_from_targets (line 78) | def test_removes_jmespath_expressions_from_targets(): function test_resource_not_included_if_no_has_many (line 135) | def test_resource_not_included_if_no_has_many(): function test_can_complete_query (line 169) | def test_can_complete_query(): function test_cached_client_creator_returns_same_instance (line 199) | def test_cached_client_creator_returns_same_instance(): function test_can_create_service_completers_from_cache (line 213) | def test_can_create_service_completers_from_cache(): function test_empty_results_returned_when_no_completion_data_exists (line 229) | def test_empty_results_returned_when_no_completion_data_exists(describer... function test_no_completions_when_cant_create_client (line 240) | def test_no_completions_when_cant_create_client(describer_creator): function test_no_completions_returned_on_unknown_operation (line 253) | def test_no_completions_returned_on_unknown_operation(describer_creator): FILE: tests/unit/test_substring.py function test_subsequences (line 23) | def test_subsequences(search, corpus, expected): FILE: tests/unit/test_toolbar.py class ToolbarTest (line 21) | class ToolbarTest(unittest.TestCase): method setUp (line 23) | def setUp(self): method test_toolbar_on (line 32) | def test_toolbar_on(self): method test_toolbar_off (line 46) | def test_toolbar_off(self): FILE: tests/unit/test_utils.py class TestFSLayer (line 12) | class TestFSLayer(unittest.TestCase): method setUp (line 17) | def setUp(self): method tearDown (line 23) | def tearDown(self): method test_can_read_file_contents (line 26) | def test_can_read_file_contents(self): method test_file_exists (line 37) | def test_file_exists(self): method test_file_does_not_exist_error (line 45) | def test_file_does_not_exist_error(self): class TestInMemoryFSLayer (line 50) | class TestInMemoryFSLayer(unittest.TestCase): method setUp (line 51) | def setUp(self): method test_file_exists (line 55) | def test_file_exists(self): method test_can_read_file_contents (line 59) | def test_can_read_file_contents(self): method test_file_does_not_exist_error (line 65) | def test_file_does_not_exist_error(self): class TestTemporaryFile (line 70) | class TestTemporaryFile(unittest.TestCase): method test_can_use_as_context_manager (line 71) | def test_can_use_as_context_manager(self): method test_is_removed_after_exiting_context (line 78) | def test_is_removed_after_exiting_context(self): method test_can_open_in_read (line 85) | def test_can_open_in_read(self):