Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ functions
Functions
1,126 in github.com/bpython/bpython
⨍
Functions
1,126
◇
Types & classes
215
↳
Endpoints
7
↓ 1 callers
Method
get_top_usable_line
Return the top line of display that can be rewritten
bpython/curtsiesfrontend/repl.py:485
↓ 1 callers
Method
getstdout
This method returns the 'spoofed' stdout buffer, for writing to a file or sending to a pastebin or whatever.
bpython/urwid.py:859
↓ 1 callers
Function
git_describe_to_python_version
Convert output from git describe to PEP 440 conforming versions.
setup.py:229
↓ 1 callers
Function
hasattr_safe
(obj: Any, name: str)
bpython/inspection.py:396
↓ 1 callers
Function
indent_empty_lines
Indents blank lines that would otherwise cause early compilation Only really works if starting on a new line
bpython/curtsiesfrontend/preprocess.py:16
↓ 1 callers
Function
init
( locale_dir: str | None = None, languages: list[str] | None = None )
bpython/translations/__init__.py:20
↓ 1 callers
Method
interrupting_refresh
(self)
bpython/curtsies.py:106
↓ 1 callers
Method
is_closing_quote
(self, e: str)
bpython/curtsiesfrontend/repl.py:824
↓ 1 callers
Method
is_completion_callable
Checks whether given completion is callable (e.x. function)
bpython/curtsiesfrontend/repl.py:1014
↓ 1 callers
Function
is_nop
(char: str)
bpython/curtsiesfrontend/repl.py:2191
↓ 1 callers
Function
is_simple_event
(e: str | events.Event)
bpython/curtsiesfrontend/repl.py:2240
↓ 1 callers
Function
just_simple_events
(event_list: Iterable[str | events.Event])
bpython/curtsiesfrontend/repl.py:2223
↓ 1 callers
Method
key_help_text
(self)
bpython/curtsiesfrontend/repl.py:2141
↓ 1 callers
Method
keyboard_interrupt
(self)
bpython/curtsiesfrontend/repl.py:1317
↓ 1 callers
Function
leading_tabs_to_spaces
(s: str)
bpython/curtsiesfrontend/preprocess.py:43
↓ 1 callers
Method
list_attributes
(self, obj: Any)
bpython/autocomplete.py:459
↓ 1 callers
Function
load_theme
( path: Path, colors: MutableMapping[str, str], default_colors: Mapping[str, str], )
bpython/config.py:379
↓ 1 callers
Function
load_urwid_command_map
(config)
bpython/urwid.py:1366
↓ 1 callers
Method
locate
Returns a Linepart namedtuple instance or None given cursor and line A Linepart namedtuple contains a start, stop, and word. None is
bpython/autocomplete.py:254
↓ 1 callers
Method
locate
(self, cursor_offset: int, line: str)
bpython/autocomplete.py:499
↓ 1 callers
Method
locate
(self, cursor_offset: int, line: str)
bpython/autocomplete.py:530
↓ 1 callers
Method
locate
(self, cursor_offset: int, line: str)
bpython/autocomplete.py:570
↓ 1 callers
Method
locate
(self, cursor_offset: int, line: str)
bpython/autocomplete.py:602
↓ 1 callers
Method
locate
(self, cursor_offset: int, line: str)
bpython/autocomplete.py:613
↓ 1 callers
Function
main
()
bpdb/__init__.py:70
↓ 1 callers
Function
main
banner is displayed directly after the version information. welcome_message is passed on to Repl and displayed in the statusbar.
bpython/curtsies.py:179
↓ 1 callers
Function
main
(args=None, locals_=None, banner=None)
doc/sphinx/source/simplerepl.py:118
↓ 1 callers
Method
mainloop
( self, interactive: bool = True, paste: curtsies.events.PasteEvent | None = None,
bpython/curtsies.py:150
↓ 1 callers
Method
matches
( self, cursor_offset: int, line: str, *, current_block: str | None =
bpython/autocomplete.py:507
↓ 1 callers
Function
matches_lines
(rows, columns, matches, current, config, match_format)
bpython/curtsiesfrontend/replpainter.py:61
↓ 1 callers
Method
message
Display a message for a short n seconds on the statusbar and return it to its original state.
bpython/urwid.py:198
↓ 1 callers
Method
mouse_event
(self, size, event, button, col, row, focus)
bpython/urwid.py:473
↓ 1 callers
Function
next_indentation
Given a code line, return the indentation of the next line.
bpython/repl.py:1258
↓ 1 callers
Function
ngettext
(singular, plural, n)
bpython/translations/__init__.py:16
↓ 1 callers
Method
number_of_padding_chars_on_current_cursor_line
To avoid cutting off two-column characters at the end of lines where there's only one column left, curtsies adds a padding char (u' ').
bpython/curtsiesfrontend/repl.py:1526
↓ 1 callers
Method
on_control_d
(self)
bpython/curtsiesfrontend/repl.py:1026
↓ 1 callers
Method
on_suspend
Will be called on sigtstp. Do whatever cleanup would allow the user to use other programs.
bpython/curtsiesfrontend/repl.py:525
↓ 1 callers
Method
open_in_external_editor
(self, filename)
bpython/repl.py:1213
↓ 1 callers
Method
operate_and_get_next
(self)
bpython/curtsiesfrontend/repl.py:1042
↓ 1 callers
Function
paginate
(rows, matches, current, words_wide)
bpython/curtsiesfrontend/replpainter.py:53
↓ 1 callers
Function
parse
Returns a FmtStr object from a bpython-formatted colored string
bpython/curtsiesfrontend/parse.py:50
↓ 1 callers
Function
parse_trees
(cursor_offset, line)
bpython/simpleeval.py:222
↓ 1 callers
Function
parsekeywordpairs
(signature: str)
bpython/inspection.py:133
↓ 1 callers
Method
paste
(self, s: str)
bpython/paste.py:40
↓ 1 callers
Function
peel_off_string
(s: str)
bpython/curtsiesfrontend/parse.py:103
↓ 1 callers
Function
post_mortem
(t=None)
bpdb/__init__.py:50
↓ 1 callers
Method
print_output
(self)
doc/sphinx/source/simplerepl.py:79
↓ 1 callers
Method
process_control_event
(self, e: events.Event)
bpython/curtsiesfrontend/repl.py:648
↓ 1 callers
Method
process_key_event
(self, e: str)
bpython/curtsiesfrontend/repl.py:720
↓ 1 callers
Method
prompt
Prompt the user for input. The result will be returned via calling callback. Note that there can only be one prompt active. But the ca
bpython/urwid.py:544
↓ 1 callers
Method
readline_kill
(self, e)
bpython/curtsiesfrontend/repl.py:927
↓ 1 callers
Method
readlines
(self, size: int | None = -1)
bpython/curtsiesfrontend/repl.py:191
↓ 1 callers
Method
redo
(self)
bpython/curtsiesfrontend/repl.py:1974
↓ 1 callers
Method
reevaluate
(self)
bpython/repl.py:423
↓ 1 callers
Method
remember_bpython_input
Remembers a string of source code, and returns a fake filename to use to retrieve it later.
bpython/patch_linecache.py:30
↓ 1 callers
Method
render
(self, size, focus=False)
bpython/urwid.py:483
↓ 1 callers
Method
reprint_line
( self, lineno: int, tokens: list[tuple[_TokenType, str]] )
bpython/repl.py:427
↓ 1 callers
Method
request_undo
Like request_refresh, but for undo request events.
bpython/curtsiesfrontend/repl.py:521
↓ 1 callers
Method
reset
(self)
bpython/test/test_repl.py:37
↓ 1 callers
Function
resetquit
Redefine builtins 'quit' and 'exit' not so close stdin
bpython/curtsiesfrontend/sitefix.py:5
↓ 1 callers
Method
run
(self)
setup.py:168
↓ 1 callers
Function
run_find_coroutine
()
bpython/urwid.py:1351
↓ 1 callers
Function
safe_getitem
Safely tries to access obj[index]
bpython/simpleeval.py:181
↓ 1 callers
Method
save
(self, filename: Path, encoding: str, lines: int = 0)
bpython/history.py:206
↓ 1 callers
Method
schedule_refresh
Schedule a ScheduledRefreshRequestEvent for when. Such a event should interrupt if blocked waiting for keyboard input
bpython/curtsiesfrontend/repl.py:552
↓ 1 callers
Function
set_win_size
(fd, rows, columns)
bpython/test/test_crashers.py:33
↓ 1 callers
Function
setup_config
(conf)
bpython/test/test_brackets_completion.py:11
↓ 1 callers
Function
setup_config
(conf)
bpython/test/test_repl.py:26
↓ 1 callers
Function
setup_config
(conf)
bpython/test/test_curtsies_repl.py:31
↓ 1 callers
Function
split_lines
(tokens)
bpython/repl.py:1272
↓ 1 callers
Method
startup
Execute PYTHONSTARTUP file if it exits. Call this after front end-specific initialisation.
bpython/repl.py:550
↓ 1 callers
Function
supports_box_chars
Check if the encoding supports Unicode box characters.
bpython/config.py:67
↓ 1 callers
Method
take_back_buffer_line
(self)
bpython/curtsiesfrontend/repl.py:1940
↓ 1 callers
Method
take_back_empty_line
(self)
bpython/curtsiesfrontend/repl.py:1955
↓ 1 callers
Method
toggle_file_watch
(self)
bpython/curtsiesfrontend/repl.py:1151
↓ 1 callers
Function
token_is_any_of
Return a callable object that returns whether a token is any of the given types `token_types`.
bpython/repl.py:1297
↓ 1 callers
Method
track_module
Begins tracking this if activated, or remembers to track later.
bpython/curtsiesfrontend/filewatch.py:54
↓ 1 callers
Method
try_stages
(self, strings, func)
bpython/test/test_manual_readline.py:197
↓ 1 callers
Method
version_help_text
(self)
bpython/curtsiesfrontend/repl.py:2114
↓ 1 callers
Method
write
Default stderr handler for tracebacks Accepts FmtStrs so interpreters can output them
bpython/curtsiesfrontend/interpreter.py:82
Function
BlankLineInFunction
(self)
bpython/test/fodder/original.py:11
Function
BlankLineInFunction
(self)
bpython/test/fodder/processed.py:10
Method
__add__
(inner_self, other)
bpython/test/test_simpleeval.py:73
Method
__bool__
(self)
bpython/repl.py:237
Function
__call__
(self, code=None)
bpython/curtsiesfrontend/sitefix.py:8
Method
__call__
(self, *args, **kwargs)
bpython/_internal.py:24
Method
__call__
(self)
bpython/test/test_inspection.py:34
Method
__call__
(self, text)
bpython/curtsiesfrontend/_internal.py:44
Method
__call__
(self, *args, **kwargs)
bpython/curtsiesfrontend/_internal.py:58
Method
__contains__
(self, key: Any)
bpython/patch_linecache.py:44
Method
__contains__
(self, key)
bpython/curtsiesfrontend/manual_readline.py:71
Method
__del__
(self)
bpython/filelock.py:53
Method
__delitem__
(self, key: str)
bpython/keys.py:45
Method
__delitem__
(self, key: Any)
bpython/patch_linecache.py:53
Method
__delitem__
(self, key)
bpython/curtsiesfrontend/manual_readline.py:81
Method
__enter__
Try to make an object not exhibit side-effects on attribute lookup.
bpython/inspection.py:86
Method
__enter__
(self)
bpython/filelock.py:39
Method
__enter__
(self)
bpython/curtsiesfrontend/_internal.py:31
Method
__exit__
Restore an object's magic methods.
bpython/inspection.py:115
Method
__exit__
( self, exc_type: type[BaseException] | None, exc: BaseException | None, exc_t
bpython/filelock.py:43
← previous
next →
301–400 of 1,126, ranked by callers