Skip to content

pudb 2025.1.5

Version history | Download JSON

  • PyPI https://pypi.org/project/pudb/

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 272
        "Any" : 1
        "Untyped" : 479
    • 36.3% coverage
    • 36.2% coverage (strict)
    • 752 typable
      • 272 typed
      • 479 untyped
      • 1 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 190
        "classes" : 414
        "other" : 35
    • 70 functions (+0 overloads)
      • 120 parameters
    • 43 classes
      • 166 methods (+0 overloads)
        • 246 parameters
      • 2 properties
    • 27 modules
      • 35 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
pudb 48.6% 48.6% 35 0
pudb.b 0.0% 0.0% 5 0
pudb.debugger 41.7% 41.3% 254 4
pudb.forked 0.0% 0.0% 4 0
pudb.ipython 0.0% 0.0% 6 0
pudb.lowlevel 46.7% 46.7% 30 0
pudb.remote 65.4% 65.4% 26 2
pudb.run 0.0% 0.0% 3 0
pudb.settings 28.6% 28.6% 14 0
pudb.shell 0.0% 0.0% 37 0
pudb.source_view 31.2% 31.2% 48 0
pudb.theme 87.5% 87.5% 8 0
pudb.themes 0.0% 0.0% 0 0
pudb.themes.agr_256 0.0% 0.0% 1 0
pudb.themes.classic 0.0% 0.0% 1 0
pudb.themes.dark_vim 0.0% 0.0% 1 0
pudb.themes.gray_light_256 0.0% 0.0% 1 0
pudb.themes.midnight 0.0% 0.0% 1 0
pudb.themes.mono 0.0% 0.0% 0 0
pudb.themes.monokai 0.0% 0.0% 1 0
pudb.themes.monokai_256 0.0% 0.0% 1 0
pudb.themes.nord_dark_256 0.0% 0.0% 1 0
pudb.themes.solarized 0.0% 0.0% 1 0
pudb.themes.utils 25.0% 25.0% 8 0
pudb.themes.vim 0.0% 0.0% 1 0
pudb.ui_tools 35.6% 35.6% 101 1
pudb.var_view 33.7% 33.7% 163 0

Incomplete Annotations

pudb (18 missing, 0 any)

Symbol Typable Typed Any
func runscript 7 6 0
prop PudbShortcuts.db 1 0 0
prop PudbShortcuts.go 1 0 0
func runmodule 3 0 0
func post_mortem 4 3 0
func runstatement 4 3 0
attr VERSION 1 0 0
func set_interrupt_handler 2 0 0
attr NUM_VERSION 1 0 0
func pm 1 0 0
func runeval 4 0 0
func set_trace 2 1 0

pudb.b (5 missing, 0 any)

Symbol Typable Typed Any
func myimport 4 0 0
func set_trace 1 0 0

pudb.debugger (148 missing, 1 any)

Symbol Typable Typed Any
meth DirectSourceCodeProvider.init 3 2 0
meth DirectSourceCodeProvider.eq 2 1 0
meth DirectSourceCodeProvider.clear_cache 1 0 0
attr DirectSourceCodeProvider.function_name 1 0 0
attr DirectSourceCodeProvider.code 1 0 0
meth OnButtonEventLoopResultSetter.call 2 1 0
func pick_module 5 4 0
meth DebuggerUI.init 5 0 0
meth DebuggerUI.add_cmdline_content 3 0 0
meth DebuggerUI.reset_cmdline_size 1 0 0
meth DebuggerUI.set_cmdline_size 2 0 0
meth DebuggerUI.set_cmdline_state 2 0 0
meth DebuggerUI.translate_ui_stack_index 2 0 0
meth DebuggerUI.message 4 3 0
meth DebuggerUI.run_edit_config 1 0 0
meth DebuggerUI.setup_palette 2 0 0
meth DebuggerUI.show_exception_dialog 2 1 0
meth DebuggerUI.show_internal_exc_dlg 2 1 0
meth DebuggerUI._show_internal_exc_dlg 2 1 0
meth DebuggerUI._show_exception_dialog 5 4 0
meth DebuggerUI._save_traceback 2 1 0
meth DebuggerUI._show 1 0 0
meth DebuggerUI._hide 1 0 0
meth DebuggerUI.call_with_ui 4 3 0
meth DebuggerUI.interaction 3 2 0
meth DebuggerUI.set_source_code_provider 3 2 0
meth DebuggerUI.show_line 3 0 0
meth DebuggerUI.set_current_line 3 2 0
meth DebuggerUI.update_var_view 4 0 0
meth DebuggerUI._get_bp_list 1 0 0
meth DebuggerUI._format_fname 2 0 0
meth DebuggerUI.update_breakpoints 1 0 0
meth DebuggerUI.update_stack 1 0 0
meth DebuggerUI.update_cmdline_win 1 0 0
attr DebuggerUI.source_list 1 0 0
attr DebuggerUI.source_sigwrap 1 0 0
attr DebuggerUI.source_attr 1 0 0
attr DebuggerUI.source_hscroll_start 1 0 0
attr DebuggerUI.cmdline_contents 1 0 0
attr DebuggerUI.cmdline_list 1 0 0
attr DebuggerUI.cmdline_edit 1 0 0
attr DebuggerUI.cmdline_edit_sigwrap 1 0 0
attr DebuggerUI.cmdline_history_path 1 0 0
attr DebuggerUI.cmdline_history 1 0 0
attr DebuggerUI.cmdline_saved_edit_text 1 0 0
attr DebuggerUI.cmdline_history_position 1 0 0
attr DebuggerUI.cmdline_edit_bar 1 0 0
attr DebuggerUI.cmdline_pile 1 0 0
attr DebuggerUI.cmdline_sigwrap 1 0 0
attr DebuggerUI.cmdline_on 1 0 0
attr DebuggerUI.cmdline_weight 1 0 0
attr DebuggerUI.lhs_col 1 0 0
attr DebuggerUI.locals 1 0 0
attr DebuggerUI.var_list 1 0 0
attr DebuggerUI.stack_walker 1 0 0
attr DebuggerUI.stack_list 1 0 0
attr DebuggerUI.bp_walker 1 0 0
attr DebuggerUI.bp_list 1 0 0
attr DebuggerUI.rhs_col 1 0 0
attr DebuggerUI.rhs_col_sigwrap 1 0 0
attr DebuggerUI.columns 1 0 0
attr DebuggerUI.caption 1 0 0
attr DebuggerUI.top 1 0 0
attr DebuggerUI.screen 1 0 0
meth Debugger.init 8 7 1
meth Debugger.del 1 0 0
meth Debugger.set_jump 3 2 0
meth Debugger.set_trace 4 3 0
meth Debugger.save_breakpoints 1 0 0
meth Debugger.enter_post_mortem 2 0 0
meth Debugger.setup_state 1 0 0
meth Debugger.restart 1 0 0
meth Debugger.do_clear 2 0 0
meth Debugger.set_frame_index 2 1 0
meth Debugger.open_file_to_edit 3 0 0
meth Debugger.move_up_frame 1 0 0
meth Debugger.move_down_frame 1 0 0
meth Debugger.get_shortened_stack 3 0 0
meth Debugger.interaction 4 3 0
meth Debugger.get_stack_situation_id 1 0 0
meth Debugger.user_call 3 2 0
meth Debugger.user_line 2 1 0
meth Debugger.user_return 3 0 0
meth Debugger._waiting_for_mainpyfile 2 0 0
meth Debugger.user_exception 3 0 0
meth Debugger._runscript 2 0 0
meth Debugger._runmodule 2 0 0
meth Debugger.runstatement 4 3 0
meth Debugger.runeval 4 3 0
attr Debugger.stolen_output 1 0 0
meth SourceCodeProvider.clear_cache 1 0 0
meth ResultSettingEventHandler.call 4 3 0
meth StoppedScreen.init 2 0 0
meth StoppedScreen.enter 1 0 0
meth StoppedScreen.exit 4 0 0
meth StoppedScreen.press_key_to_return 1 0 0
attr StoppedScreen.screen 1 0 0
meth FileSourceCodeProvider.init 3 2 0
meth FileSourceCodeProvider.eq 2 1 0
meth FileSourceCodeProvider.identifier 1 0 0
meth FileSourceCodeProvider.get_source_identifier 1 0 0
meth FileSourceCodeProvider.clear_cache 1 0 0
meth FileSourceCodeProvider.get_lines 2 1 0
attr CONFIG 1 0 0
meth ThreadsafeScreenMixin.signal_init 1 0 0
meth ThreadsafeScreenMixin.signal_restore 1 0 0
meth ThreadsafeFixedSizeRawScreen.init 2 0 0
meth ThreadsafeFixedSizeRawScreen.get_cols_rows 1 0 0
meth NullSourceCodeProvider.eq 2 1 0
meth NullSourceCodeProvider.identifier 1 0 0
meth NullSourceCodeProvider.get_source_identifier 1 0 0
meth NullSourceCodeProvider.clear_cache 1 0 0
meth NullSourceCodeProvider.get_lines 2 1 0
func mod_exists 2 1 0

pudb.forked (4 missing, 0 any)

Symbol Typable Typed Any
func set_trace 4 0 0

pudb.ipython (6 missing, 0 any)

Symbol Typable Typed Any
func debugger 3 0 0
attr ip 1 0 0
func pudb 2 0 0

pudb.lowlevel (16 missing, 0 any)

Symbol Typable Typed Any
attr settings_log 1 0 0
func getlogfile 1 0 0
attr cookie_re 1 0 0
meth TerminalOrStreamHandler.emit 2 1 0
func get_breakpoint_invalid_reason 3 2 0
func lookup_module 2 1 0
meth ConsoleSingleKeyReader.enter 1 0 0
meth ConsoleSingleKeyReader.exit 4 0 0
meth ConsoleSingleKeyReader.get_single_key 1 0 0
func get_executable_lines_for_codes_recursive 2 1 0
func setlogfile 2 1 0
attr ui_log 1 0 0
func get_executable_lines_for_file 2 1 0

pudb.remote (9 missing, 0 any)

Symbol Typable Typed Any
attr PUDB_RDB_REVERSE 1 0 0
func debugger 5 1 0
func post_mortem 6 5 0
attr PUDB_RDB_PORT 1 0 0
attr PUDB_RDB_HOST 1 0 0
func set_trace 6 5 0

pudb.run (3 missing, 0 any)

Symbol Typable Typed Any
func get_argparse_parser 1 0 0
func main 2 0 0

pudb.settings (10 missing, 0 any)

Symbol Typable Typed Any
func get_breakpoints_file_name 1 0 0
func save_breakpoints 2 1 0
func save_config 2 1 0
func load_breakpoints 1 0 0
attr XDG_CONFIG_HOME 1 0 0
func get_save_config_path 1 0 0
func edit_config 3 2 0
func parse_breakpoints 2 0 0
func load_config 1 0 0

pudb.shell (37 missing, 0 any)

Symbol Typable Typed Any
func run_classic_shell 4 0 0
func run_ipython_shell_v11 3 0 0
func run_ipython_kernel 3 0 0
func ipython_version 1 0 0
meth SetPropagatingDict.init 3 0 0
meth SetPropagatingDict.setitem 3 0 0
meth SetPropagatingDict.delitem 2 0 0
attr SetPropagatingDict.target_dict 1 0 0
func run_bpython_shell 3 0 0
func run_ipython_shell 3 0 0
func have_ipython 1 0 0
func run_ptpython_shell 3 0 0
func run_ipython_shell_v10 3 0 0
func get_ptpython_history_file 1 0 0
func run_ptipython_shell 3 0 0

pudb.source_view (33 missing, 0 any)

Symbol Typable Typed Any
meth ArgumentParser.init 2 0 0
meth ArgumentParser.parse_token 3 0 0
attr ArgumentParser.t 1 0 0
attr ArgumentParser.state 1 0 0
attr ArgumentParser.paren_level 1 0 0
meth UrwidFormatter.init 5 0 0
meth UrwidFormatter.add_snippet 3 0 0
meth UrwidFormatter.shipout_line 1 0 0
meth UrwidFormatter.format 3 0 0
attr UrwidFormatter.lineno 1 0 0
attr argument_parser 1 0 0
meth SourceLine.selectable 1 0 0
meth SourceLine.set_current 2 1 0
meth SourceLine.set_highlight 2 1 0
meth SourceLine.set_breakpoint 2 1 0
meth SourceLine.rows 3 0 0
meth SourceLine.render 3 2 0
meth SourceLine.keypress 3 0 0

pudb.theme (1 missing, 0 any)

Symbol Typable Typed Any
meth PaletteEntry.handle_256_colors 1 0 0

pudb.themes.agr_256 (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.classic (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.dark_vim (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.gray_light_256 (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.midnight (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.monokai (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.monokai_256 (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.nord_dark_256 (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.solarized (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.themes.utils (6 missing, 0 any)

Symbol Typable Typed Any
attr may_use_fancy_formats 1 0 0
func link 3 2 0
func add_setting 3 0 0
func reset_inheritance_overrides 1 0 0

pudb.themes.vim (1 missing, 0 any)

Symbol Typable Typed Any
attr palette_dict 1 0 0

pudb.ui_tools (65 missing, 0 any)

Symbol Typable Typed Any
meth BreakpointFrame.init 4 0 0
meth BreakpointFrame.selectable 1 0 0
meth BreakpointFrame.rows 3 0 0
meth BreakpointFrame.render 3 0 0
meth BreakpointFrame.keypress 3 0 0
attr BreakpointFrame._sizing 1 0 0
attr BreakpointFrame.is_current 1 0 0
attr BreakpointFrame.filename 1 0 0
attr BreakpointFrame.breakpoint 1 0 0
attr BreakpointFrame.line 1 0 0
attr BreakpointFrame.enabled 1 0 0
attr BreakpointFrame.hits 1 0 0
func encode_like_urwid 2 1 0
func make_hotkey_markup 2 0 0
meth StackFrame.init 6 5 0
meth StackFrame.selectable 1 0 0
meth StackFrame.rows 3 2 0
meth StackFrame.render 3 2 0
meth StackFrame.keypress 3 2 0
func focus_widget_in_container 3 1 0
func make_canvas 5 4 0
func labelled_value 3 0 0
meth SearchController.init 2 0 0
meth SearchController.cancel_highlight 1 0 0
meth SearchController.cancel_search 1 0 0
meth SearchController.hide_search_ui 1 0 0
meth SearchController.open_search_ui 1 0 0
meth SearchController.perform_search 5 0 0
attr SearchController.ui 1 0 0
attr SearchController.highlight_line 1 0 0
attr SearchController.search_box 1 0 0
attr SearchController.last_search_string 1 0 0
meth SelectableText.selectable 1 0 0
meth SelectableText.keypress 3 2 0
meth SignalWrap.init 3 2 0
meth SignalWrap.listen 3 2 0
meth SignalWrap.keypress 3 2 0
func find_widget_in_container 3 1 0
func text_width 2 0 0
meth SearchBox.init 2 0 0
meth SearchBox.keypress 3 0 0
attr SearchBox.controller 1 0 0

pudb.var_view (108 missing, 0 any)

Symbol Typable Typed Any
meth InspectInfo.init 1 0 0
meth BasicValueWalker.init 2 0 0
meth BasicValueWalker.add_item 6 0 0
attr BasicValueWalker.widget_list 1 0 0
meth FrameVarInfoKeeper.init 1 0 0
meth FrameVarInfoKeeper.get_frame_var_info 3 0 0
attr FrameVarInfoKeeper.frame_var_info 1 0 0
attr BASIC_TYPES 1 0 0
meth PudbMapping.subclasshook 2 0 0
meth PudbMapping._safe_key_repr 2 0 0
meth PudbMapping.entries 3 1 0
meth PudbMapping.length 2 0 0
meth WatchValueWalker.init 4 0 0
meth WatchValueWalker.add_item 6 0 0
attr WatchValueWalker.widget_list 1 0 0
attr WatchValueWalker.watch_expr 1 0 0
meth WatchEvalError.str 1 0 0
attr SEPARATOR 1 0 0
func default_stringifier 2 1 0
meth PudbSequence.subclasshook 2 0 0
meth PudbSequence.entries 3 1 0
meth PudbSequence.length 2 0 0
func id_stringifier 2 1 0
func make_var_view 4 0 0
meth ValueWalker.init 2 0 0
meth ValueWalker.add_item 6 0 0
meth ValueWalker.walk_container 5 3 0
meth ValueWalker.walk_attributes 6 0 0
meth ValueWalker.walk_value 6 0 0
attr ValueWalker.frame_var_info 1 0 0
meth TopAndMainVariableWalker.init 2 0 0
meth TopAndMainVariableWalker._should_repeat_at_top 3 1 0
meth TopAndMainVariableWalker.add_item 6 0 0
attr TopAndMainVariableWalker.main_widget_list 1 0 0
attr TopAndMainVariableWalker.top_widget_list 1 0 0
attr TopAndMainVariableWalker.top_id_path_prefixes 1 0 0
meth VariableWidget.init 8 7 0
meth VariableWidget.str 1 0 0
meth VariableWidget.selectable 1 0 0
meth VariableWidget.keypress 3 0 0
attr VariableWidget.prefix 1 0 0
attr STR_SAFE_TYPES 1 0 0
meth FrameVarInfo.init 1 0 0
meth FrameVarInfo.get_inspect_info 3 0 0
attr FrameVarInfo.id_path_to_iinfo 1 0 0
attr FrameVarInfo.watches 1 0 0
func get_str_safe_types 1 0 0
func type_stringifier 2 1 0
meth PudbCollection.subclasshook 2 0 0
meth PudbCollection.entries 3 1 0
meth PudbCollection.length 2 0 0

Type-Ignore Comments

Flavor Count
pyright: ignore[reportUninitializedInstanceVariable] 6
pyright: ignore[reportInvalidTypeArguments] 1