confattr package
Submodules
- confattr.config module
- confattr.configfile module
ArgPosArgumentParserConfigFileConfigFile.COMMENTConfigFile.COMMENT_PREFIXESConfigFile.ENTER_GROUP_PREFIXConfigFile.ENTER_GROUP_SUFFIXConfigFile.ITEM_SEPConfigFile.KEY_SEPConfigFile.check_config_idConfigFile.command_dictConfigFile.commandsConfigFile.config_directoryConfigFile.config_idConfigFile.config_instancesConfigFile.config_nameConfigFile.config_pathConfigFile.context_file_nameConfigFile.context_lineConfigFile.context_line_numberConfigFile.create_formatter()ConfigFile.enable_config_idsConfigFile.enter_group()ConfigFile.env_variablesConfigFile.envprefixConfigFile.expand()ConfigFile.expand_config()ConfigFile.expand_config_match()ConfigFile.expand_env()ConfigFile.expand_env_match()ConfigFile.find_arg()ConfigFile.format_any_value()ConfigFile.format_value()ConfigFile.get_app_dirs()ConfigFile.get_command()ConfigFile.get_completions()ConfigFile.get_completions_command()ConfigFile.get_completions_command_name()ConfigFile.get_completions_enter_group()ConfigFile.get_completions_for_expand()ConfigFile.get_completions_for_expand_config()ConfigFile.get_completions_for_expand_env()ConfigFile.get_completions_for_file_name()ConfigFile.get_env_name()ConfigFile.get_help()ConfigFile.get_help_config_id()ConfigFile.get_save_path()ConfigFile.is_comment()ConfigFile.iter_config_instances()ConfigFile.iter_config_paths()ConfigFile.iter_user_site_config_paths()ConfigFile.load()ConfigFile.load_env()ConfigFile.load_file()ConfigFile.load_without_resetting_config_id()ConfigFile.parse_error()ConfigFile.parse_line()ConfigFile.parse_split_line()ConfigFile.parse_value()ConfigFile.parse_value_part()ConfigFile.quote()ConfigFile.quote_path()ConfigFile.reo_configConfigFile.reo_envConfigFile.save()ConfigFile.save_file()ConfigFile.save_to_open_file()ConfigFile.save_to_writer()ConfigFile.set_save_default_arguments()ConfigFile.set_ui_callback()ConfigFile.show_line_alwaysConfigFile.split_line()ConfigFile.split_line_ignore_errors()ConfigFile.split_one_symbol_command()ConfigFile.write_config_id()ConfigFile.write_help()
ConfigFileArgparseCommandConfigFileArgparseCommand.add_enum_argument()ConfigFileArgparseCommand.after_positional_argument_marker()ConfigFileArgparseCommand.get_action_for_option()ConfigFileArgparseCommand.get_action_for_positional_argument()ConfigFileArgparseCommand.get_completions()ConfigFileArgparseCommand.get_completions_for_action()ConfigFileArgparseCommand.get_completions_for_option_argument()ConfigFileArgparseCommand.get_completions_for_option_name()ConfigFileArgparseCommand.get_completions_for_positional_argument()ConfigFileArgparseCommand.get_help()ConfigFileArgparseCommand.get_option_name_if_it_takes_an_argument()ConfigFileArgparseCommand.get_position()ConfigFileArgparseCommand.init_parser()ConfigFileArgparseCommand.is_option_start()ConfigFileArgparseCommand.parserConfigFileArgparseCommand.run()ConfigFileArgparseCommand.run_parsed()
ConfigFileCommandConfigFileCommand.add_help_to()ConfigFileCommand.aliasesConfigFileCommand.config_fileConfigFileCommand.create_formatter()ConfigFileCommand.delete_command_type()ConfigFileCommand.get_command_types()ConfigFileCommand.get_completions()ConfigFileCommand.get_help()ConfigFileCommand.get_help_attr_or_doc_str()ConfigFileCommand.get_name()ConfigFileCommand.get_names()ConfigFileCommand.get_short_description()ConfigFileCommand.helpConfigFileCommand.nameConfigFileCommand.run()ConfigFileCommand.save()ConfigFileCommand.should_write_headingConfigFileCommand.ui_notifier
ConfigFileWriterDEFAULT_COMMANDEchoFormattedWriterHelpHelpWriterIncludeMessageMultipleParseExceptionsNotificationLevelParseExceptionPathTypeSaveKwargsSectionLevelSetSet.FLAGS_RAWSet.KEY_VAL_SEPSet.add_config_help()Set.add_help_for_data_types()Set.add_help_to()Set.get_completions()Set.get_completions_for_key()Set.get_completions_for_ranger_style_arg()Set.get_completions_for_value()Set.get_completions_for_vim_style_arg()Set.get_data_type_name_to_help_map()Set.get_help_for_data_types()Set.is_vim_style()Set.iter_config_instances_to_be_saved()Set.last_nameSet.parse_key_and_set_value()Set.rawSet.run()Set.save()Set.save_config_instance()Set.set_multiple()Set.set_value()Set.set_with_spaces()Set.write_config_help()
TextIOWriterUiNotifierUnknownCommand
- confattr.subprocess_pipe module
- confattr.types module
AbstractTypeCaseInsensitiveRegexOptionalExistingDirectoryRegexSubprocessCommandSubprocessCommand.cmdSubprocessCommand.envSubprocessCommand.has_python_callback()SubprocessCommand.helpSubprocessCommand.is_installed()SubprocessCommand.parse_str()SubprocessCommand.python_callbacksSubprocessCommand.register_python_callback()SubprocessCommand.replace()SubprocessCommand.run()SubprocessCommand.type_nameSubprocessCommand.unregister_python_callback()
SubprocessCommandWithAlternativesSubprocessCommandWithAlternatives.SEPSubprocessCommandWithAlternatives.WC_FILE_NAMESubprocessCommandWithAlternatives.editor()SubprocessCommandWithAlternatives.get_preferred_command()SubprocessCommandWithAlternatives.helpSubprocessCommandWithAlternatives.replace()SubprocessCommandWithAlternatives.run()SubprocessCommandWithAlternatives.type_name
TYPE_CONTEXT
Module contents
Config Attributes
A python library to read and write config files with a syntax inspired by vimrc and ranger config.