MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

Methodcolor_depth
(self)
IPython/terminal/interactiveshell.py:408
Methodcolor_switch_err
(name)
IPython/core/magics/basic.py:326
Methodcolor_toggle
Toggle between the currently active color scheme and NoColor.
IPython/core/ultratb.py:565
Methodcolors
Switch color scheme for prompts, info system and exception handlers. Currently implemented schemes: NoColor, Linux, LightBG. Color s
IPython/core/magics/basic.py:313
Functioncolumnize
Transform a list of strings into a single string with columns. Parameters ---------- items : sequence of strings The strings to
IPython/utils/text.py:710
Methodcommand
()
IPython/utils/tests/test_process.py:151
Methodcompare
(code)
IPython/core/interactiveshell.py:3314
Methodcompiler_flags
Flags currently active in the compilation process.
IPython/core/compilerop.py:110
Methodcomplete
Return the completed text and a list of completions. Parameters ---------- text : string A string of text to
IPython/core/interactiveshell.py:2169
Methodcomplete_A
(a, existing_completions)
IPython/core/tests/test_completer.py:173
Methodcomplete_example
(a)
IPython/core/tests/test_completer.py:185
Functioncomplete_object
Custom completer dispatching for python objects. Parameters ---------- obj : object The object to complete. prev_completions
IPython/utils/generics.py:16
Methodcompleted
(self)
IPython/lib/backgroundjobs.py:102
Methodconda
Run the conda package manager within the current kernel. Usage: %conda install [pkgs]
IPython/core/magics/packaging.py:72
Methodconfig
configure IPython %config Class[.trait=value] This magic exposes most of the IPython config system. Any Configurable cla
IPython/core/magics/config.py:36
Methodconfigure
(self, options, conf)
IPython/external/decorators/_numpy_testing_noseclasses.py:33
Methodconfigure
(self, options, config)
IPython/testing/iptest.py:348
Methodconfigure
(self, options, config)
IPython/testing/plugin/ipdoctest.py:624
Functionconfigure_inline_support
Configure an IPython shell object for matplotlib use. Parameters ---------- shell : InteractiveShell instance backend : matplotlib b
IPython/core/pylabtools.py:363
Methodcontext
(self)
IPython/core/ultratb.py:1377
Methodcontinuation_prompt_tokens
(self, width=None)
IPython/terminal/prompts.py:66
Methodcopy
Return a full copy of the object, optionally renaming it.
IPython/utils/coloransi.py:120
Methodcopy
Return full copy of object
IPython/utils/coloransi.py:154
Methodcount_cleanup
(lines)
IPython/core/tests/test_interactiveshell.py:698
Methodcount_line_t
(lines)
IPython/core/tests/test_interactiveshell.py:703
Functioncounter
(lines)
IPython/core/tests/test_inputtransformer2.py:310
Methodcpaste
Paste & execute a pre-formatted code block from clipboard. You must terminate the block with '--' (two minus-signs) or Ctrl-D alone o
IPython/terminal/magics.py:87
Functioncrash_handler_lite
a light excepthook, adding a small message to the usual traceback
IPython/core/crashhandler.py:216
Functioncrasher
(interval=t_short, *a, **kw)
IPython/lib/tests/test_backgroundjobs.py:39
Methodcreate_pipe
Creates a Windows pipe, which consists of two handles. The 'uninherit' parameter controls which handle is not inherit
IPython/utils/_process_win32_controller.py:245
Functioncrimson_editor
(exe=u'cedt.exe')
IPython/lib/editorhooks.py:123
Methodcurrent_gui
DEPRECATED since IPython 5.0 Return a string indicating the currently active GUI or None.
IPython/lib/inputhook.py:239
Functioncursor_in_leading_ws
()
IPython/terminal/shortcuts.py:26
Methoddata
(self)
IPython/core/display.py:767
Methoddata
(self)
IPython/core/display.py:894
Methoddead
(self)
IPython/lib/backgroundjobs.py:97
Functiondebugx
Print the value of an expression from the caller's frame. Takes an expression, evaluates it in the caller's frame and prints both the given e
IPython/utils/frame.py:70
Functiondecistmt
Substitute Decimals for floats in a string of statements. Based on an example from the tokenize module docs.
IPython/core/tests/test_inputtransformer.py:457
Functiondecor
(f)
IPython/testing/decorators.py:144
Methoddecorator
(cls)
IPython/lib/inputhook.py:230
Functiondeep_import_hook
Replacement for __import__()
IPython/lib/deepreload.py:242
Functiondefault_config
Return a config object with good defaults for testing.
IPython/testing/tools.py:138
Methoddefault_option
Make an entry in the options_table for fn, with value optstr
IPython/core/magic.py:656
Functiondelete_event
(widget, event, data=None)
examples/IPython Kernel/gui/gui-gtk3.py:17
Functiondelete_event
(widget, event, data=None)
examples/IPython Kernel/gui/gui-gtk.py:19
Methoddelims
Return the string of delimiter characters.
IPython/core/completer.py:547
Functiondestroy
(widget, data=None)
examples/IPython Kernel/gui/gui-gtk3.py:20
Functiondestroy
(widget, data=None)
examples/IPython Kernel/gui/gui-gtk.py:22
Methoddhist
Print your history of visited directories. %dhist -> print full history\\ %dhist n -> print last n entries only\\ %
IPython/core/magics/osm.py:528
Methoddict_key_matches
Match string keys in a dictionary, after e.g. 'foo['
IPython/core/completer.py:1566
Methoddirs
Return the current directory stack.
IPython/core/magics/osm.py:522
Methoddisable
(self)
IPython/lib/inputhook.py:322
Methoddisable
DEPRECATED since IPython 5.0 Disable event loop integration with glut. This sets PyOS_InputHook to NULL and set the display
IPython/lib/inputhook.py:578
Methoddisable_qt4
DEPRECATED since IPython 5.0 Disable event loop integration with PyQt4. This restores appnapp on OS X
IPython/lib/inputhook.py:435
Functiondismiss_completion
(event)
IPython/terminal/shortcuts.py:176
Functiondisplay
()
examples/IPython Kernel/gui/gui-glut.py:21
Functiondisplay_html
Display the HTML representation of an object. Note: If raw=False and the object does not have a HTML representation, no HTML will be shown.
IPython/core/display.py:413
Functiondisplay_javascript
Display the Javascript representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display,
IPython/core/display.py:538
Functiondisplay_jpeg
Display the JPEG representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if
IPython/core/display.py:485
Functiondisplay_json
Display the JSON representation of an object. Note that not many frontends support displaying JSON. Parameters ---------- objs : tup
IPython/core/display.py:519
Functiondisplay_latex
Display the LaTeX representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if
IPython/core/display.py:502
Functiondisplay_markdown
Displays the Markdown representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, o
IPython/core/display.py:433
Functiondisplay_page
Just display, no paging. screen_lines is ignored.
IPython/core/page.py:35
Functiondisplay_pdf
Display the PDF representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if r
IPython/core/display.py:555
Functiondisplay_png
Display the PNG representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if r
IPython/core/display.py:468
Functiondisplay_pretty
Display the pretty (default) representation of an object. Parameters ---------- objs : tuple of objects The Python objects to dis
IPython/core/display.py:396
Functiondisplay_svg
Display the SVG representation of an object. Parameters ---------- objs : tuple of objects The Python objects to display, or if r
IPython/core/display.py:451
Functiondo_complete
(self, event)
IPython/core/completerlib.py:205
Methoddo_debug
debug code Enter a recursive debugger that steps through the code argument (which is an arbitrary expression or statement to be
IPython/core/debugger.py:587
Methoddo_down
d(own) [count] Move the current frame count (default one) levels down in the stack trace (to a newer frame). Will skip hidden
IPython/core/debugger.py:732
Methoddo_list
Print lines of code from the current stack frame
IPython/core/debugger.py:527
Methoddo_longlist
Print lines of code from the current stack frame. Shows more lines than 'list' does.
IPython/core/debugger.py:572
Methoddo_pdef
Print the call signature for any callable object. The debugger interface to %pdef
IPython/core/debugger.py:606
Methoddo_pdoc
Print the docstring for an object. The debugger interface to %pdoc.
IPython/core/debugger.py:614
Methoddo_pfile
Print (or run through pager) the file where an object is defined. The debugger interface to %pfile.
IPython/core/debugger.py:622
Methoddo_pinfo
Provide detailed information about an object. The debugger interface to %pinfo, i.e., obj?.
IPython/core/debugger.py:631
Methoddo_pinfo2
Provide extra detailed information about an object. The debugger interface to %pinfo2, i.e., obj??.
IPython/core/debugger.py:639
Methoddo_psource
Print (or run through pager) the source code for an object.
IPython/core/debugger.py:647
Methoddo_skip_hidden
Change whether or not we should skip frames with the __tracebackhide__ attribute.
IPython/core/debugger.py:517
Methoddo_up
u(p) [count] Move the current frame count (default one) levels up in the stack trace (to an older frame). Will skip hidden fr
IPython/core/debugger.py:686
Methoddo_where
w(here) Print a stack trace, with the most recent frame at the bottom. An arrow indicates the "current frame", which determines the
IPython/core/debugger.py:653
Functiondoctest_autocall
In [1]: def f1(a,b,c): ...: return a+b+c ...: In [2]: def f2(a): ...: return a + a ...: In [3]: def
IPython/core/tests/test_autocall.py:11
Functiondoctest_bad
A function whose doctest we need to skip. >>> 1+1 3
IPython/testing/tests/test_decorators.py:62
Functiondoctest_hist_f
Test %hist -f with temporary filename. In [9]: import tempfile In [10]: tfile = tempfile.mktemp('.py','tmp-ipython-') In [11]: %hist -n
IPython/core/tests/test_magic.py:179
Functiondoctest_hist_op
Test %hist -op In [1]: class b(float): ...: pass ...: In [2]: class s(object): ...: def __str__(self):
IPython/core/tests/test_magic.py:212
Functiondoctest_hist_r
Test %hist -r XXX - This test is not recording the output correctly. For some reason, in testing mode the raw history isn't getting populate
IPython/core/tests/test_magic.py:193
Functiondoctest_ivars
Test that variables defined interactively are picked up. In [5]: zz=1 In [6]: zz Out[6]: 1
IPython/testing/plugin/test_refs.py:33
Methoddoctest_mode
Toggle doctest mode on and off. This mode is intended to make IPython behave as much as possible like a plain Python shell, from the
IPython/core/magics/basic.py:401
Functiondoctest_multiline1
The ipdoctest machinery must handle multiline examples gracefully. In [2]: for i in range(4): ...: print(i) ...: 0
IPython/testing/plugin/test_ipdoctest.py:20
Functiondoctest_multiline2
Multiline examples that define functions and print output. In [7]: def f(x): ...: return x+1 ...: In [8]: f(1) Out[8]
IPython/testing/plugin/test_ipdoctest.py:32
Functiondoctest_multiline3
Multiline examples with blank lines. In [12]: def h(x): ....: if x>1: ....: return x**2 ....: # To leave a b
IPython/testing/plugin/test_ipdoctest.py:54
Functiondoctest_precision
doctest for %precision In [1]: f = get_ipython().display_formatter.formatters['text/plain'] In [2]: %precision 5 Out[2]: '%.5f'
IPython/core/tests/test_magic.py:608
Functiondoctest_refbug
Very nasty problem with references held by multiple runs of a script. See: https://github.com/ipython/ipython/issues/141 In [1]: _ip.clear_ma
IPython/core/tests/test_run.py:38
Functiondoctest_refs
DocTest reference holding issues when running scripts. In [32]: run show_refs.py c referrers: [<... 'dict'>]
IPython/testing/plugin/test_refs.py:41
Functiondoctest_reset_del
Test that resetting doesn't cause errors in __del__ methods. In [2]: class A(object): ...: def __del__(self): ...: prin
IPython/core/tests/test_run.py:146
Functiondoctest_run
Test running a trivial script. In [13]: run simplevars.py x is: 1
IPython/testing/plugin/test_refs.py:16
Functiondoctest_run_builtins
r"""Check that %run doesn't damage __builtins__. In [1]: import tempfile In [2]: bid1 = id(__builtins__) In [3]: fname = tempfile.mkste
IPython/core/tests/test_run.py:58
Functiondoctest_run_option_parser
r"""Test option parser in %run. In [1]: %run print_argv.py [] In [2]: %run print_argv.py print*.py ['print_argv.py'] In [3]: %r
IPython/core/tests/test_run.py:97
Functiondoctest_run_option_parser_for_posix
r"""Test option parser in %run (Linux/OSX specific). You need double quote to escape glob in POSIX systems: In [1]: %run print_argv.py print
IPython/core/tests/test_run.py:113
Functiondoctest_run_option_parser_for_windows
r"""Test option parser in %run (Windows specific). In Windows, you can't escape ``*` `by backslash: In [1]: %run print_argv.py print\\*.py
IPython/core/tests/test_run.py:130
← previousnext →1,701–1,800 of 3,293, ranked by callers