Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ipython/ipython
/ functions
Functions
3,293 in github.com/ipython/ipython
⨍
Functions
3,293
◇
Types & classes
503
↳
Endpoints
20
Method
name_session
Give the current session a name in the history database.
IPython/core/history.py:581
Method
named_script_magic
(line, cell)
IPython/core/magics/script.py:136
Function
needs_local_scope
Decorator to mark magic functions which need to local scope to run.
IPython/core/magic.py:77
Function
needs_sqlite
Decorator: return an empty list in the absence of sqlite.
IPython/core/history.py:53
Method
nest_case
(context, case)
IPython/core/tests/test_async_helpers.py:184
Method
new_do_frame
(self, arg)
IPython/core/debugger.py:316
Method
new_do_quit
(self, arg)
IPython/core/debugger.py:319
Method
new_do_restart
Restart command. In the context of ipython this is exactly the same thing as 'quit'.
IPython/core/debugger.py:328
Function
newline_autoindent
insert a newline after the cursor indented appropriately.
IPython/terminal/shortcuts.py:241
Function
newline_or_execute
When the user presses return, insert a newline or execute the code.
IPython/terminal/shortcuts.py:109
Function
newline_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
Function
next_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
Function
no_code
(x, encoding=None)
IPython/utils/py3compat.py:188
Function
no_op
(*a, **kw)
IPython/core/interactiveshell.py:251
Function
no_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
Function
noop1
(f)
IPython/core/tests/test_oinspect.py:69
Function
noop2
(f, *a, **kw)
IPython/core/tests/test_oinspect.py:85
Function
nopage
(strng, start=0, screen_lines=0, pager_cmd=None)
IPython/conftest.py:36
Function
nopage
(strng, start=0, screen_lines=0, pager_cmd=None)
IPython/testing/globalipapp.py:129
Method
normaldt_method
>>> print(1+1) 2
IPython/testing/tests/test_ipunittest.py:127
Method
notebook
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
Function
notepadplusplus
Notepad++ http://notepad-plus.sourceforge.net
IPython/lib/editorhooks.py:77
Function
null_cleanup_transformer
A cleanup transform that returns an empty list.
IPython/core/tests/test_inputtransformer2.py:138
Function
nullrepr
(value, repr=text_repr)
IPython/core/ultratb.py:1523
Function
num_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
Function
num_ini_spaces
Return the number of initial spaces in a string
IPython/utils/text.py:339
Function
num_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
Function
on_close
()
examples/IPython Kernel/gui/gui-pyglet.py:21
Function
on_draw
()
examples/IPython Kernel/gui/gui-pyglet.py:25
Function
onlyif_any_cmd_exists
Decorator to skip test unless at least one of `commands` is found.
IPython/testing/decorators.py:373
Function
onlyif_cmds_exist
Decorator to skip test when at least one of `commands` is not found.
IPython/testing/decorators.py:363
Function
open_input_in_editor
(event)
IPython/terminal/shortcuts.py:255
Method
options
(self, parser, env=os.environ)
IPython/external/decorators/_numpy_testing_noseclasses.py:26
Method
options
(self, parser, env=os.environ)
IPython/testing/iptest.py:258
Method
options
(self, parser, env=os.environ)
IPython/testing/plugin/ipdoctest.py:603
Function
osx_clipboard_get
Get the clipboard's text on OS X.
IPython/lib/clipboard.py:35
Method
out_prompt_tokens
(self)
IPython/terminal/prompts.py:74
Method
out_prompt_tokens
(self)
examples/Embedding/embed_class_long.py:32
Method
output
(self, tokens)
IPython/core/inputtransformer.py:171
Method
output
(self, stream, output_width)
IPython/lib/pretty.py:422
Method
output
(self, stream, output_width)
IPython/lib/pretty.py:452
Method
outputs
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
Function
page
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
Function
page_file
Page a file, using an optional pager command and starting line.
IPython/core/page.py:263
Method
parse
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
Function
parse_cell_magic
(env, sig, signode)
docs/sphinxext/magics.py:26
Method
parse_command_line
override to allow old '-pylab' flag with deprecation warning
IPython/terminal/ipapp.py:289
Method
parse_command_line
(self, argv)
IPython/core/profileapp.py:236
Function
parse_magic
(env, sig, signode)
docs/sphinxext/magics.py:8
Function
parse_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
Method
paste
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
Method
pastebin
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
Method
pdb
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
Method
pdef
Print the call signature for any callable object. If the object is a class, print the constructor information.
IPython/core/oinspect.py:396
Method
pdoc
Print the docstring for any object. Optional: -formatter: a function to run the docstring through for specially formatted doc
IPython/core/oinspect.py:419
Method
pdoc
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
Method
pfile
Show the whole file where an object was defined.
IPython/core/oinspect.py:492
Method
pfile
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
Method
pinfo
Show detailed information about an object. Optional arguments: - oname: name of the variable pointing to the object. - form
IPython/core/oinspect.py:658
Method
pinfo
Provide detailed information about an object. '%pinfo object' is just a synonym for object? or ?object.
IPython/core/magics/namespace.py:41
Method
pinfo2
Provide extra detailed information about an object. '%pinfo2 object' is just a synonym for object?? or ??object.
IPython/core/magics/namespace.py:62
Function
ping_received
()
IPython/core/tests/test_events.py:10
Method
pip
Run the pip package manager within the current kernel. Usage: %pip install [pkgs]
IPython/core/magics/packaging.py:62
Method
plain
(self)
IPython/core/ultratb.py:1374
Function
poll
(ev)
IPython/terminal/pt_inputhooks/wx.py:182
Method
popd
Change to directory popped off the top of the stack.
IPython/core/magics/osm.py:512
Function
post_download
Upload a file to the GitHub downloads area
tools/gh_api.py:274
Function
post_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
Function
post_gist
Post some text to a Gist, and return the URL.
tools/gh_api.py:89
Function
post_issue_comment
(project, num, body)
tools/gh_api.py:84
Function
post_run_cell
Fires after user-entered code runs. Parameters ---------- result : :class:`~IPython.core.interactiveshell.ExecutionResult` The obje
IPython/core/events.py:138
Method
pre_cmd
Method called before executing each block. This one simply clears the screen.
IPython/lib/demo.py:619
Function
pre_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
Function
pre_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
Function
pre_run_cell
Fires before user-entered code runs. Parameters ---------- info : :class:`~IPython.core.interactiveshell.ExecutionInfo` An object c
IPython/core/events.py:118
Method
pre_run_cell
(self)
IPython/extensions/autoreload.py:526
Function
pre_run_code_hook
Executed before running the (prefiltered) code in IPython
IPython/core/hooks.py:168
Method
precision
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
Function
preprompthook_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
Function
previous_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
Method
process_link
(self, env, refnode, has_explicit_title, title, target)
docs/sphinxext/magics.py:20
Method
profile
(self)
IPython/core/interactiveshell.py:608
Method
profile_missing_notice
(self, *args, **kwargs)
IPython/core/magics/execution.py:189
Method
progress
(self)
IPython/core/display.py:829
Method
prompt_count
(self)
IPython/core/displayhook.py:62
Method
prun
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
Method
psearch
Search namespaces with wildcards for objects. Arguments: - pattern: string containing shell-like wildcards to use in namespace
IPython/core/oinspect.py:924
Method
psource
Print the source code for an object.
IPython/core/oinspect.py:477
Method
psource
Print (or run through pager) the source code for an object.
IPython/core/magics/namespace.py:94
Method
pt_complete_style
(self)
IPython/terminal/interactiveshell.py:400
Method
publish
(self, data, metadata=None, source=None, *, transient=None, update=False)
IPython/core/displaypub.py:130
Function
puppies
()
IPython/core/tests/bad_all.py:9
Method
push
Inject a group of variables into the IPython user namespace. Parameters ---------- variables : dict, str or list/tuple of str
IPython/core/interactiveshell.py:1533
Method
push
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
Method
push
Send a line of input to the transformer, returning the transformed input.
IPython/core/inputtransformer.py:85
Method
push
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
Method
push
(self, line)
IPython/core/inputtransformer.py:132
Method
push_accepts_more
(self)
IPython/core/inputsplitter.py:663
Method
pushd
Place the current dir on stack and change directory. Usage:\\ %pushd ['dirname']
IPython/core/magics/osm.py:496
Method
pwd
Return the current working directory path. Examples -------- :: In [9]: pwd Out[9]: '/home/tsuser/sprint
IPython/core/magics/osm.py:284
← previous
next →
2,101–2,200 of 3,293, ranked by callers