MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

Functiondoctest_runvars
Test that variables defined in scripts get loaded correctly via %run. In [13]: run simplevars.py x is: 1 In [14]: x Out[14]: 1
IPython/testing/plugin/test_refs.py:23
Functiondoctest_simple
ipdoctest must handle simple inputs In [1]: 1 Out[1]: 1 In [2]: print(1) 1
IPython/testing/plugin/test_ipdoctest.py:10
Functiondoctest_tb_context
In [3]: xmode context Exception reporting mode: Context In [4]: run simpleerr.py -------------------------------------------------------------------
IPython/core/tests/test_iplib.py:58
Functiondoctest_tb_plain
In [18]: xmode plain Exception reporting mode: Plain In [19]: run simpleerr.py Traceback (most recent call last): ...line 32, in <module> bar(
IPython/core/tests/test_iplib.py:41
Functiondoctest_tb_sysexit
In [17]: %xmode plain Exception reporting mode: Plain In [18]: %run simpleerr.py exit An exception has occurred, use %tb to see the full traceback.
IPython/core/tests/test_iplib.py:126
Functiondoctest_tb_verbose
In [5]: xmode verbose Exception reporting mode: Verbose In [6]: run simpleerr.py -------------------------------------------------------------------
IPython/core/tests/test_iplib.py:90
Functiondoctest_who
doctest for %who In [1]: %reset -f In [2]: alpha = 123 In [3]: beta = 'beta' In [4]: %who int alpha I
IPython/core/tests/test_magic.py:575
Functiondone
(*a)
IPython/terminal/pt_inputhooks/tk.py:62
Methoddst
(self, d)
IPython/utils/tz.py:33
Methoddummy_handler
(self, etype, value, tb, tb_offset=None)
IPython/core/interactiveshell.py:1878
Functiondummy_magic
(line)
IPython/core/tests/test_prefilter.py:25
Methodedit
Bring up an editor and execute the resulting code. Usage: %edit [options] [args] %edit runs IPython's editor hook. The def
IPython/core/magics/code.py:521
Methodedit
Edit a block. If no number is given, use the last block executed. This edits the in-memory copy of the demo, it does NOT modify the
IPython/lib/demo.py:386
Functioneditor
Open the default editor at the given filename and linenumber. This is IPython's default editor hook, you can use it as an example to write yo
IPython/core/hooks.py:57
Functionemacs
(exe=u'emacs')
IPython/lib/editorhooks.py:115
Functionembed_kernel
Embed and start an IPython kernel in a given scope. If you don't want the kernel to initialize the namespace from the scope of the surrou
IPython/__init__.py:69
Methodembedded_active
(self)
IPython/terminal/embed.py:129
Methodenable
(self, app=None)
IPython/lib/inputhook.py:332
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with PyQt4. Parameters ---------- app : Qt Applic
IPython/lib/inputhook.py:400
Methodenable
(self, app=None)
IPython/lib/inputhook.py:451
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with PyGTK. Parameters ---------- app : ignored
IPython/lib/inputhook.py:460
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with Tk. Parameters ---------- app : toplevel :class:`Tki
IPython/lib/inputhook.py:491
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with GLUT. Parameters ---------- app : ignored
IPython/lib/inputhook.py:524
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with pyglet. Parameters ---------- app : ignored
IPython/lib/inputhook.py:598
Methodenable
DEPRECATED since IPython 5.0 Enable event loop integration with Gtk3 (gir bindings). Parameters ---------- app : ign
IPython/lib/inputhook.py:626
Methodenable_gui
(self, gui=None)
IPython/terminal/interactiveshell.py:585
Methodenable_gui
DEPRECATED since IPython 5.0 Switch amongst GUI input hooks by name. This is a higher level method than :meth:`set_inputhook` - it u
IPython/lib/inputhook.py:247
Methodenable_win_unicode_console
(self)
IPython/terminal/interactiveshell.py:482
Methodenv
Get, set, or list environment variables. Usage:\\ %env: lists all environment variables/values %env var: get value for v
IPython/core/magics/osm.py:434
Functioneqrepr
(value, repr=text_repr)
IPython/core/ultratb.py:1519
Methoderror_before_exec
(value)
IPython/core/interactiveshell.py:3028
Functionevent_with_argument
(argument)
IPython/core/tests/test_events.py:15
Methodevent_with_no_argument
()
IPython/core/tests/test_events.py:83
Functionevil
()
IPython/core/tests/bad_all.py:6
Methodexcepthook
this is sys.excepthook after init_crashhandler set self.verbose_crash=True to use our full crashhandler, instead of a regular
IPython/core/application.py:253
Functionexecfile
(fname, globs, locs=None)
tools/toollib.py:48
Functionexecfile
(fname, glob, loc=None, compiler=None)
IPython/utils/py3compat.py:164
Methodexit_raise
%exit_raise Make the current embedded kernel exit and raise and exception. This function sets an internal flag so that an embedded IPython wi
IPython/terminal/embed.py:97
Functionextract_vars
Extract a set of variables by name from another frame. Parameters ---------- *names : str One or more variable names which will b
IPython/utils/frame.py:23
Functionextract_vars_above
Extract a set of variables by name from another frame. Similar to extractVars(), but with a specified depth of 1, so that names are extracted
IPython/utils/frame.py:56
Functionextract_version
(mod)
IPython/testing/iptest.py:101
Methodf
(x)
IPython/core/tests/test_interactiveshell.py:652
Methodf
(x)
IPython/core/tests/test_interactiveshell.py:760
Methodf
(dirname, fnames, included_suffixes=None)
IPython/lib/display.py:512
Functionf_kwarg
(pos, *, kwonly)
IPython/core/tests/test_oinspect.py:230
Functionfail
(shell)
IPython/core/tests/test_magic.py:99
Methodfailing_hook
(*args, **kwargs)
IPython/core/tests/test_interactiveshell.py:322
Functionfake_formatter
(dirname,fnames,included_suffixes)
IPython/lib/tests/test_display.py:122
Functionfake_input
Temporarily replace the input() function to return the given values Use as a context manager: with fake_input(['result1', 'result2']):
IPython/testing/tools.py:431
Functionfake_popen
(*args, **kwargs)
IPython/lib/tests/test_editorhooks.py:12
Functionfigsize
Set the default figure size to be [sizex, sizey]. This is just an easy to remember, convenience wrapper that sets:: matplotlib.rcParams['f
IPython/core/pylabtools.py:86
Functionfile_doesnt_endwith
Return true if test is a file and its name does NOT end with any of the strings listed in endings.
setupbase.py:46
Methodfile_matches
Match filenames, expanding ~USER type strings. Most of the seemingly convoluted logic in this completer is an attempt to handle filen
IPython/core/completer.py:1160
Methodfilter
(self, record)
docs/source/conf.py:135
Methodfinalize
(self, result)
IPython/testing/iptest.py:373
Methodfinalize_options
(self)
setupbase.py:293
Methodfinalize_options
(self)
setupbase.py:338
Methodfinalize_options
(self)
setupext/install_data_ext.py:28
Methodfind
Find one instance of special syntax in the provided tokens. Tokens are grouped into logical lines for convenience, so it is easy to e
IPython/core/inputtransformer2.py:192
Methodfind
Find the first magic assignment (a = %foo) in the cell.
IPython/core/inputtransformer2.py:215
Methodfind
Find the first system assignment (a = !foo) in the cell.
IPython/core/inputtransformer2.py:247
Methodfind
Find the first escaped command (%foo, !foo, etc.) in the cell.
IPython/core/inputtransformer2.py:370
Methodfind_code_units
(self, morfs)
IPython/testing/iptestcontroller.py:406
Functionfind_gui_and_backend
Given a gui string return the gui and mpl backend. Parameters ---------- gui : str Can be one of ('tk','gtk','wx','qt','qt4','inl
IPython/core/pylabtools.py:263
Methodfind_module
(self, fullname, path=None)
IPython/external/qt_loaders.py:47
Functionfind_rejects
(root='.')
tools/backport_pr.py:48
Functionfindsource
Return the entire source file and starting line number for an object. The argument may be a module, class, method, function, traceback, frame,
IPython/core/ultratb.py:160
Functionfloat_doctest
Doctest which allow the submitted output to vary slightly from the input. Here is how it might appear in an rst file: .. code-block:: r
IPython/sphinxext/custom_doctests.py:85
Functionfoo
()
IPython/core/tests/test_oinspect.py:315
Functionfoo
(*args, **kwargs)
IPython/core/tests/test_interactiveshell.py:1030
Methodfoo
(self)
IPython/core/tests/test_interactiveshell.py:368
Functionfoo_printer
(obj, pp, cycle)
IPython/core/tests/test_formatters.py:45
Methodfoobar
This is `foobar` property.
IPython/core/tests/test_oinspect.py:298
Functionfor_type
Add a pretty printer for a given type.
IPython/lib/pretty.py:791
Functionforce_exit
Force exit (with a non-zero return value)
IPython/terminal/shortcuts.py:199
MethodformatFailure
(self, test, err)
IPython/testing/iptest.py:358
Functionformat_display_data
Return a format data dict for an object. By default all format types will be computed. Parameters ---------- obj : object Th
IPython/core/formatters.py:991
Methodformat_types
Return the format types (MIME types) of the active formatters.
IPython/core/formatters.py:196
Methodfp_cleaner
(fp)
IPython/lib/display.py:558
Functionfreeze_term_title
()
IPython/utils/terminal.py:122
Functionfull_path
Make full paths for all the listed files, based on startPath. Only the base part of startPath is kept, since this routine is typically used w
IPython/testing/tools.py:47
Methodfunc1
(*_)
IPython/core/tests/test_events.py:62
Methodfunc2
(*_)
IPython/core/tests/test_events.py:67
Methodfunc3
(*_)
IPython/core/tests/test_events.py:71
Methodfwd_unicode_match
(self, text:str)
IPython/core/completer.py:2071
Methodgen_comp
(self, text)
IPython/terminal/debugger.py:56
Methodget_cells
generator for sequence of code blocks to run
IPython/core/interactiveshell.py:2794
Methodget_chained_exception
(exception_value)
IPython/core/ultratb.py:531
Methodget_completions
(self, document, complete_event)
IPython/terminal/ptutils.py:99
Functionget_default_colors
DEPRECATED
IPython/core/interactiveshell.py:258
Methodget_field
(self, name, args, kwargs)
IPython/utils/text.py:508
Methodget_foo
(self)
IPython/lib/pretty.py:870
Methodget_handler_by_esc
Get a handler by its escape string.
IPython/core/prefilter.py:238
Functionget_ipdir
Get IPython directory from command line, or assume it's the one above.
tools/toollib.py:35
Methodget_ipython
Return the currently running IPython instance.
IPython/core/interactiveshell.py:705
Functionget_ipython_cache_dir
()
IPython/utils/path.py:259
Functionget_ipython_dir
()
IPython/utils/path.py:253
Functionget_ipython_module_path
(module_str)
IPython/utils/path.py:271
Methodget_keys
(obj)
IPython/core/completer.py:1568
Methodget_last_session_id
Get the last session ID currently in the database. Within IPython, this should be the same as the value stored in :attr:`Hist
IPython/core/history.py:334
← previousnext →1,801–1,900 of 3,293, ranked by callers