Skip to content

types-pexpect 4.9.0.20260127

Version history | Download JSON

  • PyPI https://pypi.org/project/types-pexpect/
    Repository https://github.com/python/typeshed

  • py.typed
    stubs-only typeshed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 594
        "Any" : 24
        "Untyped" : 165
    • 78.9% coverage
    • 75.9% coverage (strict)
    • 783 typable
      • 594 typed
      • 165 untyped
      • 24 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 164
        "classes" : 443
        "other" : 30
    • 48 functions (+0 overloads)
      • 116 parameters
    • 23 classes
      • 172 methods (+0 overloads)
        • 265 parameters
      • 3 properties
    • 15 modules
      • 30 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
pexpect.ANSI 52.7% 51.4% 74 0
pexpect.FSM 50.0% 29.6% 54 0
pexpect 100.0% 100.0% 2 0
pexpect.exceptions 66.7% 66.7% 6 0
pexpect.expect 95.5% 95.5% 44 0
pexpect.fdpexpect 96.9% 96.9% 32 0
pexpect.popen_spawn 63.3% 63.3% 30 1
pexpect.pty_spawn 96.7% 96.7% 183 0
pexpect.pxssh 81.5% 81.5% 54 0
pexpect.replwrap 48.1% 33.3% 27 0
pexpect.run 90.0% 90.0% 40 0
pexpect.screen 71.2% 64.0% 111 0
pexpect.socket_pexpect 100.0% 100.0% 30 0
pexpect.spawnbase 93.2% 93.2% 74 0
pexpect.utils 27.3% 27.3% 22 0

Incomplete Annotations

pexpect.ANSI (35 missing, 1 any)

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

pexpect.FSM (27 missing, 11 any)

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

pexpect.exceptions (2 missing, 0 any)

Symbol Typable Typed Any
meth ExceptionPexpect.get_trace 1 0 0
meth ExceptionPexpect.get_trace 1 0 0

pexpect.expect (2 missing, 0 any)

Symbol Typable Typed Any
meth searcher_re.search 4 3 0
meth searcher_string.search 4 3 0

pexpect.fdpexpect (1 missing, 0 any)

Symbol Typable Typed Any
meth fdspawn.write 2 1 0

pexpect.popen_spawn (11 missing, 0 any)

Symbol Typable Typed Any
meth PopenSpawn.init 11 10 0
meth PopenSpawn.read_nonblocking 3 0 0
meth PopenSpawn.write 2 1 0
meth PopenSpawn.writelines 2 1 0
meth PopenSpawn.send 2 0 0
meth PopenSpawn.sendline 2 1 0
meth PopenSpawn.wait 1 0 0
meth PopenSpawn.kill 2 1 0

pexpect.pty_spawn (6 missing, 0 any)

Symbol Typable Typed Any
meth spawn.setwinsize 3 1 0
meth spawn.interact 4 3 0
meth spawn.setwinsize 3 1 0
meth spawn.interact 4 3 0

pexpect.pxssh (10 missing, 0 any)

Symbol Typable Typed Any
meth pxssh.levenshtein_distance 3 0 0
meth pxssh.try_read_prompt 2 0 0
meth pxssh.sync_original_prompt 2 1 0
meth pxssh.login 19 17 0
meth pxssh.prompt 2 1 0
meth pxssh.set_unique_prompt 1 0 0

pexpect.replwrap (14 missing, 4 any)

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

pexpect.run (4 missing, 0 any)

Symbol Typable Typed Any
func pexpect.runu 10 9 0
func pexpect.run 10 9 0
func pexpect.run.runu 10 9 0
func pexpect.run.run 10 9 0

pexpect.screen (32 missing, 8 any)

Symbol Typable Typed Any
attr pexpect.screen.PY3 1 1 1
meth screen.dump 1 0 0
meth screen.pretty 1 0 0
meth screen.fill 2 1 0
meth screen.fill_region 6 1 0
meth screen.put_abs 4 1 0
meth screen.put 2 1 0
meth screen.insert_abs 4 1 0
meth screen.insert 2 1 0
meth screen.get_abs 3 0 0
meth screen.get_region 5 0 0
meth screen.cursor_force_position 3 1 0
meth screen.scroll_screen_rows 3 1 0
attr screen.rows 1 1 1
attr screen.cols 1 1 1
attr screen.encoding 1 1 1
attr screen.encoding_errors 1 1 1
attr screen.decoder 1 1 1
attr screen.scroll_row_end 1 1 1
attr screen.w 1 1 1
func pexpect.screen.constrain 4 0 0

pexpect.spawnbase (5 missing, 0 any)

Symbol Typable Typed Any
meth SpawnBase.iter 1 0 0
meth SpawnBase.enter 1 0 0
meth SpawnBase.exit 4 1 0

pexpect.utils (16 missing, 0 any)

Symbol Typable Typed Any
func pexpect.split_command_line 2 0 0
func pexpect.which 3 1 0
func pexpect.utils.select_ignore_interrupts 5 1 0
func pexpect.utils.poll_ignore_interrupts 3 1 0
func pexpect.utils.split_command_line 2 0 0
func pexpect.utils.is_executable_file 2 0 0
func pexpect.utils.which 3 1 0

Type-Ignore Comments

Flavor Count
type: ignore[override] 1