MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

Methodpycat
Show a syntax-highlighted file through a pager. This magic is similar to the cat utility, but it will assume the file to be Python so
IPython/core/magics/osm.py:799
Functionpyfunc
Some pure python tests... >>> pyfunc() 'pyfunc' >>> import os >>> 2+3 5 >>> for i in range(3): ... print(i, end='
IPython/testing/plugin/simple.py:7
Functionpyfunc
Some pure python tests... >>> pyfunc() 'pyfunc' >>> import os >>> 2+3 5 >>> for i in range(3): ... print(i, end='
IPython/testing/plugin/dtexample.py:7
Methodpylab
Load numpy and matplotlib to work interactively. This function lets you activate pylab (matplotlib, numpy and interactive support) at
IPython/core/magics/pylab.py:114
Methodpython_func_kw_matches
Match named parameters (kwargs) of the last open function
IPython/core/completer.py:1490
Methodpython_matches
Match attributes or global python names
IPython/core/completer.py:1408
Functionquick_completer
r""" Easily create a trivial completer for a command. Takes either a list of completions, or all completions in string (that will be split on
IPython/core/completerlib.py:187
Methodquickref
Show a quick reference sheet
IPython/core/magics/basic.py:394
Functionraising_input
(msg="", called=[0])
IPython/core/tests/test_debugger.py:247
Functionrandom_all
A function where we ignore the output of ALL examples. Examples: # all-random This mark tells the testing machinery that all subseq
IPython/testing/plugin/dtexample.py:105
Functionranfunc
A function with some random output. Normal examples are verified as usual: >>> 1+3 4 But if you put '# random' in the ou
IPython/testing/plugin/dtexample.py:75
Functionraw_in
(prompt)
IPython/core/tests/test_inputsplitter.py:61
Functionraw_print
DEPRECATED: Raw print to sys.__stdout__, otherwise identical interface to print().
IPython/utils/io.py:221
Functionraw_print_err
DEPRECATED: Raw print to sys.__stderr__, otherwise identical interface to print().
IPython/utils/io.py:230
Methodraw_reset
Return raw input only and perform a full reset.
IPython/core/inputsplitter.py:649
Methodread_payload
(self)
IPython/core/payload.py:51
Functionread_py_url
Read a Python file from a URL, using the encoding declared inside the file. Parameters ---------- url : str The URL from which
IPython/utils/openpy.py:81
Methodreadline
(self)
IPython/core/tests/test_debugger.py:40
Methodrecall
r"""Repeat a command, or get command to input line for editing. %recall and %rep are equivalent. - %recall (no arguments):
IPython/core/magics/history.py:222
Functionrectify_completions
Rectify a set of completions to all have the same ``start`` and ``end`` .. warning:: Unstable This function is unstable, API may ch
IPython/core/completer.py:453
Functionrecursionlimit
decorator to set the recursion limit temporarily
IPython/core/tests/test_ultratb.py:34
Functionreformat_and_execute
(event)
IPython/terminal/shortcuts.py:47
Functionregister
Register the function *inputhook* as an event loop integration.
IPython/terminal/pt_inputhooks/__init__.py:21
Methodregister
Register one or more instances of Magics. Take one or more classes or instances of classes that subclass the main `core.Magic` class
IPython/core/magic.py:377
Methodregister
DEPRECATED since IPython 5.0 Register a class to provide the event loop for a given GUI. This is intended to be used as a cl
IPython/lib/inputhook.py:212
Methodregister_post_execute
DEPRECATED: Use ip.events.register('post_run_cell', func) Register a function for calling after code execution.
IPython/core/interactiveshell.py:1067
Methodrehashx
Update the alias table with all executable files in $PATH. rehashx explicitly checks that every entry in $PATH is a file with execute
IPython/core/magics/osm.py:203
Methodreload
Reload the raw data from file or URL.
IPython/core/display.py:1253
Methodreload
(self)
IPython/core/display.py:1450
Methodreload
Reload the raw data from file or URL.
IPython/lib/display.py:117
Methodreload
Reload source from disk and initialize state.
IPython/lib/demo.py:574
Methodreload_ext
Reload an IPython extension by its module name.
IPython/core/magics/extension.py:59
Methodremove
Remove a finished (completed or dead) job.
IPython/lib/backgroundjobs.py:295
Methodremove_builtin
Remove an added builtin and re-set the original.
IPython/core/builtin_trap.py:65
Functionremove_comments
Remove all comments from input source. Note: comments are NOT recognized inside of strings! Parameters ---------- src : string
IPython/core/inputsplitter.py:246
Methodrequires
(self, *packages)
IPython/testing/iptest.py:163
Methodrerun
Re-run previous input By default, you can specify ranges of input history to be repeated (as with %history). With no arguments, it wi
IPython/core/magics/history.py:280
Methodreset
No-op - exists for compatibility.
IPython/core/inputtransformer.py:90
Methodreset
Return, transformed any lines that the transformer has accumulated, and reset its internal state.
IPython/core/inputtransformer.py:111
Methodreset
Resets the namespace by removing all names defined by the user, if called without arguments, or by removing some types of objects, such
IPython/core/magics/namespace.py:479
Functionreset_buffer
(event)
IPython/terminal/shortcuts.py:182
Functionreset_completer
A completer for %reset magic
IPython/core/completerlib.py:352
Functionreset_search_buffer
(event)
IPython/terminal/shortcuts.py:190
Methodreset_selective
Clear selective variables from internal namespaces based on a specified regular expression. Parameters ---------- reg
IPython/core/interactiveshell.py:1511
Methodreset_selective
Resets the namespace by removing names defined by the user. Input/Output history are left around in case you need them. %reset_selec
IPython/core/magics/namespace.py:605
Functionresize
(width,height)
examples/IPython Kernel/gui/gui-glut.py:25
Methodresult
result(N) -> return the result of job N.
IPython/lib/backgroundjobs.py:332
Methodrewrite_prompt_tokens
(self)
IPython/terminal/prompts.py:71
Methodrl_hist_entries
Get last n readline history entries as a list
IPython/terminal/tests/test_interactivshell.py:114
Methodrun
(self)
setupbase.py:148
Methodrun
(self)
setupbase.py:257
Methodrun
(self)
setupbase.py:298
Methodrun
(self)
setupbase.py:319
Methodrun
(self)
setupbase.py:362
Methodrun
(self)
IPython/lib/backgroundjobs.py:428
Methodrun
(self)
IPython/sphinxext/ipython_directive.py:979
Methodrun
This is where the meat is. Basically the data_files list must now be a list of tuples of 3 entries. The first entry is one
setupext/install_data_ext.py:45
MethodrunTest
(self)
IPython/testing/plugin/ipdoctest.py:239
Methodrun_cell
Execute a string with one or more lines of code
IPython/lib/demo.py:555
Functionrunf
Marker function: sets a flag when executed.
IPython/core/tests/test_magic_terminal.py:52
Methodrunning
(self)
IPython/lib/backgroundjobs.py:92
Functionsafe_unicode
unicode(e) with various fallbacks. Used for exceptions, which may not be safe to call unicode() on.
IPython/utils/py3compat.py:62
Methodsc
Shell capture - run shell command and capture output (DEPRECATED use !). DEPRECATED. Suboptimal, retained for backwards compatibility.
IPython/core/magics/osm.py:567
Functionscite
SciTE or Sc1
IPython/lib/editorhooks.py:72
Functionscript_args
single decorator for adding script args
IPython/core/magics/script.py:27
Methodsearch
(self, pattern="*", raw=True, search_raw=True, output=False, n=None, unique=False)
IPython/core/history.py:127
MethodsetUp
(self)
IPython/utils/tests/test_path.py:421
MethodsetUp
Make a valid python temp file.
IPython/utils/tests/test_process.py:99
MethodsetUp
(self)
IPython/core/tests/test_magic_terminal.py:87
MethodsetUp
We want to silence all PendingDeprecationWarning when testing the completer
IPython/core/tests/test_completer.py:150
MethodsetUp
(self)
IPython/core/tests/test_completer.py:269
MethodsetUp
(self)
IPython/core/tests/test_profile.py:85
MethodsetUp
(self)
IPython/core/tests/test_completerlib.py:35
MethodsetUp
(self)
IPython/core/tests/test_completerlib.py:91
MethodsetUp
(self)
IPython/core/tests/test_events.py:20
MethodsetUp
(self)
IPython/core/tests/test_ultratb.py:353
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:511
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:533
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:591
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:634
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:736
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:819
MethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:924
MethodsetUp
Make a valid python temp file.
IPython/core/tests/test_interactiveshell.py:977
MethodsetUp
(self)
IPython/core/tests/test_inputsplitter.py:108
MethodsetUp
(self)
IPython/core/tests/test_inputsplitter.py:125
MethodsetUp
(self)
IPython/core/tests/test_inputsplitter.py:395
MethodsetUp
(self)
IPython/core/tests/test_run.py:168
MethodsetUp
(self)
IPython/core/tests/test_run.py:443
MethodsetUp
(self)
IPython/lib/tests/test_lexers.py:15
MethodsetUp
(self)
IPython/extensions/tests/test_autoreload.py:73
MethodsetUp
Create temporary directories etc. This is only called when we know the test group will be run. Things created here may be cle
IPython/testing/iptestcontroller.py:52
MethodsetUp
Modified test setup that syncs with ipython namespace
IPython/testing/plugin/ipdoctest.py:270
MethodsetUpClass
(cls)
IPython/utils/tests/test_path.py:335
Functionset_fp
(p)
IPython/core/tests/test_formatters.py:96
Functionset_matplotlib_close
Set whether the inline backend closes all figures automatically or not. By default, the inline backend used in the IPython Notebook will close al
IPython/core/display.py:1504
Functionset_matplotlib_formats
Select figure formats for the inline backend. Optionally pass quality for JPEG. For example, this enables PNG and JPEG output with a JPEG quality
IPython/core/display.py:1473
Methodset_package_name
Set package_name >>> docwriter = ApiDocWriter('sphinx') >>> import sphinx >>> docwriter.root_path == sphinx.__path__[0]
docs/sphinxext/apigen.py:137
Functionset_trace
Start debugging from `frame`. If frame is not specified, debugging starts from caller's frame.
IPython/terminal/debugger.py:143
Functionset_trace
Start debugging from `frame`. If frame is not specified, debugging starts from caller's frame.
IPython/core/debugger.py:807
← previousnext →2,201–2,300 of 3,293, ranked by callers