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
↓ 2 callers
Method
_info
Compute a dict with detailed information about an object. Parameters ========== obj: any An object to find infor
IPython/core/oinspect.py:694
↓ 2 callers
Method
_init
Common initialization for all BackgroundJob objects
IPython/lib/backgroundjobs.py:388
↓ 2 callers
Function
_line_tokens
Helper for has_comment and ends_in_comment_or_string.
IPython/core/inputtransformer.py:292
↓ 2 callers
Method
_lsmagic
The main implementation of the %lsmagic
IPython/core/magics/basic.py:25
↓ 2 callers
Method
_magic_docs
Return docstrings from magic functions.
IPython/core/magics/basic.py:183
↓ 2 callers
Function
_make_help_call
Prepares a pinfo(2)/psearch call from a target name and the escape (i.e. ? or ??)
IPython/core/inputtransformer.py:196
↓ 2 callers
Method
_make_style_from_name_or_cls
Small wrapper that make an IPython compatible style from a style name We need that to add style for prompt ... etc.
IPython/terminal/interactiveshell.py:332
↓ 2 callers
Method
_mirror_name
get the name of the mirrored module
IPython/utils/shimmodule.py:26
↓ 2 callers
Function
_new_id
Generate a new random text id with urandom
IPython/core/display.py:126
↓ 2 callers
Function
_pngxy
read the (width, height) from a PNG header
IPython/core/display.py:1065
↓ 2 callers
Method
_record_commit
(self, base_dir)
setupbase.py:380
↓ 2 callers
Method
_repr_html_
(self)
IPython/core/display.py:720
↓ 2 callers
Method
_repr_html_
(self)
IPython/core/display.py:1260
↓ 2 callers
Method
_repr_html_
return html link to file
IPython/lib/display.py:396
↓ 2 callers
Method
_repr_jpeg_
(self)
IPython/core/display.py:1315
↓ 2 callers
Method
_repr_png_
(self)
IPython/core/display.py:1311
↓ 2 callers
Method
_reset
(self)
IPython/lib/inputhook.py:126
↓ 2 callers
Method
_retina_shape
load pixel-doubled width and height from image data
IPython/core/display.py:1237
↓ 2 callers
Function
_run_edit_test
(arg_s, exp_filename=None, exp_lineno=-1, exp_contents=None,
IPython/core/tests/test_magic.py:1119
↓ 2 callers
Method
_run_with_debugger
Run `code` in debugger with a break point. Parameters ---------- code : str Code to execute. cod
IPython/core/magics/execution.py:875
↓ 2 callers
Method
_run_with_profiler
Run `code` with profiler. Used by ``%prun`` and ``%run -p``. Parameters ---------- code : str Code to b
IPython/core/magics/execution.py:319
↓ 2 callers
Function
_safe_exists
Check path, but don't let exceptions raise
IPython/core/display.py:34
↓ 2 callers
Method
_show_matplotlib_backend
show matplotlib message backend message
IPython/core/magics/pylab.py:163
↓ 2 callers
Method
_showtraceback
Actually show a traceback. Subclasses may override this method to put the traceback on a different place, like a side channel.
IPython/core/interactiveshell.py:2061
↓ 2 callers
Function
_strip_prompts
Remove matching input prompts from a block of input. Parameters ---------- prompt_re : regular expression A regular expressio
IPython/core/inputtransformer.py:398
↓ 2 callers
Method
_uri2path
Convert uri to absolute filepath Parameters ---------- uri : string URI of python module to return path for
docs/sphinxext/apigen.py:158
↓ 2 callers
Function
_utf8
ensure utf8 bytes
IPython/terminal/pt_inputhooks/osx.py:23
↓ 2 callers
Method
_validate_index
(self,index)
IPython/lib/demo.py:342
↓ 2 callers
Method
_width
(self)
IPython/terminal/prompts.py:37
↓ 2 callers
Function
abbrev_cwd
Return abbreviated version of cwd, e.g. d:mydir
IPython/utils/process.py:53
↓ 2 callers
Method
add_re
Adds a target regexp for dispatching
IPython/utils/strdispatch.py:35
↓ 2 callers
Method
add_scheme
Add a new color scheme to the table.
IPython/utils/coloransi.py:158
↓ 2 callers
Method
assert_content_equal
(self, a, b)
IPython/utils/tests/test_path.py:441
↓ 2 callers
Method
attr_matches
Compute matches when text contains a dot. Assuming the text is of the form NAME.NAME....[NAME], and is evaluatable in self.namespace
IPython/core/completer.py:681
↓ 2 callers
Method
auto_status
Return descriptive string with automagic status.
IPython/core/magic.py:341
↓ 2 callers
Method
break_
Explicitly insert a newline into the output, maintaining correct indentation.
IPython/lib/pretty.py:250
↓ 2 callers
Method
call
(self)
IPython/lib/backgroundjobs.py:464
↓ 2 callers
Method
check_complete
Return whether a block of code is ready to execute, or should be continued Parameters ---------- source : string Py
IPython/core/inputtransformer2.py:596
↓ 2 callers
Function
check_line_split
(splitter, test_specs)
IPython/core/tests/test_completer.py:89
↓ 2 callers
Method
cleanup
(self)
IPython/core/interactiveshell.py:3787
↓ 2 callers
Method
cleanup
Kill process if it's still alive, and clean up temporary directories
IPython/testing/iptestcontroller.py:104
↓ 2 callers
Method
clear_inputhook
DEPRECATED since IPython 5.0 Set PyOS_InputHook to NULL and return the previous one. Parameters ---------- app : opt
IPython/lib/inputhook.py:166
↓ 2 callers
Method
clear_output
Clear the output of the cell receiving output.
IPython/core/displaypub.py:118
↓ 2 callers
Function
clock2
clock2() -> (t_user,t_system) Similar to clock(), but return a tuple of user/system times.
IPython/utils/timing.py:54
↓ 2 callers
Method
commit
(self, *args, **kwargs)
IPython/core/history.py:42
↓ 2 callers
Method
common_cases
(self)
IPython/utils/tests/test_path.py:367
↓ 2 callers
Function
compress_user
Does the opposite of expand_user, with its outputs.
IPython/core/completer.py:284
↓ 2 callers
Method
continuation_prompt_tokens
(self, width=None)
IPython/terminal/prompts.py:40
↓ 2 callers
Method
create_profile_dir
Create a new profile directory given a full path. Parameters ---------- profile_dir : str The full path to the pr
IPython/core/profiledir.py:153
↓ 2 callers
Function
cursor_to_position
Convert the (line,column) position of the cursor in text to an offset in a string. Parameters ---------- text : str Th
IPython/core/completer.py:815
↓ 2 callers
Method
debugger_cls
(self)
IPython/terminal/interactiveshell.py:126
↓ 2 callers
Method
define_macro
Define a new macro Parameters ---------- name : str The name of the macro. themacro : str or Macro
IPython/core/interactiveshell.py:2430
↓ 2 callers
Method
deq
(self)
IPython/lib/pretty.py:485
↓ 2 callers
Method
dict
(self)
IPython/utils/ipstruct.py:231
↓ 2 callers
Method
disable
DEPRECATED since IPython 5.0 Disable event loop integration with wxPython. This restores appnapp on OS X
IPython/lib/inputhook.py:385
↓ 2 callers
Method
disable_gui
DEPRECATED since IPython 5.0 Disable GUI event loop integration. If an application was registered, this sets its ``_in_event
IPython/lib/inputhook.py:295
↓ 2 callers
Method
display
(self)
IPython/core/display.py:822
↓ 2 callers
Method
do_token_transforms
(self, lines)
IPython/core/inputtransformer2.py:576
↓ 2 callers
Method
drop_by_id
Remove a dict of variables from the user namespace, if they are the same as the values in the dictionary. This is intended fo
IPython/core/interactiveshell.py:1581
↓ 2 callers
Method
enable_pylab
Activate pylab support at runtime. This turns on support for matplotlib, preloads into the interactive namespace all of numpy and pyl
IPython/core/interactiveshell.py:3516
↓ 2 callers
Method
enq
(self, group)
IPython/lib/pretty.py:479
↓ 2 callers
Method
ensure_pyplot
Ensures that pyplot has been imported into the embedded IPython shell. Also, makes sure to set the backend appropriately if not set
IPython/sphinxext/ipython_directive.py:761
↓ 2 callers
Function
eval_formatter_slicing_check
(f)
IPython/utils/tests/test_text.py:117
↓ 2 callers
Function
expand_path
Expand $VARS and ~names in a string, like a shell :Examples: In [2]: os.environ['FOO']='test' In [3]: expand_path('variable FOO i
IPython/utils/path.py:282
↓ 2 callers
Function
expand_user
Expand ``~``-style usernames in strings. This is similar to :func:`os.path.expanduser`, but it computes and returns extra information that wi
IPython/core/completer.py:244
↓ 2 callers
Function
extract_hist_ranges
Turn a string of history ranges into 3-tuples of (session, start, stop). Examples -------- >>> list(extract_hist_ranges("~8/5-~7/4 2"))
IPython/core/history.py:860
↓ 2 callers
Method
extract_input_lines
Return as a string a set of input history slices. Parameters ---------- range_str : string The set of slices is g
IPython/core/interactiveshell.py:3640
↓ 2 callers
Function
f
My docstring
IPython/core/tests/test_oinspect.py:75
↓ 2 callers
Method
fake_input
(self)
IPython/terminal/tests/test_interactivshell.py:79
↓ 2 callers
Method
fields
Collect whitespace-separated fields from string list Allows quick awk-like usage of string lists. Example data (in var a, created b
IPython/utils/text.py:167
↓ 2 callers
Method
filename_and_mtime
(self, module)
IPython/extensions/autoreload.py:183
↓ 2 callers
Function
find_entry_points
Defines the command line entry points for IPython This always uses setuptools-style entry points. When setuptools is not in use, our own buil
setupbase.py:224
↓ 2 callers
Method
find_module
Return self if we should be used to import the module.
IPython/utils/shimmodule.py:31
↓ 2 callers
Function
find_recursion
Identify the repeating stack frames from a RecursionError traceback 'records' is a list as returned by VerboseTB.get_records() Returns (last
IPython/core/ultratb.py:439
↓ 2 callers
Function
find_source_lines
Find the line number in a file where an object was defined. This is essentially a robust wrapper around `inspect.getsourcelines`. Returns No
IPython/core/oinspect.py:322
↓ 2 callers
Method
fload
Load file object.
IPython/lib/demo.py:288
↓ 2 callers
Method
flush
Flush all finished jobs (completed and dead) from lists. Running jobs are never flushed. It first calls _status_new(), to update inf
IPython/lib/backgroundjobs.py:312
↓ 2 callers
Method
flush_transformers
(self)
IPython/core/inputsplitter.py:618
↓ 2 callers
Method
for_type_by_name
Add a format function for a type specified by the full dotted module and name of the type, rather than the type of the object. Parame
IPython/core/formatters.py:470
↓ 2 callers
Method
format2
Parse and send the colored source. If out and scheme are not specified, the defaults (given to constructor) are used. out s
IPython/utils/PyColorize.py:207
↓ 2 callers
Method
generic_visit
(self, node)
IPython/core/async_helpers.py:107
↓ 2 callers
Function
get_app_qt4
Create a new qt4 app or return an existing one.
IPython/lib/guisupport.py:112
↓ 2 callers
Function
get_app_wx
Create a new wx app or return an exiting one.
IPython/lib/guisupport.py:69
↓ 2 callers
Method
get_buffer
(self)
IPython/testing/iptest.py:312
↓ 2 callers
Function
get_ipython_package_dir
()
IPython/utils/path.py:265
↓ 2 callers
Function
get_issues_list
get issues list
tools/gh_api.py:162
↓ 2 callers
Function
get_milestone_id
(project, milestone, auth=False, **params)
tools/gh_api.py:183
↓ 2 callers
Function
get_msg
Skip message with information about function being skipped.
IPython/external/decorators/_decorators.py:67
↓ 2 callers
Function
get_msg
Skip message with information about function being skipped.
IPython/testing/decorators.py:199
↓ 2 callers
Function
get_pager_cmd
Return a pager command. Makes some attempts at finding an OS-correct one.
IPython/core/page.py:283
↓ 2 callers
Function
get_pager_start
Return the string for paging files with an offset. This is the '+N' argument which less and more (under Unix) accept.
IPython/core/page.py:305
↓ 2 callers
Method
get_parts_of_chained_exception
(self, evalue)
IPython/core/ultratb.py:530
↓ 2 callers
Method
get_pyos_inputhook
DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.c_void_p.
IPython/lib/inputhook.py:132
↓ 2 callers
Method
get_pyos_inputhook_as_func
DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.PYFUNCYPE.
IPython/lib/inputhook.py:140
↓ 2 callers
Method
get_records
(self, etb, number_of_lines_of_context, tb_offset)
IPython/core/ultratb.py:1164
↓ 2 callers
Function
get_stream_enc
Return the given stream's encoding or a default. There are cases where ``sys.std*`` might not actually be a stream, so check for the encoding
IPython/utils/encoding.py:21
↓ 2 callers
Function
get_sys_info
Return useful information about IPython and the system, as a dict.
IPython/utils/sysinfo.py:95
↓ 2 callers
Function
getdoc
Stable wrapper around inspect.getdoc. This can't crash because of attribute problems. It also attempts to call a getdoc() method on the give
IPython/core/oinspect.py:114
↓ 2 callers
Method
getoutput
Run a command and return its stdout/stderr as a string. Parameters ---------- cmd : str A command to be executed in
IPython/utils/_process_posix.py:79
↓ 2 callers
Method
getoutput
Get output (possibly including stderr) from a subprocess. Parameters ---------- cmd : str Command to execute (can n
IPython/core/interactiveshell.py:2529
← previous
next →
301–400 of 3,293, ranked by callers