Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ functions
Functions
3,293 in github.com/ipython/ipython
⨍
Functions
3,293
◇
Types & classes
503
↳
Endpoints
20
↓ 1 callers
Function
_add
(name, value)
IPython/testing/iptestcontroller.py:252
↓ 1 callers
Function
_add_indent
(n)
IPython/core/inputsplitter.py:160
↓ 1 callers
Function
_ast_asyncify
Parse a cell with top-level await and modify the AST to be able to run it later. Parameter --------- cell: str The code cel
IPython/core/interactiveshell.py:172
↓ 1 callers
Method
_async_exec
Evaluate an asynchronous code object using a code runner Fake asynchronous execution of code_object in a namespace via a proxy names
IPython/core/interactiveshell.py:3361
↓ 1 callers
Function
_async_parse_cell
This is a compatibility shim for pre-3.7 when async outside of a function is a syntax error at the parse stage. It will return an abstra
IPython/core/async_helpers.py:125
↓ 1 callers
Method
_call_unload_ipython_extension
(self, mod)
IPython/core/extensions.py:137
↓ 1 callers
Method
_check_data
Override in subclasses if there's something to check.
IPython/core/display.py:641
↓ 1 callers
Function
_check_pil_jpeg_bytes
Skip if PIL can't write JPEGs to BytesIO objects
IPython/core/tests/test_pylabtools.py:43
↓ 1 callers
Method
_check_prompt_blank
Given the lines of a source string (including prompts and leading indentation), check to make sure that every prompt is follo
IPython/testing/plugin/ipdoctest.py:544
↓ 1 callers
Function
_col_chunks
Yield successive max_rows-sized column chunks from l.
IPython/utils/text.py:616
↓ 1 callers
Method
_completions
Core completion module.Same signature as :any:`completions`, with the extra `timeout` parameter (in seconds). Computing jed
IPython/core/completer.py:1828
↓ 1 callers
Method
_debug_exec
(self, code, breakpoint)
IPython/core/magics/execution.py:485
↓ 1 callers
Method
_debug_post_mortem
(self)
IPython/core/magics/execution.py:482
↓ 1 callers
Method
_default_arguments
Return the list of default arguments of obj if it is callable, or empty list otherwise.
IPython/core/completer.py:1456
↓ 1 callers
Function
_default_pprint
The default print function. Used if an object does not provide one and it's none of the builtin objects.
IPython/lib/pretty.py:503
↓ 1 callers
Function
_detect_screen_size
Attempt to work out the number of lines on the screen. This is called by page(). It can raise an error (e.g. when run in the test suite), so
IPython/core/page.py:80
↓ 1 callers
Function
_dict_pprinter_factory
Factory that returns a pprint function used by the default pprint of dicts and dict proxies.
IPython/lib/pretty.py:590
↓ 1 callers
Method
_disable_init_location
Disable the current Instance creation location
IPython/terminal/embed.py:133
↓ 1 callers
Method
_edit_macro
open an editor with the macro data in a file
IPython/core/magics/code.py:509
↓ 1 callers
Function
_elide_point
If a string is long enough, and has at least 3 dots, replace the middle part with ellipses. If a string naming a file is long enough, an
IPython/terminal/ptutils.py:26
↓ 1 callers
Function
_elide_typed
Elide the middle of a long string if the beginning has already been typed.
IPython/terminal/ptutils.py:56
↓ 1 callers
Method
_enumerate
like enumerate, but with an upper limit on the number of items
IPython/lib/pretty.py:278
↓ 1 callers
Method
_extract_tb
(self, tb)
IPython/core/ultratb.py:627
↓ 1 callers
Method
_find_ext
(self, s)
IPython/core/display.py:1319
↓ 1 callers
Function
_find_optimal
Calculate optimal info to columnize a list of string
IPython/utils/text.py:627
↓ 1 callers
Function
_fixed_getinnerframes
(etb, context=1, tb_offset=0)
IPython/core/ultratb.py:347
↓ 1 callers
Method
_format_exception_only
Format the exception part of a traceback. The arguments are the exception type and value such as given by sys.exc_info()[:2]. The ret
IPython/core/ultratb.py:743
↓ 1 callers
Function
_format_lineno
Helper function to format line numbers properly.
IPython/core/history.py:902
↓ 1 callers
Method
_format_list
Format a list of traceback entry tuples for printing. Given a list of tuples as returned by extract_tb() or extract_stack(), return a
IPython/core/ultratb.py:706
↓ 1 callers
Method
_format_path
(self)
IPython/lib/display.py:389
↓ 1 callers
Function
_format_traceback_lines
Format tracebacks lines with pointing arrow, leading numbers... Parameters ========== lnum: int index: int lines: list[stri
IPython/core/ultratb.py:382
↓ 1 callers
Method
_format_user_obj
format a user object to display dict for use in user_expressions
IPython/core/interactiveshell.py:2637
↓ 1 callers
Function
_formatparamchildren
Get parameter name and value from Jedi Private API Jedi does not expose a simple way to get `param=value` from its API. Parameter =
IPython/core/completer.py:947
↓ 1 callers
Method
_from_module
Return true if the given object is defined in the given module.
IPython/testing/plugin/ipdoctest.py:88
↓ 1 callers
Function
_function_magic_marker
Decorator factory for standalone functions.
IPython/core/magic.py:212
↓ 1 callers
Method
_generate_script_magics
(self)
IPython/core/magics/script.py:124
↓ 1 callers
Method
_get_completions
Private equivalent of get_completions() use only for unit_testing.
IPython/terminal/ptutils.py:122
↓ 1 callers
Function
_get_conda_executable
Find the path to the conda executable
IPython/core/magics/packaging.py:26
↓ 1 callers
Method
_get_hist_file_name
Find the history file for the given profile name. This is overridden by the HistoryManager subclass, to use the shell's activ
IPython/core/history.py:231
↓ 1 callers
Function
_get_long_path_name
Get a long path name (expand ~) on Windows using ctypes. Examples -------- >>> get_long_path_name('c:\\docume~1') 'c
IPython/utils/path.py:30
↓ 1 callers
Method
_get_notebook_display_formatter
generate function to use for notebook formatting
IPython/lib/display.py:546
↓ 1 callers
Function
_get_or_default
return list item number, or default if don't exist
IPython/utils/text.py:642
↓ 1 callers
Method
_get_range_session
Get input and output history from the current session. Called by get_range, and takes similar parameters.
IPython/core/history.py:633
↓ 1 callers
Method
_get_terminal_display_formatter
generate function to use for terminal formatting
IPython/lib/display.py:571
↓ 1 callers
Function
_get_type
Return the type of an instance (old and new-style)
IPython/core/formatters.py:274
↓ 1 callers
Method
_getattr_property
Property-aware getattr to use in object finding. If attrname represents a property, return it unevaluated (in case it has side effect
IPython/core/interactiveshell.py:1701
↓ 1 callers
Function
_gifxy
read the (width, height) from a GIF header
IPython/core/display.py:1090
↓ 1 callers
Method
_group_flush
Flush a given job group Return True if the group had any elements.
IPython/lib/backgroundjobs.py:256
↓ 1 callers
Method
_import_app
import an app class
IPython/core/profileapp.py:246
↓ 1 callers
Method
_import_funcs_classes
Import * from uri, and separate out functions and classes.
docs/sphinxext/apigen.py:217
↓ 1 callers
Method
_in_deferred_types
Check if the given class is specified in the deferred type registry. Successful matches will be moved to the regular type registry f
IPython/core/formatters.py:550
↓ 1 callers
Method
_in_deferred_types
Check if the given class is specified in the deferred type registry. Returns the printer from the registry if it exists, and None if
IPython/lib/pretty.py:401
↓ 1 callers
Method
_inner_call_
like call but write to a temporary buffer
IPython/utils/PyColorize.py:284
↓ 1 callers
Method
_ipython_dir_changed
(self, change)
IPython/core/application.py:266
↓ 1 callers
Function
_is_conda_environment
Return True if the current Python executable is in a conda env
IPython/core/magics/packaging.py:19
↓ 1 callers
Method
_isexec_POSIX
Test for executable on a POSIX system
IPython/core/magics/osm.py:67
↓ 1 callers
Method
_isexec_WIN
Test for executable file on non POSIX system
IPython/core/magics/osm.py:79
↓ 1 callers
Method
_jedi_matches
Return a list of :any:`jedi.api.Completions` object from a ``text`` and cursor position. Parameters ----------
IPython/core/completer.py:1333
↓ 1 callers
Function
_jpegxy
read the (width, height) from a JPEG header
IPython/core/display.py:1071
↓ 1 callers
Method
_jsonable
turn magics dict into jsonable dict of the same structure replaces object instances with their class names as strings
IPython/core/magics/basic.py:46
↓ 1 callers
Method
_make_script_magic
make a named magic, that calls %%script with a particular program
IPython/core/magics/script.py:129
↓ 1 callers
Function
_make_signature
Make the signature from a jedi completion Parameter ========= completion: jedi.Completion object does not complete a functi
IPython/core/completer.py:972
↓ 1 callers
Method
_make_wav
Transform a numpy array to a PCM bytestring
IPython/lib/display.py:131
↓ 1 callers
Function
_merge
Like update, but merges sub-dicts instead of clobbering at the top level. Updates d1 in-place
IPython/core/display.py:41
↓ 1 callers
Function
_method_magic_marker
Decorator factory for methods in Magics subclasses.
IPython/core/magic.py:178
↓ 1 callers
Method
_mime_format
Return a mime bundle representation of the input text. - if `formatter` is None, the returned mime bundle has a `text/plain` field
IPython/core/oinspect.py:515
↓ 1 callers
Function
_parse_datetime
Parse dates in the format returned by the Github API.
tools/github_stats.py:38
↓ 1 callers
Method
_parse_example
Given a regular expression match from `_EXAMPLE_RE` (`m`), return a pair `(source, want)`, where `source` is the matched exam
IPython/testing/plugin/ipdoctest.py:479
↓ 1 callers
Method
_parse_module
Parse module defined in *uri*
docs/sphinxext/apigen.py:207
↓ 1 callers
Method
_path2uri
Convert directory path to uri
docs/sphinxext/apigen.py:200
↓ 1 callers
Method
_print_profiles
print list of profiles, indented.
IPython/core/profileapp.py:159
↓ 1 callers
Function
_render_signature
This was mostly taken from inspect.Signature.__str__. Look there for the comments. The only change is to add linebreaks when this gets to
IPython/core/oinspect.py:991
↓ 1 callers
Method
_repr_html_
(self)
IPython/utils/capture.py:40
↓ 1 callers
Method
_repr_html_
(self)
IPython/core/display.py:818
↓ 1 callers
Method
_repr_html_
(self)
IPython/core/display.py:1412
↓ 1 callers
Method
_repr_html_
(self)
IPython/core/tests/test_interactiveshell.py:851
↓ 1 callers
Method
_repr_javascript_
(self)
IPython/utils/capture.py:49
↓ 1 callers
Method
_repr_javascript_
(self)
IPython/core/tests/test_interactiveshell.py:854
↓ 1 callers
Method
_repr_json_
(self)
IPython/core/display.py:911
↓ 1 callers
Method
_repr_latex_
(self)
IPython/utils/capture.py:43
↓ 1 callers
Method
_repr_png_
(self)
IPython/utils/capture.py:52
↓ 1 callers
Method
_repr_svg_
(self)
IPython/utils/capture.py:58
↓ 1 callers
Method
_repr_svg_
(self)
IPython/core/display.py:789
↓ 1 callers
Function
_restore_term_title
()
IPython/utils/terminal.py:61
↓ 1 callers
Method
_run_cell
Internal method to run a complete IPython cell.
IPython/core/interactiveshell.py:2884
↓ 1 callers
Method
_run_cmd_line_code
Run code or file specified at the command-line
IPython/core/shellapp.py:399
↓ 1 callers
Method
_run_exec_files
Run files from IPythonApp.exec_files
IPython/core/shellapp.py:386
↓ 1 callers
Method
_run_exec_lines
Run lines of code in IPythonApp.exec_lines in the user's namespace.
IPython/core/shellapp.py:307
↓ 1 callers
Method
_run_module
Run module specified at the command-line.
IPython/core/shellapp.py:430
↓ 1 callers
Method
_run_startup_files
Run files from profile startup directory
IPython/core/shellapp.py:356
↓ 1 callers
Method
_run_stdio
Runs the process using the system standard I/O. IMPORTANT: stdin needs to be asynchronous, so the Python sys.stdin object
IPython/utils/_process_win32_controller.py:501
↓ 1 callers
Method
_run_with_timing
Run function `run` and print timing information. Parameters ---------- run : callable Any callable objec
IPython/core/magics/execution.py:970
↓ 1 callers
Function
_safe_isinstance
Checks if obj is an instance of module.class_name if loaded
IPython/core/completer.py:882
↓ 1 callers
Function
_safe_repr
Try to return a repr of an object always returns a string, at least.
IPython/core/formatters.py:206
↓ 1 callers
Function
_seq_pprinter_factory
Factory that returns a pprint function useful for sequences. Used by the default pprint for tuples, dicts, and lists.
IPython/lib/pretty.py:541
↓ 1 callers
Function
_set_pprinter_factory
Factory that returns a pprint function useful for sets and frozensets.
IPython/lib/pretty.py:563
↓ 1 callers
Method
_set_source
(self, buffer)
IPython/core/inputsplitter.py:529
↓ 1 callers
Function
_set_term_title
Dummy no-op.
IPython/utils/terminal.py:56
↓ 1 callers
Method
_some_str
(self, value)
IPython/core/ultratb.py:840
↓ 1 callers
Function
_sorted_for_pprint
Sort the given items for pretty printing. Since some predictable sorting is better than no sorting at all, we sort on the string represen
IPython/lib/pretty.py:121
← previous
next →
501–600 of 3,293, ranked by callers