MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

↓ 2 callersMethod_info
Compute a dict with detailed information about an object. Parameters ========== obj: any An object to find infor
IPython/core/oinspect.py:694
↓ 2 callersMethod_init
Common initialization for all BackgroundJob objects
IPython/lib/backgroundjobs.py:388
↓ 2 callersFunction_line_tokens
Helper for has_comment and ends_in_comment_or_string.
IPython/core/inputtransformer.py:292
↓ 2 callersMethod_lsmagic
The main implementation of the %lsmagic
IPython/core/magics/basic.py:25
↓ 2 callersMethod_magic_docs
Return docstrings from magic functions.
IPython/core/magics/basic.py:183
↓ 2 callersFunction_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 callersMethod_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 callersMethod_mirror_name
get the name of the mirrored module
IPython/utils/shimmodule.py:26
↓ 2 callersFunction_new_id
Generate a new random text id with urandom
IPython/core/display.py:126
↓ 2 callersFunction_pngxy
read the (width, height) from a PNG header
IPython/core/display.py:1065
↓ 2 callersMethod_record_commit
(self, base_dir)
setupbase.py:380
↓ 2 callersMethod_repr_html_
(self)
IPython/core/display.py:720
↓ 2 callersMethod_repr_html_
(self)
IPython/core/display.py:1260
↓ 2 callersMethod_repr_html_
return html link to file
IPython/lib/display.py:396
↓ 2 callersMethod_repr_jpeg_
(self)
IPython/core/display.py:1315
↓ 2 callersMethod_repr_png_
(self)
IPython/core/display.py:1311
↓ 2 callersMethod_reset
(self)
IPython/lib/inputhook.py:126
↓ 2 callersMethod_retina_shape
load pixel-doubled width and height from image data
IPython/core/display.py:1237
↓ 2 callersFunction_run_edit_test
(arg_s, exp_filename=None, exp_lineno=-1, exp_contents=None,
IPython/core/tests/test_magic.py:1119
↓ 2 callersMethod_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 callersMethod_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 callersFunction_safe_exists
Check path, but don't let exceptions raise
IPython/core/display.py:34
↓ 2 callersMethod_show_matplotlib_backend
show matplotlib message backend message
IPython/core/magics/pylab.py:163
↓ 2 callersMethod_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 callersFunction_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 callersMethod_uri2path
Convert uri to absolute filepath Parameters ---------- uri : string URI of python module to return path for
docs/sphinxext/apigen.py:158
↓ 2 callersFunction_utf8
ensure utf8 bytes
IPython/terminal/pt_inputhooks/osx.py:23
↓ 2 callersMethod_validate_index
(self,index)
IPython/lib/demo.py:342
↓ 2 callersMethod_width
(self)
IPython/terminal/prompts.py:37
↓ 2 callersFunctionabbrev_cwd
Return abbreviated version of cwd, e.g. d:mydir
IPython/utils/process.py:53
↓ 2 callersMethodadd_re
Adds a target regexp for dispatching
IPython/utils/strdispatch.py:35
↓ 2 callersMethodadd_scheme
Add a new color scheme to the table.
IPython/utils/coloransi.py:158
↓ 2 callersMethodassert_content_equal
(self, a, b)
IPython/utils/tests/test_path.py:441
↓ 2 callersMethodattr_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 callersMethodauto_status
Return descriptive string with automagic status.
IPython/core/magic.py:341
↓ 2 callersMethodbreak_
Explicitly insert a newline into the output, maintaining correct indentation.
IPython/lib/pretty.py:250
↓ 2 callersMethodcall
(self)
IPython/lib/backgroundjobs.py:464
↓ 2 callersMethodcheck_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 callersFunctioncheck_line_split
(splitter, test_specs)
IPython/core/tests/test_completer.py:89
↓ 2 callersMethodcleanup
(self)
IPython/core/interactiveshell.py:3787
↓ 2 callersMethodcleanup
Kill process if it's still alive, and clean up temporary directories
IPython/testing/iptestcontroller.py:104
↓ 2 callersMethodclear_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 callersMethodclear_output
Clear the output of the cell receiving output.
IPython/core/displaypub.py:118
↓ 2 callersFunctionclock2
clock2() -> (t_user,t_system) Similar to clock(), but return a tuple of user/system times.
IPython/utils/timing.py:54
↓ 2 callersMethodcommit
(self, *args, **kwargs)
IPython/core/history.py:42
↓ 2 callersMethodcommon_cases
(self)
IPython/utils/tests/test_path.py:367
↓ 2 callersFunctioncompress_user
Does the opposite of expand_user, with its outputs.
IPython/core/completer.py:284
↓ 2 callersMethodcontinuation_prompt_tokens
(self, width=None)
IPython/terminal/prompts.py:40
↓ 2 callersMethodcreate_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 callersFunctioncursor_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 callersMethoddebugger_cls
(self)
IPython/terminal/interactiveshell.py:126
↓ 2 callersMethoddefine_macro
Define a new macro Parameters ---------- name : str The name of the macro. themacro : str or Macro
IPython/core/interactiveshell.py:2430
↓ 2 callersMethoddeq
(self)
IPython/lib/pretty.py:485
↓ 2 callersMethoddict
(self)
IPython/utils/ipstruct.py:231
↓ 2 callersMethoddisable
DEPRECATED since IPython 5.0 Disable event loop integration with wxPython. This restores appnapp on OS X
IPython/lib/inputhook.py:385
↓ 2 callersMethoddisable_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 callersMethoddisplay
(self)
IPython/core/display.py:822
↓ 2 callersMethoddo_token_transforms
(self, lines)
IPython/core/inputtransformer2.py:576
↓ 2 callersMethoddrop_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 callersMethodenable_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 callersMethodenq
(self, group)
IPython/lib/pretty.py:479
↓ 2 callersMethodensure_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 callersFunctioneval_formatter_slicing_check
(f)
IPython/utils/tests/test_text.py:117
↓ 2 callersFunctionexpand_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 callersFunctionexpand_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 callersFunctionextract_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 callersMethodextract_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 callersFunctionf
My docstring
IPython/core/tests/test_oinspect.py:75
↓ 2 callersMethodfake_input
(self)
IPython/terminal/tests/test_interactivshell.py:79
↓ 2 callersMethodfields
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 callersMethodfilename_and_mtime
(self, module)
IPython/extensions/autoreload.py:183
↓ 2 callersFunctionfind_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 callersMethodfind_module
Return self if we should be used to import the module.
IPython/utils/shimmodule.py:31
↓ 2 callersFunctionfind_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 callersFunctionfind_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 callersMethodfload
Load file object.
IPython/lib/demo.py:288
↓ 2 callersMethodflush
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 callersMethodflush_transformers
(self)
IPython/core/inputsplitter.py:618
↓ 2 callersMethodfor_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 callersMethodformat2
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 callersMethodgeneric_visit
(self, node)
IPython/core/async_helpers.py:107
↓ 2 callersFunctionget_app_qt4
Create a new qt4 app or return an existing one.
IPython/lib/guisupport.py:112
↓ 2 callersFunctionget_app_wx
Create a new wx app or return an exiting one.
IPython/lib/guisupport.py:69
↓ 2 callersMethodget_buffer
(self)
IPython/testing/iptest.py:312
↓ 2 callersFunctionget_ipython_package_dir
()
IPython/utils/path.py:265
↓ 2 callersFunctionget_issues_list
get issues list
tools/gh_api.py:162
↓ 2 callersFunctionget_milestone_id
(project, milestone, auth=False, **params)
tools/gh_api.py:183
↓ 2 callersFunctionget_msg
Skip message with information about function being skipped.
IPython/external/decorators/_decorators.py:67
↓ 2 callersFunctionget_msg
Skip message with information about function being skipped.
IPython/testing/decorators.py:199
↓ 2 callersFunctionget_pager_cmd
Return a pager command. Makes some attempts at finding an OS-correct one.
IPython/core/page.py:283
↓ 2 callersFunctionget_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 callersMethodget_parts_of_chained_exception
(self, evalue)
IPython/core/ultratb.py:530
↓ 2 callersMethodget_pyos_inputhook
DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.c_void_p.
IPython/lib/inputhook.py:132
↓ 2 callersMethodget_pyos_inputhook_as_func
DEPRECATED since IPython 5.0 Return the current PyOS_InputHook as a ctypes.PYFUNCYPE.
IPython/lib/inputhook.py:140
↓ 2 callersMethodget_records
(self, etb, number_of_lines_of_context, tb_offset)
IPython/core/ultratb.py:1164
↓ 2 callersFunctionget_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 callersFunctionget_sys_info
Return useful information about IPython and the system, as a dict.
IPython/utils/sysinfo.py:95
↓ 2 callersFunctiongetdoc
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 callersMethodgetoutput
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 callersMethodgetoutput
Get output (possibly including stderr) from a subprocess. Parameters ---------- cmd : str Command to execute (can n
IPython/core/interactiveshell.py:2529
← previousnext →301–400 of 3,293, ranked by callers