MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

Methodname_session
Give the current session a name in the history database.
IPython/core/history.py:581
Methodnamed_script_magic
(line, cell)
IPython/core/magics/script.py:136
Functionneeds_local_scope
Decorator to mark magic functions which need to local scope to run.
IPython/core/magic.py:77
Functionneeds_sqlite
Decorator: return an empty list in the absence of sqlite.
IPython/core/history.py:53
Methodnest_case
(context, case)
IPython/core/tests/test_async_helpers.py:184
Methodnew_do_frame
(self, arg)
IPython/core/debugger.py:316
Methodnew_do_quit
(self, arg)
IPython/core/debugger.py:319
Methodnew_do_restart
Restart command. In the context of ipython this is exactly the same thing as 'quit'.
IPython/core/debugger.py:328
Functionnewline_autoindent
insert a newline after the cursor indented appropriately.
IPython/terminal/shortcuts.py:241
Functionnewline_or_execute
When the user presses return, insert a newline or execute the code.
IPython/terminal/shortcuts.py:109
Functionnewline_with_copy_margin
DEPRECATED since IPython 6.0 See :any:`newline_autoindent_outer` for a replacement. Preserve margin and cursor position when using
IPython/terminal/shortcuts.py:209
Functionnext_history_or_next_completion
Control-N in vi edit mode on readline is history previous, unlike default prompt toolkit. If completer is open this still select next comple
IPython/terminal/shortcuts.py:167
Functionno_code
(x, encoding=None)
IPython/utils/py3compat.py:188
Functionno_op
(*a, **kw)
IPython/core/interactiveshell.py:251
Functionno_var_expand
Mark a magic function as not needing variable expansion By default, IPython interprets `{a}` or `$a` in the line passed to magics as variable
IPython/core/magic.py:271
Functionnoop1
(f)
IPython/core/tests/test_oinspect.py:69
Functionnoop2
(f, *a, **kw)
IPython/core/tests/test_oinspect.py:85
Functionnopage
(strng, start=0, screen_lines=0, pager_cmd=None)
IPython/conftest.py:36
Functionnopage
(strng, start=0, screen_lines=0, pager_cmd=None)
IPython/testing/globalipapp.py:129
Methodnormaldt_method
>>> print(1+1) 2
IPython/testing/tests/test_ipunittest.py:127
Methodnotebook
Export and convert IPython notebooks. This function can export the current IPython history to a notebook file. For example, to export
IPython/core/magics/basic.py:570
Functionnotepadplusplus
Notepad++ http://notepad-plus.sourceforge.net
IPython/lib/editorhooks.py:77
Functionnull_cleanup_transformer
A cleanup transform that returns an empty list.
IPython/core/tests/test_inputtransformer2.py:138
Functionnullrepr
(value, repr=text_repr)
IPython/core/ultratb.py:1523
Functionnum_cpus
Return the effective number of CPUs in the system as an integer. This cross-platform function makes an attempt at finding the total number of a
IPython/utils/sysinfo.py:137
Functionnum_ini_spaces
Return the number of initial spaces in a string
IPython/utils/text.py:339
Functionnum_ini_spaces
Return the number of initial spaces in a string. Note that tabs are counted as a single space. For now, we do *not* support mixing of tabs a
IPython/core/inputsplitter.py:77
Functionon_close
()
examples/IPython Kernel/gui/gui-pyglet.py:21
Functionon_draw
()
examples/IPython Kernel/gui/gui-pyglet.py:25
Functiononlyif_any_cmd_exists
Decorator to skip test unless at least one of `commands` is found.
IPython/testing/decorators.py:373
Functiononlyif_cmds_exist
Decorator to skip test when at least one of `commands` is not found.
IPython/testing/decorators.py:363
Functionopen_input_in_editor
(event)
IPython/terminal/shortcuts.py:255
Methodoptions
(self, parser, env=os.environ)
IPython/external/decorators/_numpy_testing_noseclasses.py:26
Methodoptions
(self, parser, env=os.environ)
IPython/testing/iptest.py:258
Methodoptions
(self, parser, env=os.environ)
IPython/testing/plugin/ipdoctest.py:603
Functionosx_clipboard_get
Get the clipboard's text on OS X.
IPython/lib/clipboard.py:35
Methodout_prompt_tokens
(self)
IPython/terminal/prompts.py:74
Methodout_prompt_tokens
(self)
examples/Embedding/embed_class_long.py:32
Methodoutput
(self, tokens)
IPython/core/inputtransformer.py:171
Methodoutput
(self, stream, output_width)
IPython/lib/pretty.py:422
Methodoutput
(self, stream, output_width)
IPython/lib/pretty.py:452
Methodoutputs
A list of the captured rich display outputs, if any. If you have a CapturedIO object ``c``, these can be displayed in IPython using::
IPython/utils/capture.py:100
Functionpage
Print a string, piping through a pager. This version ignores the screen_lines and pager_cmd arguments and uses IPython's payload system inste
IPython/core/payloadpage.py:11
Functionpage_file
Page a file, using an optional pager command and starting line.
IPython/core/page.py:263
Methodparse
Divide the given string into examples and intervening text, and return them as a list of alternating Examples and strings. Li
IPython/testing/plugin/ipdoctest.py:392
Functionparse_cell_magic
(env, sig, signode)
docs/sphinxext/magics.py:26
Methodparse_command_line
override to allow old '-pylab' flag with deprecation warning
IPython/terminal/ipapp.py:289
Methodparse_command_line
(self, argv)
IPython/core/profileapp.py:236
Functionparse_magic
(env, sig, signode)
docs/sphinxext/magics.py:8
Functionparse_test_output
Parse the output of a test run and return errors, failures. Parameters ---------- txt : str Text output of a test run, assumed to c
IPython/testing/tools.py:83
Methodpaste
Paste & execute a pre-formatted code block from clipboard. The text is pulled directly from the clipboard without user intervention a
IPython/terminal/magics.py:141
Methodpastebin
Upload code to dpaste's paste bin, returning the URL. Usage:\\ %pastebin [-d "Custom description"] 1-7 The argument can be
IPython/core/magics/code.py:246
Methodpdb
Control the automatic calling of the pdb interactive debugger. Call as '%pdb on', '%pdb 1', '%pdb off' or '%pdb 0'. If called without
IPython/core/magics/execution.py:392
Methodpdef
Print the call signature for any callable object. If the object is a class, print the constructor information.
IPython/core/oinspect.py:396
Methodpdoc
Print the docstring for any object. Optional: -formatter: a function to run the docstring through for specially formatted doc
IPython/core/oinspect.py:419
Methodpdoc
Print the docstring for an object. If the given object is a class, it will print both the class and the constructor docstrings.
IPython/core/magics/namespace.py:86
Methodpfile
Show the whole file where an object was defined.
IPython/core/oinspect.py:492
Methodpfile
Print (or run through pager) the file where an object is defined. The file opens at the line where the object definition begins. IPython
IPython/core/magics/namespace.py:101
Methodpinfo
Show detailed information about an object. Optional arguments: - oname: name of the variable pointing to the object. - form
IPython/core/oinspect.py:658
Methodpinfo
Provide detailed information about an object. '%pinfo object' is just a synonym for object? or ?object.
IPython/core/magics/namespace.py:41
Methodpinfo2
Provide extra detailed information about an object. '%pinfo2 object' is just a synonym for object?? or ??object.
IPython/core/magics/namespace.py:62
Functionping_received
()
IPython/core/tests/test_events.py:10
Methodpip
Run the pip package manager within the current kernel. Usage: %pip install [pkgs]
IPython/core/magics/packaging.py:62
Methodplain
(self)
IPython/core/ultratb.py:1374
Functionpoll
(ev)
IPython/terminal/pt_inputhooks/wx.py:182
Methodpopd
Change to directory popped off the top of the stack.
IPython/core/magics/osm.py:512
Functionpost_download
Upload a file to the GitHub downloads area
tools/gh_api.py:274
Functionpost_execute
Fires after code is executed in response to user/frontend action. This includes comm and widget messages and silent execution, as well as use
IPython/core/events.py:129
Functionpost_gist
Post some text to a Gist, and return the URL.
tools/gh_api.py:89
Functionpost_issue_comment
(project, num, body)
tools/gh_api.py:84
Functionpost_run_cell
Fires after user-entered code runs. Parameters ---------- result : :class:`~IPython.core.interactiveshell.ExecutionResult` The obje
IPython/core/events.py:138
Methodpre_cmd
Method called before executing each block. This one simply clears the screen.
IPython/lib/demo.py:619
Functionpre_execute
Fires before code is executed in response to user/frontend action. This includes comm and widget messages and silent execution, as well as us
IPython/core/events.py:109
Functionpre_prompt_hook
Run before displaying the next prompt Use this e.g. to display output from asynchronous operations (in order to not mess up text entry)
IPython/core/hooks.py:158
Functionpre_run_cell
Fires before user-entered code runs. Parameters ---------- info : :class:`~IPython.core.interactiveshell.ExecutionInfo` An object c
IPython/core/events.py:118
Methodpre_run_cell
(self)
IPython/extensions/autoreload.py:526
Functionpre_run_code_hook
Executed before running the (prefiltered) code in IPython
IPython/core/hooks.py:168
Methodprecision
Set floating point precision for pretty printing. Can set either integer precision or a format string. If numpy has been imported an
IPython/core/magics/basic.py:516
Functionpreprompthook_qt4
pre_prompt_hook' used to restore the Qt4 input hook (in case the latter was temporarily deactivated after a CTRL+C)
IPython/lib/inputhookqt4.py:161
Functionprevious_history_or_previous_completion
Control-P in vi edit mode on readline is history next, unlike default prompt toolkit. If completer is open this still select previous comple
IPython/terminal/shortcuts.py:158
Methodprocess_link
(self, env, refnode, has_explicit_title, title, target)
docs/sphinxext/magics.py:20
Methodprofile
(self)
IPython/core/interactiveshell.py:608
Methodprofile_missing_notice
(self, *args, **kwargs)
IPython/core/magics/execution.py:189
Methodprogress
(self)
IPython/core/display.py:829
Methodprompt_count
(self)
IPython/core/displayhook.py:62
Methodprun
Run a statement through the python code profiler. Usage, in line mode: %prun [options] statement Usage, in cell mode:
IPython/core/magics/execution.py:198
Methodpsearch
Search namespaces with wildcards for objects. Arguments: - pattern: string containing shell-like wildcards to use in namespace
IPython/core/oinspect.py:924
Methodpsource
Print the source code for an object.
IPython/core/oinspect.py:477
Methodpsource
Print (or run through pager) the source code for an object.
IPython/core/magics/namespace.py:94
Methodpt_complete_style
(self)
IPython/terminal/interactiveshell.py:400
Methodpublish
(self, data, metadata=None, source=None, *, transient=None, update=False)
IPython/core/displaypub.py:130
Functionpuppies
()
IPython/core/tests/bad_all.py:9
Methodpush
Inject a group of variables into the IPython user namespace. Parameters ---------- variables : dict, str or list/tuple of str
IPython/core/interactiveshell.py:1533
Methodpush
Send a line of input to the transformer, returning the transformed input or None if the transformer is waiting for more input.
IPython/core/inputtransformer.py:46
Methodpush
Send a line of input to the transformer, returning the transformed input.
IPython/core/inputtransformer.py:85
Methodpush
Send a line of input to the transformer, returning the transformed input or None if the transformer is waiting for more input.
IPython/core/inputtransformer.py:104
Methodpush
(self, line)
IPython/core/inputtransformer.py:132
Methodpush_accepts_more
(self)
IPython/core/inputsplitter.py:663
Methodpushd
Place the current dir on stack and change directory. Usage:\\ %pushd ['dirname']
IPython/core/magics/osm.py:496
Methodpwd
Return the current working directory path. Examples -------- :: In [9]: pwd Out[9]: '/home/tsuser/sprint
IPython/core/magics/osm.py:284
← previousnext →2,101–2,200 of 3,293, ranked by callers