MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

↓ 1 callersMethod_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 callersFunction_stop_on_read
Register callback to stop eventloop when there's data on fd
IPython/terminal/pt_inputhooks/osx.py:116
↓ 1 callersMethod_strip
(self, lines)
IPython/core/inputtransformer2.py:76
↓ 1 callersFunction_strip_underline
(line)
docs/autogen_magics.py:11
↓ 1 callersMethod_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 callersFunction_term_clear
()
IPython/utils/terminal.py:26
↓ 1 callersMethod_traceback
(self, job)
IPython/lib/backgroundjobs.py:339
↓ 1 callersMethod_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 callersMethod_user_obj_error
return simple exception dict for use in user_expressions
IPython/core/interactiveshell.py:2619
↓ 1 callersMethod_validate_and_normalize_with_numpy
(data, normalize)
IPython/lib/display.py:154
↓ 1 callersMethod_validate_and_normalize_without_numpy
(data, normalize)
IPython/lib/display.py:177
↓ 1 callersFunction_wake
Wake the Application
IPython/terminal/pt_inputhooks/osx.py:83
↓ 1 callersMethod_writeout_input_cache
(self, conn)
IPython/core/history.py:760
↓ 1 callersMethod_writeout_output_cache
(self, conn)
IPython/core/history.py:766
↓ 1 callersMethodadd_coverage
(self)
IPython/testing/iptestcontroller.py:179
↓ 1 callersMethodadd_s
Adds a target 'string' for dispatching
IPython/utils/strdispatch.py:28
↓ 1 callersFunctionadd_submodule
mod.{subname} = submod
IPython/lib/deepreload.py:209
↓ 1 callersMethodadd_to_parser
Add this object's information to the parser, if necessary.
IPython/core/magic_arguments.py:187
↓ 1 callersMethodadd_xunit
(self)
IPython/testing/iptestcontroller.py:175
↓ 1 callersMethodaimport
%aimport => Import modules for automatic reloading. %aimport List modules to automatically import and not to import. %aimpor
IPython/extensions/autoreload.py:490
↓ 1 callersMethodaimport_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 callersMethodall_completions
Wrapper around the completion methods for the benefit of emacs.
IPython/core/completer.py:1142
↓ 1 callersFunctionalready_backported
return set of PRs that have been backported already
tools/backport_pr.py:118
↓ 1 callersMethodarg_err
Print docstring if incorrect arguments were passed
IPython/core/magic.py:543
↓ 1 callersFunctionassemble_logical_lines
r"""Join lines following explicit line continuations (\)
IPython/core/inputtransformer.py:175
↓ 1 callersMethodassert_inode_not_equal
(self, a, b)
IPython/utils/tests/test_path.py:433
↓ 1 callersMethodassert_interrupts
Interrupt a subprocess after a second.
IPython/utils/tests/test_process.py:116
↓ 1 callersFunctionassign_from_magic
Transform assignment from magic commands (e.g. a = %who_ls)
IPython/core/inputtransformer.py:527
↓ 1 callersFunctionassign_from_system
Transform assignment from system commands (e.g. files = !ls)
IPython/core/inputtransformer.py:516
↓ 1 callersMethodauto_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 callersMethodautoplay_attr
(self)
IPython/lib/display.py:233
↓ 1 callersMethodautoreload
r"""%autoreload => Reload modules automatically %autoreload Reload all modules (except those excluded by %aimport) automatically
IPython/extensions/autoreload.py:434
↓ 1 callersMethodback
Move the seek pointer back num blocks (default is 1).
IPython/lib/demo.py:371
↓ 1 callersFunctionbackport_pr
(branch, num, project='ipython/ipython')
tools/backport_pr.py:60
↓ 1 callersFunctionbar
(foo)
tools/tests/embed/embed1.py:6
↓ 1 callersFunctionbar
bar
IPython/core/tests/simpleerr.py:13
↓ 1 callersFunctionbar
(n)
examples/Embedding/embed_class_long.py:116
↓ 1 callersMethodbar
Example: >>> ff = FooClass(3) >>> ff.bar(0) boom! >>> 1/0 bam!
IPython/testing/tests/test_decorators.py:120
↓ 1 callersFunctionblock_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 callersMethodbuffered_tokens
Generator of unprocessed tokens after doing insertions and before changing to a new state.
IPython/lib/lexers.py:338
↓ 1 callersFunctionbuild_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 callersFunctioncan_import
Safely query whether an API is importable, without importing it
IPython/external/qt_loaders.py:165
↓ 1 callersFunctioncell_magic
(lines)
IPython/core/inputtransformer2.py:94
↓ 1 callersFunctioncellmagic
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 callersMethodcheck
Emacs ipython-mode tags certain input lines.
IPython/core/prefilter.py:402
↓ 1 callersMethodcheck
Check if the initial word/function is callable and autocall is on.
IPython/core/prefilter.py:504
↓ 1 callersFunctioncheck_cpaste
Execute code via 'cpaste' and ensure it was executed, unless should_fail is set.
IPython/core/tests/test_magic_terminal.py:22
↓ 1 callersMethodcheck_dirs
(self)
IPython/core/profiledir.py:130
↓ 1 callersMethodcheck_for_underscore
Check if the user has set the '_' variable by hand.
IPython/core/displayhook.py:70
↓ 1 callersMethodcheck_log_dir
(self, change=None)
IPython/core/profiledir.py:106
↓ 1 callersMethodcheck_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 callersFunctioncheck_package_data
verify that package_data globs make sense
setupbase.py:129
↓ 1 callersFunctioncheck_package_data_first
decorator for checking package_data before running a given command Probably only needs to wrap build_py
setupbase.py:142
↓ 1 callersMethodcheck_pid_dir
(self, change=None)
IPython/core/profiledir.py:127
↓ 1 callersMethodcheck_security_dir
(self, change=None)
IPython/core/profiledir.py:123
↓ 1 callersMethodcheck_startup_dir
(self, change=None)
IPython/core/profiledir.py:110
↓ 1 callersFunctionchop
Chop a sequence into chunks of the given size.
IPython/utils/data.py:26
↓ 1 callersFunctionclass_config_rst_doc
Generate rST documentation for this class' config options. Excludes traits defined on parent classes.
docs/autogen_config.py:33
↓ 1 callersFunctionclassic_prompt
Strip the >>>/... prompts of the Python interactive shell.
IPython/core/inputtransformer.py:456
↓ 1 callersMethodcleanup_process
Cleanup on exit by killing any leftover processes.
IPython/testing/iptestcontroller.py:80
↓ 1 callersMethodclear_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 callersMethodclose
(self)
IPython/utils/io.py:83
↓ 1 callersMethodcmdloop
Wrap cmdloop() such that KeyboardInterrupt stops the debugger.
IPython/core/debugger.py:782
↓ 1 callersFunctioncode_name
Compute a (probably) unique name for code for caching. This now expects code to be unicode.
IPython/core/compilerop.py:54
↓ 1 callersFunctioncommit_api
Commit to a particular API, and trigger ImportErrors on subsequent dangerous imports
IPython/external/qt_loaders.py:63
↓ 1 callersMethodcomplete
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 callersFunctioncompletions_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 callersFunctioncompress_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 callersMethodcompute_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 callersFunctioncompute_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 callersMethodconfigure
(self, options, config)
IPython/testing/iptest.py:261
↓ 1 callersMethodconfigure
(self, options, config)
IPython/testing/plugin/ipdoctest.py:748
↓ 1 callersFunctionconstruct_parser
Construct an argument parser using the function decorations.
IPython/core/magic_arguments.py:139
↓ 1 callersMethodcopy_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 callersFunctioncount_failures
Count number of failures in a doctest runner. Code modeled after the summarize() method in doctest.
IPython/testing/ipunittest.py:47
↓ 1 callersFunctioncreate_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 callersFunctioncreate_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 callersMethodcull_cache
Output cache is full, cull the oldest entries
IPython/core/displayhook.py:270
↓ 1 callersMethodcustom_doctest
Perform a specialized doctest.
IPython/sphinxext/ipython_directive.py:865
↓ 1 callersMethoddeactivate
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 callersMethoddebugger
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 callersFunctiondecorate_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 callersFunctiondecorated_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 callersFunctiondeep_reload_hook
Replacement for reload().
IPython/lib/deepreload.py:266
↓ 1 callersFunctiondefault_aliases
Return list of shell aliases to auto-define.
IPython/core/alias.py:40
↓ 1 callersFunctiondefault_argv
Return a valid default argv for creating testing instances of ipython
IPython/testing/tools.py:129
↓ 1 callersFunctiondefault_options
Get an argparse Namespace object with the default arguments, to pass to :func:`run_iptestall`.
IPython/testing/iptestcontroller.py:455
↓ 1 callersMethoddel_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 callersFunctiondict_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 callersMethoddiscover_modules
Return module sequence discovered from ``self.package_name`` Parameters ---------- None Returns -------
docs/sphinxext/apigen.py:339
↓ 1 callersMethoddispatch
Get a seq of Commandchain objects that match key
IPython/utils/strdispatch.py:42
↓ 1 callersMethoddispatch_custom_completer
(self, text)
IPython/core/completer.py:1718
↓ 1 callersMethoddisplay
Make a new display with my id, updating existing instances. Parameters ---------- obj: object to
IPython/core/display.py:369
↓ 1 callersFunctiondiv0
foo
IPython/core/tests/simpleerr.py:4
↓ 1 callersMethoddo_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 callersFunctiondo_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 callersFunctioneggs
(f, g, z=globals())
IPython/core/tests/test_ultratb.py:410
↓ 1 callersMethodelement_id_attr
(self)
IPython/lib/display.py:239
↓ 1 callersMethodenable_gui
(self, gui=None)
IPython/core/interactiveshell.py:3468
↓ 1 callersMethodenable_gui
(self, gui)
IPython/core/tests/test_pylabtools.py:151
← previousnext →601–700 of 3,293, ranked by callers