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
↓ 1 callers
Method
_source_contains_docstring
Check whether the source *src* contains the docstring *doc*. This is is helper function to skip displaying the docstring if the
IPython/core/oinspect.py:908
↓ 1 callers
Function
_stop_on_read
Register callback to stop eventloop when there's data on fd
IPython/terminal/pt_inputhooks/osx.py:116
↓ 1 callers
Method
_strip
(self, lines)
IPython/core/inputtransformer2.py:76
↓ 1 callers
Function
_strip_underline
(line)
docs/autogen_magics.py:11
↓ 1 callers
Method
_survives_exclude
Returns True if *matchstr* does not match patterns ``self.package_name`` removed from front of string if present Examples -
docs/sphinxext/apigen.py:298
↓ 1 callers
Function
_term_clear
()
IPython/utils/terminal.py:26
↓ 1 callers
Method
_traceback
(self, job)
IPython/lib/backgroundjobs.py:339
↓ 1 callers
Method
_transform_line
Push a line of input code through the various transformers. Returns any output from the transformers, or None if a transformer
IPython/core/inputsplitter.py:729
↓ 1 callers
Method
_user_obj_error
return simple exception dict for use in user_expressions
IPython/core/interactiveshell.py:2619
↓ 1 callers
Method
_validate_and_normalize_with_numpy
(data, normalize)
IPython/lib/display.py:154
↓ 1 callers
Method
_validate_and_normalize_without_numpy
(data, normalize)
IPython/lib/display.py:177
↓ 1 callers
Function
_wake
Wake the Application
IPython/terminal/pt_inputhooks/osx.py:83
↓ 1 callers
Method
_writeout_input_cache
(self, conn)
IPython/core/history.py:760
↓ 1 callers
Method
_writeout_output_cache
(self, conn)
IPython/core/history.py:766
↓ 1 callers
Method
add_coverage
(self)
IPython/testing/iptestcontroller.py:179
↓ 1 callers
Method
add_s
Adds a target 'string' for dispatching
IPython/utils/strdispatch.py:28
↓ 1 callers
Function
add_submodule
mod.{subname} = submod
IPython/lib/deepreload.py:209
↓ 1 callers
Method
add_to_parser
Add this object's information to the parser, if necessary.
IPython/core/magic_arguments.py:187
↓ 1 callers
Method
add_xunit
(self)
IPython/testing/iptestcontroller.py:175
↓ 1 callers
Method
aimport
%aimport => Import modules for automatic reloading. %aimport List modules to automatically import and not to import. %aimpor
IPython/extensions/autoreload.py:490
↓ 1 callers
Method
aimport_module
Import a module, and mark it reloadable Returns ------- top_module : module The imported module if it is top-leve
IPython/extensions/autoreload.py:165
↓ 1 callers
Method
all_completions
Wrapper around the completion methods for the benefit of emacs.
IPython/core/completer.py:1142
↓ 1 callers
Function
already_backported
return set of PRs that have been backported already
tools/backport_pr.py:118
↓ 1 callers
Method
arg_err
Print docstring if incorrect arguments were passed
IPython/core/magic.py:543
↓ 1 callers
Function
assemble_logical_lines
r"""Join lines following explicit line continuations (\)
IPython/core/inputtransformer.py:175
↓ 1 callers
Method
assert_inode_not_equal
(self, a, b)
IPython/utils/tests/test_path.py:433
↓ 1 callers
Method
assert_interrupts
Interrupt a subprocess after a second.
IPython/utils/tests/test_process.py:116
↓ 1 callers
Function
assign_from_magic
Transform assignment from magic commands (e.g. a = %who_ls)
IPython/core/inputtransformer.py:527
↓ 1 callers
Function
assign_from_system
Transform assignment from system commands (e.g. files = !ls)
IPython/core/inputtransformer.py:516
↓ 1 callers
Method
auto_rewrite_input
Print to the screen the rewritten form of the user's command. This shows visual feedback by rewriting input lines that cause automati
IPython/core/interactiveshell.py:2594
↓ 1 callers
Method
autoplay_attr
(self)
IPython/lib/display.py:233
↓ 1 callers
Method
autoreload
r"""%autoreload => Reload modules automatically %autoreload Reload all modules (except those excluded by %aimport) automatically
IPython/extensions/autoreload.py:434
↓ 1 callers
Method
back
Move the seek pointer back num blocks (default is 1).
IPython/lib/demo.py:371
↓ 1 callers
Function
backport_pr
(branch, num, project='ipython/ipython')
tools/backport_pr.py:60
↓ 1 callers
Function
bar
(foo)
tools/tests/embed/embed1.py:6
↓ 1 callers
Function
bar
bar
IPython/core/tests/simpleerr.py:13
↓ 1 callers
Function
bar
(n)
examples/Embedding/embed_class_long.py:116
↓ 1 callers
Method
bar
Example: >>> ff = FooClass(3) >>> ff.bar(0) boom! >>> 1/0 bam!
IPython/testing/tests/test_decorators.py:120
↓ 1 callers
Function
block_parser
part is a string of ipython text, comprised of at most one input, one output, comments, and blank lines. The block parser parses the tex
IPython/sphinxext/ipython_directive.py:226
↓ 1 callers
Method
buffered_tokens
Generator of unprocessed tokens after doing insertions and before changing to a new state.
IPython/lib/lexers.py:338
↓ 1 callers
Function
build_ipy_lexer
Builds IPython lexers depending on the value of `python3`. The lexer inherits from an appropriate Python lexer and then adds information abou
IPython/lib/lexers.py:57
↓ 1 callers
Function
can_import
Safely query whether an API is importable, without importing it
IPython/external/qt_loaders.py:165
↓ 1 callers
Function
cell_magic
(lines)
IPython/core/inputtransformer2.py:94
↓ 1 callers
Function
cellmagic
Captures & transforms cell magics. After a cell magic is started, this stores up any lines it gets until it is reset (sent None).
IPython/core/inputtransformer.py:359
↓ 1 callers
Method
check
Emacs ipython-mode tags certain input lines.
IPython/core/prefilter.py:402
↓ 1 callers
Method
check
Check if the initial word/function is callable and autocall is on.
IPython/core/prefilter.py:504
↓ 1 callers
Function
check_cpaste
Execute code via 'cpaste' and ensure it was executed, unless should_fail is set.
IPython/core/tests/test_magic_terminal.py:22
↓ 1 callers
Method
check_dirs
(self)
IPython/core/profiledir.py:130
↓ 1 callers
Method
check_for_underscore
Check if the user has set the '_' variable by hand.
IPython/core/displayhook.py:70
↓ 1 callers
Method
check_log_dir
(self, change=None)
IPython/core/profiledir.py:106
↓ 1 callers
Method
check_output
Check output, accepting special markers embedded in the output. If the output didn't pass the default validation but the special string
IPython/testing/plugin/ipdoctest.py:179
↓ 1 callers
Function
check_package_data
verify that package_data globs make sense
setupbase.py:129
↓ 1 callers
Function
check_package_data_first
decorator for checking package_data before running a given command Probably only needs to wrap build_py
setupbase.py:142
↓ 1 callers
Method
check_pid_dir
(self, change=None)
IPython/core/profiledir.py:127
↓ 1 callers
Method
check_security_dir
(self, change=None)
IPython/core/profiledir.py:123
↓ 1 callers
Method
check_startup_dir
(self, change=None)
IPython/core/profiledir.py:110
↓ 1 callers
Function
chop
Chop a sequence into chunks of the given size.
IPython/utils/data.py:26
↓ 1 callers
Function
class_config_rst_doc
Generate rST documentation for this class' config options. Excludes traits defined on parent classes.
docs/autogen_config.py:33
↓ 1 callers
Function
classic_prompt
Strip the >>>/... prompts of the Python interactive shell.
IPython/core/inputtransformer.py:456
↓ 1 callers
Method
cleanup_process
Cleanup on exit by killing any leftover processes.
IPython/testing/iptestcontroller.py:80
↓ 1 callers
Method
clear_main_mod_cache
Clear the cache of main modules. Mainly for use by utilities like %reset. Examples -------- In [15]: import IPython
IPython/core/interactiveshell.py:1125
↓ 1 callers
Method
close
(self)
IPython/utils/io.py:83
↓ 1 callers
Method
cmdloop
Wrap cmdloop() such that KeyboardInterrupt stops the debugger.
IPython/core/debugger.py:782
↓ 1 callers
Function
code_name
Compute a (probably) unique name for code for caching. This now expects code to be unicode.
IPython/core/compilerop.py:54
↓ 1 callers
Function
commit_api
Commit to a particular API, and trigger ImportErrors on subsequent dangerous imports
IPython/external/qt_loaders.py:63
↓ 1 callers
Method
complete
Find completions for the given text and line context. Note that both the text and the line_buffer are optional, but at least one of t
IPython/core/completer.py:1913
↓ 1 callers
Function
completions_sorting_key
key for sorting completions This does several things: - Demote any completions starting with underscores to the end - Insert any %magic
IPython/core/completer.py:293
↓ 1 callers
Function
compress_dhist
Compress a directory history into a new one with at most 20 entries. Return a new list made from the first and last 10 elements of dhist after
IPython/core/magic.py:58
↓ 1 callers
Method
compute_format_data
Compute format data of the object to be displayed. The format data is a generalization of the :func:`repr` of an object. In the defau
IPython/core/displayhook.py:121
↓ 1 callers
Function
compute_item_matrix
Returns a nested list, and info to columnize items Parameters ---------- items list of strings to columize row_first : (defa
IPython/utils/text.py:650
↓ 1 callers
Method
configure
(self, options, config)
IPython/testing/iptest.py:261
↓ 1 callers
Method
configure
(self, options, config)
IPython/testing/plugin/ipdoctest.py:748
↓ 1 callers
Function
construct_parser
Construct an argument parser using the function decorations.
IPython/core/magic_arguments.py:139
↓ 1 callers
Method
copy_config_file
Copy a default config file into the active profile directory. Default configuration files are kept in :mod:`IPython.core.profile`. Th
IPython/core/profiledir.py:136
↓ 1 callers
Function
count_failures
Count number of failures in a doctest runner. Code modeled after the summarize() method in doctest.
IPython/testing/ipunittest.py:47
↓ 1 callers
Function
create_inputhook_qt4
Create an input hook for running the Qt4 application event loop. Parameters ---------- mgr : an InputHookManager app : Qt Applicatio
IPython/lib/inputhookqt4.py:38
↓ 1 callers
Function
create_typestr2type_dicts
Return dictionaries mapping lower case typename (e.g. 'tuple') to type objects from the types package, and vice versa.
IPython/utils/wildcard.py:22
↓ 1 callers
Method
cull_cache
Output cache is full, cull the oldest entries
IPython/core/displayhook.py:270
↓ 1 callers
Method
custom_doctest
Perform a specialized doctest.
IPython/sphinxext/ipython_directive.py:865
↓ 1 callers
Method
deactivate
Remove any builtins which might have been added by add_builtins, or restore overwritten ones to their previous values.
IPython/core/builtin_trap.py:79
↓ 1 callers
Method
debugger
Call the pdb debugger. Keywords: - force(False): by default, this routine checks the instance call_pdb flag and does n
IPython/core/interactiveshell.py:1173
↓ 1 callers
Function
decorate_fn_with_doc
Make new_fn have old_fn's doc string. This is particularly useful for the ``do_...`` commands that hook into the help system. Adapted from fro
IPython/core/debugger.py:183
↓ 1 callers
Function
decorated_dummy
Return a dummy function decorated with dec, with the given name. Examples -------- import IPython.testing.decorators as dec setup = d
IPython/testing/decorators.py:281
↓ 1 callers
Function
deep_reload_hook
Replacement for reload().
IPython/lib/deepreload.py:266
↓ 1 callers
Function
default_aliases
Return list of shell aliases to auto-define.
IPython/core/alias.py:40
↓ 1 callers
Function
default_argv
Return a valid default argv for creating testing instances of ipython
IPython/testing/tools.py:129
↓ 1 callers
Function
default_options
Get an argparse Namespace object with the default arguments, to pass to :func:`run_iptestall`.
IPython/testing/iptestcontroller.py:455
↓ 1 callers
Method
del_var
Delete a variable from the various namespaces, so that, as far as possible, we're not keeping any hidden references to it. Parameters
IPython/core/interactiveshell.py:1466
↓ 1 callers
Function
dict_dir
Produce a dictionary of an object's attributes. Builds on dir2 by checking that a getattr() call actually succeeds.
IPython/utils/wildcard.py:58
↓ 1 callers
Method
discover_modules
Return module sequence discovered from ``self.package_name`` Parameters ---------- None Returns -------
docs/sphinxext/apigen.py:339
↓ 1 callers
Method
dispatch
Get a seq of Commandchain objects that match key
IPython/utils/strdispatch.py:42
↓ 1 callers
Method
dispatch_custom_completer
(self, text)
IPython/core/completer.py:1718
↓ 1 callers
Method
display
Make a new display with my id, updating existing instances. Parameters ---------- obj: object to
IPython/core/display.py:369
↓ 1 callers
Function
div0
foo
IPython/core/tests/simpleerr.py:4
↓ 1 callers
Method
do_one_token_transform
Find and run the transform earliest in the code. Returns (changed, lines). This method is called repeatedly until changed is False,
IPython/core/inputtransformer2.py:544
↓ 1 callers
Function
do_run
Setup and run a test controller. If buffer_output is True, no output is displayed, to avoid it appearing interleaved. In this case, the c
IPython/testing/iptestcontroller.py:216
↓ 1 callers
Function
eggs
(f, g, z=globals())
IPython/core/tests/test_ultratb.py:410
↓ 1 callers
Method
element_id_attr
(self)
IPython/lib/display.py:239
↓ 1 callers
Method
enable_gui
(self, gui=None)
IPython/core/interactiveshell.py:3468
↓ 1 callers
Method
enable_gui
(self, gui)
IPython/core/tests/test_pylabtools.py:151
← previous
next →
601–700 of 3,293, ranked by callers