Skip to content

pexpect 4.9.0

Download JSON

  • PyPI https://pypi.org/project/pexpect/
    Repository https://github.com/pexpect/pexpect

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 3
        "Any" : 0
        "Untyped" : 671
    • 0.4% coverage
    • 0.4% coverage (strict)
    • 674 typable
      • 3 typed
      • 671 untyped
      • 0 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 110
        "classes" : 450
        "other" : 0
    • 43 functions (+0 overloads)
      • 67 parameters
    • 19 classes
      • 177 methods (+0 overloads)
        • 271 parameters
      • 1 properties
    • 15 modules
      • 0 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
pexpect.ANSI 0.0% 0.0% 74 0
pexpect.FSM 0.0% 0.0% 54 0
pexpect 0.0% 0.0% 0 0
pexpect.exceptions 0.0% 0.0% 5 0
pexpect.expect 0.0% 0.0% 40 0
pexpect.fdpexpect 0.0% 0.0% 32 0
pexpect.popen_spawn 0.0% 0.0% 31 0
pexpect.pty_spawn 0.0% 0.0% 91 0
pexpect.pxssh 0.0% 0.0% 54 0
pexpect.replwrap 0.0% 0.0% 27 0
pexpect.run 0.0% 0.0% 20 0
pexpect.screen 0.0% 0.0% 98 0
pexpect.socket_pexpect 9.4% 9.4% 32 0
pexpect.spawnbase 0.0% 0.0% 101 0
pexpect.utils 0.0% 0.0% 15 0

Incomplete Annotations

pexpect.ANSI (74 missing, 0 any)

Symbol Typable Typed Any
func DoEraseLine 2 0 0
func DoUp 2 0 0
meth ANSI.init 5 0 0
meth ANSI.process 2 0 0
meth ANSI.process_list 2 0 0
meth ANSI.write 2 0 0
meth ANSI.flush 1 0 0
meth ANSI.write_ch 2 0 0
meth ANSI.do_sgr 2 0 0
meth ANSI.do_decsca 2 0 0
meth ANSI.do_modecrap 2 0 0
attr ANSI.state 1 0 0
func DoDown 2 0 0
func DoBackOne 2 0 0
func DoUpReverse 2 0 0
func DoStartNumber 2 0 0
func DoForward 2 0 0
func DoEmit 2 0 0
func DoMode 2 0 0
func DoEnableScroll 2 0 0
func DoUpOne 2 0 0
func DoLog 2 0 0
func DoScrollRegion 2 0 0
func DoCursorSave 2 0 0
func DoHomeOrigin 2 0 0
func DoBack 2 0 0
func DoHome 2 0 0
func DoEraseEndOfLine 2 0 0
func DoErase 2 0 0
func DoDownOne 2 0 0
func DoForwardOne 2 0 0
meth term.init 5 0 0
func DoEraseDown 2 0 0
func DoBuildNumber 2 0 0
func DoCursorRestore 2 0 0

pexpect.FSM (54 missing, 0 any)

Symbol Typable Typed Any
func BeginBuildNumber 2 0 0
meth FSM.init 3 0 0
meth FSM.reset 1 0 0
meth FSM.add_transition 5 0 0
meth FSM.add_transition_list 5 0 0
meth FSM.add_transition_any 4 0 0
meth FSM.set_default_transition 3 0 0
meth FSM.get_transition 3 0 0
meth FSM.process 2 0 0
meth FSM.process_list 2 0 0
attr FSM.state_transitions 1 0 0
attr FSM.state_transitions_any 1 0 0
attr FSM.default_transition 1 0 0
attr FSM.input_symbol 1 0 0
attr FSM.initial_state 1 0 0
attr FSM.current_state 1 0 0
attr FSM.next_state 1 0 0
attr FSM.action 1 0 0
attr FSM.memory 1 0 0
func EndBuildNumber 2 0 0
func BuildNumber 2 0 0
meth ExceptionFSM.init 2 0 0
meth ExceptionFSM.str 1 0 0
attr ExceptionFSM.value 1 0 0
func Error 2 0 0
func DoEqual 2 0 0
func DoOperator 2 0 0
func main 1 0 0

pexpect.exceptions (5 missing, 0 any)

Symbol Typable Typed Any
meth ExceptionPexpect.init 2 0 0
meth ExceptionPexpect.str 1 0 0
meth ExceptionPexpect.get_trace 1 0 0
attr ExceptionPexpect.value 1 0 0

pexpect.expect (40 missing, 0 any)

Symbol Typable Typed Any
meth searcher_re.init 2 0 0
meth searcher_re.str 1 0 0
meth searcher_re.search 4 0 0
attr searcher_re.eof_index 1 0 0
attr searcher_re.timeout_index 1 0 0
meth Expecter.init 4 0 0
meth Expecter.do_search 3 0 0
meth Expecter.existing_data 1 0 0
meth Expecter.new_data 2 0 0
meth Expecter.eof 2 0 0
meth Expecter.timeout 2 0 0
meth Expecter.errored 1 0 0
meth Expecter.expect_loop 2 0 0
attr Expecter.spawn 1 0 0
attr Expecter.searcher 1 0 0
attr Expecter.searchwindowsize 1 0 0
attr Expecter.lookback 1 0 0
meth searcher_string.init 2 0 0
meth searcher_string.str 1 0 0
meth searcher_string.search 4 0 0
attr searcher_string.eof_index 1 0 0
attr searcher_string.timeout_index 1 0 0
attr searcher_string.longest_string 1 0 0

pexpect.fdpexpect (32 missing, 0 any)

Symbol Typable Typed Any
meth fdspawn.init 10 0 0
meth fdspawn.close 1 0 0
meth fdspawn.isalive 1 0 0
meth fdspawn.terminate 2 0 0
meth fdspawn.send 2 0 0
meth fdspawn.sendline 2 0 0
meth fdspawn.write 2 0 0
meth fdspawn.writelines 2 0 0
meth fdspawn.read_nonblocking 3 0 0
attr fdspawn.args 1 0 0
attr fdspawn.command 1 0 0
attr fdspawn.child_fd 1 0 0
attr fdspawn.own_fd 1 0 0
attr fdspawn.closed 1 0 0
attr fdspawn.name 1 0 0
attr fdspawn.use_poll 1 0 0

pexpect.popen_spawn (31 missing, 0 any)

Symbol Typable Typed Any
meth PopenSpawn.init 11 0 0
meth PopenSpawn.read_nonblocking 3 0 0
meth PopenSpawn._read_incoming 1 0 0
meth PopenSpawn.write 2 0 0
meth PopenSpawn.writelines 2 0 0
meth PopenSpawn.send 2 0 0
meth PopenSpawn.sendline 2 0 0
meth PopenSpawn.wait 1 0 0
meth PopenSpawn.kill 2 0 0
meth PopenSpawn.sendeof 1 0 0
attr PopenSpawn.proc 1 0 0
attr PopenSpawn.pid 1 0 0
attr PopenSpawn.closed 1 0 0
attr PopenSpawn.crlf 1 0 0

pexpect.pty_spawn (91 missing, 0 any)

Symbol Typable Typed Any
meth spawn.init 16 0 0
meth spawn.str 1 0 0
meth spawn._spawn 5 0 0
meth spawn._spawnpty 3 0 0
meth spawn.close 2 0 0
meth spawn.isatty 1 0 0
meth spawn.waitnoecho 2 0 0
meth spawn.getecho 1 0 0
meth spawn.setecho 2 0 0
meth spawn.read_nonblocking 3 0 0
meth spawn.write 2 0 0
meth spawn.writelines 2 0 0
meth spawn.send 2 0 0
meth spawn.sendline 2 0 0
meth spawn._log_control 2 0 0
meth spawn.sendcontrol 2 0 0
meth spawn.sendeof 1 0 0
meth spawn.sendintr 1 0 0
meth spawn.eof 1 0 0
meth spawn.terminate 2 0 0
meth spawn.wait 1 0 0
meth spawn.isalive 1 0 0
meth spawn.kill 2 0 0
meth spawn.getwinsize 1 0 0
meth spawn.setwinsize 3 0 0
meth spawn.interact 4 0 0
meth spawn.__interact_writen 3 0 0
meth spawn.__interact_read 2 0 0
meth spawn.__interact_copy 4 0 0
prop spawn.flag_eof 2 0 0
attr spawn.STDIN_FILENO 1 0 0
attr spawn.STDOUT_FILENO 1 0 0
attr spawn.STDERR_FILENO 1 0 0
attr spawn.str_last_chars 1 0 0
attr spawn.cwd 1 0 0
attr spawn.env 1 0 0
attr spawn.echo 1 0 0
attr spawn.ignore_sighup 1 0 0
attr spawn.use_poll 1 0 0
attr spawn.command 1 0 0
attr spawn.args 1 0 0
attr spawn.name 1 0 0
func spawnu 3 0 0

pexpect.pxssh (54 missing, 0 any)

Symbol Typable Typed Any
meth pxssh.init 14 0 0
meth pxssh.levenshtein_distance 3 0 0
meth pxssh.try_read_prompt 2 0 0
meth pxssh.sync_original_prompt 2 0 0
meth pxssh.login 19 0 0
meth pxssh.logout 1 0 0
meth pxssh.prompt 2 0 0
meth pxssh.set_unique_prompt 1 0 0
attr pxssh.name 1 0 0
attr pxssh.UNIQUE_PROMPT 1 0 0
attr pxssh.PROMPT 1 0 0
attr pxssh.PROMPT_SET_SH 1 0 0
attr pxssh.PROMPT_SET_CSH 1 0 0
attr pxssh.PROMPT_SET_ZSH 1 0 0
attr pxssh.SSH_OPTS 1 0 0
attr pxssh.force_password 1 0 0
attr pxssh.debug_command_string 1 0 0
attr pxssh.options 1 0 0

pexpect.replwrap (27 missing, 0 any)

Symbol Typable Typed Any
func python 2 0 0
func bash 2 0 0
func zsh 3 0 0
meth REPLWrapper.init 7 0 0
meth REPLWrapper.set_prompt 3 0 0
meth REPLWrapper._expect_prompt 3 0 0
meth REPLWrapper.run_command 4 0 0
attr REPLWrapper.continuation_prompt 1 0 0
attr REPLWrapper.child 1 0 0
attr REPLWrapper.prompt 1 0 0

pexpect.run (20 missing, 0 any)

Symbol Typable Typed Any
func runu 10 0 0
func run 10 0 0

pexpect.screen (98 missing, 0 any)

Symbol Typable Typed Any
meth screen.init 5 0 0
meth screen._decode 2 0 0
meth screen._unicode 1 0 0
meth screen.str 1 0 0
meth screen.unicode 1 0 0
meth screen.str 1 0 0
meth screen.dump 1 0 0
meth screen.pretty 1 0 0
meth screen.fill 2 0 0
meth screen.fill_region 6 0 0
meth screen.cr 1 0 0
meth screen.lf 1 0 0
meth screen.crlf 1 0 0
meth screen.newline 1 0 0
meth screen.put_abs 4 0 0
meth screen.put 2 0 0
meth screen.insert_abs 4 0 0
meth screen.insert 2 0 0
meth screen.get_abs 3 0 0
meth screen.get 1 0 0
meth screen.get_region 5 0 0
meth screen.cursor_constrain 1 0 0
meth screen.cursor_home 3 0 0
meth screen.cursor_back 2 0 0
meth screen.cursor_down 2 0 0
meth screen.cursor_forward 2 0 0
meth screen.cursor_up 2 0 0
meth screen.cursor_up_reverse 1 0 0
meth screen.cursor_force_position 3 0 0
meth screen.cursor_save 1 0 0
meth screen.cursor_unsave 1 0 0
meth screen.cursor_save_attrs 1 0 0
meth screen.cursor_restore_attrs 1 0 0
meth screen.scroll_constrain 1 0 0
meth screen.scroll_screen 1 0 0
meth screen.scroll_screen_rows 3 0 0
meth screen.scroll_down 1 0 0
meth screen.scroll_up 1 0 0
meth screen.erase_end_of_line 1 0 0
meth screen.erase_start_of_line 1 0 0
meth screen.erase_line 1 0 0
meth screen.erase_down 1 0 0
meth screen.erase_up 1 0 0
meth screen.erase_screen 1 0 0
meth screen.set_tab 1 0 0
meth screen.clear_tab 1 0 0
meth screen.clear_all_tabs 1 0 0
attr screen.rows 1 0 0
attr screen.cols 1 0 0
attr screen.encoding 1 0 0
attr screen.encoding_errors 1 0 0
attr screen.cur_r 1 0 0
attr screen.cur_c 1 0 0
attr screen.cur_saved_r 1 0 0
attr screen.cur_saved_c 1 0 0
attr screen.scroll_row_start 1 0 0
attr screen.scroll_row_end 1 0 0
attr screen.w 1 0 0
attr screen.decoder 1 0 0
func constrain 4 0 0

pexpect.socket_pexpect (29 missing, 0 any)

Symbol Typable Typed Any
meth SocketSpawn.init 10 1 0
meth SocketSpawn.close 1 0 0
meth SocketSpawn.isalive 1 0 0
meth SocketSpawn.send 2 1 0
meth SocketSpawn.sendline 2 1 0
meth SocketSpawn.write 2 0 0
meth SocketSpawn.writelines 2 0 0
meth SocketSpawn._timeout 2 0 0
meth SocketSpawn.read_nonblocking 3 0 0
attr SocketSpawn.args 1 0 0
attr SocketSpawn.command 1 0 0
attr SocketSpawn.socket 1 0 0
attr SocketSpawn.child_fd 1 0 0
attr SocketSpawn.closed 1 0 0
attr SocketSpawn.name 1 0 0
attr SocketSpawn.use_poll 1 0 0

pexpect.spawnbase (101 missing, 0 any)

Symbol Typable Typed Any
meth SpawnBase.init 7 0 0
meth SpawnBase._log 3 0 0
meth SpawnBase._coerce_expect_string 2 0 0
meth SpawnBase._coerce_expect_re 2 0 0
meth SpawnBase._coerce_send_string 2 0 0
meth SpawnBase._get_buffer 1 0 0
meth SpawnBase._set_buffer 2 0 0
meth SpawnBase.read_nonblocking 3 0 0
meth SpawnBase._pattern_type_err 2 0 0
meth SpawnBase.compile_pattern_list 2 0 0
meth SpawnBase.expect 6 0 0
meth SpawnBase.expect_list 6 0 0
meth SpawnBase.expect_exact 6 0 0
meth SpawnBase.expect_loop 4 0 0
meth SpawnBase.read 2 0 0
meth SpawnBase.readline 2 0 0
meth SpawnBase.iter 1 0 0
meth SpawnBase.readlines 2 0 0
meth SpawnBase.fileno 1 0 0
meth SpawnBase.flush 1 0 0
meth SpawnBase.isatty 1 0 0
meth SpawnBase.enter 1 0 0
meth SpawnBase.exit 4 0 0
attr SpawnBase.encoding 1 0 0
attr SpawnBase.stdin 1 0 0
attr SpawnBase.stdout 1 0 0
attr SpawnBase.stderr 1 0 0
attr SpawnBase.searcher 1 0 0
attr SpawnBase.ignorecase 1 0 0
attr SpawnBase.before 1 0 0
attr SpawnBase.after 1 0 0
attr SpawnBase.match 1 0 0
attr SpawnBase.match_index 1 0 0
attr SpawnBase.terminated 1 0 0
attr SpawnBase.exitstatus 1 0 0
attr SpawnBase.signalstatus 1 0 0
attr SpawnBase.status 1 0 0
attr SpawnBase.child_fd 1 0 0
attr SpawnBase.timeout 1 0 0
attr SpawnBase.delimiter 1 0 0
attr SpawnBase.logfile 1 0 0
attr SpawnBase.logfile_read 1 0 0
attr SpawnBase.logfile_send 1 0 0
attr SpawnBase.maxread 1 0 0
attr SpawnBase.searchwindowsize 1 0 0
attr SpawnBase.delaybeforesend 1 0 0
attr SpawnBase.delayafterclose 1 0 0
attr SpawnBase.delayafterterminate 1 0 0
attr SpawnBase.delayafterread 1 0 0
attr SpawnBase.softspace 1 0 0
attr SpawnBase.name 1 0 0
attr SpawnBase.closed 1 0 0
attr SpawnBase.codec_errors 1 0 0
attr SpawnBase.async_pw_transport 1 0 0
attr SpawnBase.string_type 1 0 0
attr SpawnBase.buffer_type 1 0 0
attr SpawnBase.crlf 1 0 0
attr SpawnBase.allowed_string_types 1 0 0
attr SpawnBase.write_to_stdout 1 0 0
attr SpawnBase.linesep 1 0 0
attr SpawnBase.buffer 1 0 0

pexpect.utils (15 missing, 0 any)

Symbol Typable Typed Any
func split_command_line 2 0 0
func which 3 0 0
func select_ignore_interrupts 5 0 0
func poll_ignore_interrupts 3 0 0
func is_executable_file 2 0 0

Type-Ignore Comments

No type-ignore comments.