MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

↓ 1 callersFunctionencode_multipart_formdata
Encode a dictionary of ``fields`` using the multipart/form-data mime format. :param fields: Dictionary of fields or list of (key, va
tools/gh_api.py:218
↓ 1 callersFunctionends_in_comment_or_string
Indicates whether or not an input line ends in a comment or within a multiline string. Parameters ---------- src : string A
IPython/core/inputtransformer.py:324
↓ 1 callersFunctionensure_fromlist
Handle 'from module import a, b, c' imports.
IPython/lib/deepreload.py:221
↓ 1 callersMethodensure_started
(self)
IPython/testing/iptest.py:316
↓ 1 callersFunctionescaped_commands
Transform escaped commands - %magic, !system, ?help + various autocalls.
IPython/core/inputtransformer.py:267
↓ 1 callersMethodev
Evaluate python expression expr in user namespace. Returns the result of evaluation
IPython/core/interactiveshell.py:2687
↓ 1 callersFunctioneval_formatter_no_slicing_check
(f)
IPython/utils/tests/test_text.py:128
↓ 1 callersMethodexcepthook
One more defense for GUI apps that call sys.excepthook. GUI frameworks like wxPython trap exceptions and call sys.excepthook themselv
IPython/core/interactiveshell.py:1935
↓ 1 callersMethodexclude
(self, module)
IPython/testing/iptest.py:158
↓ 1 callersFunctionexecfile
(fname, globs, locs=None)
setupbase.py:39
↓ 1 callersMethodextra_flags
(self, flags)
IPython/core/compilerop.py:139
↓ 1 callersFunctionextract_code_ranges
Turn a string of range for %%load into 2-tuples of (start, stop) ready to use as a slice of the content split by lines. Examples --------
IPython/core/magics/code.py:55
↓ 1 callersFunctionextract_module_locals
Returns (module, locals) of the function `depth` frames away from the caller
IPython/utils/frame.py:89
↓ 1 callersFunctionextract_symbols
Return a tuple (blocks, not_found) where ``blocks`` is a list of code fragments for each symbol parsed from code, and ``not_found`` are
IPython/core/magics/code.py:84
↓ 1 callersFunctionf
()
IPython/utils/tests/test_decorators.py:5
↓ 1 callersFunctionfilefind
Find a file by looking through a sequence of paths. This iterates through a sequence of paths looking for a file and returns the full, absolu
IPython/utils/path.py:112
↓ 1 callersMethodfill_exec_result
(self, result)
IPython/core/displayhook.py:233
↓ 1 callersFunctionfilter_ns
Filter a namespace dictionary by name pattern and item type.
IPython/utils/wildcard.py:75
↓ 1 callersFunctionfind_data_files
Find IPython's data_files. Just man pages at this point.
setupbase.py:158
↓ 1 callersMethodfind_funcs_classes
Find the functions and classes defined in the module ``uri``
docs/sphinxext/apigen.py:231
↓ 1 callersMethodfind_handler
Find a handler for the line_info by trying checkers.
IPython/core/prefilter.py:255
↓ 1 callersFunctionfind_last_indent
(lines)
IPython/core/inputtransformer2.py:722
↓ 1 callersFunctionfind_mod
Find module `module_name` on sys.path, and return the path to module `module_name`. - If `module_name` refers to a module directory, then
IPython/utils/module_paths.py:41
↓ 1 callersFunctionfind_next_indent
Find the number of spaces for the next line of indentation
IPython/core/inputsplitter.py:144
↓ 1 callersFunctionfind_package_data
Find IPython's package_data.
setupbase.py:112
↓ 1 callersFunctionfind_packages
Find all of IPython's packages.
setupbase.py:91
↓ 1 callersMethodfind_profile_dir
Find/create a profile dir and return its ProfileDir. This will create the profile directory if it doesn't exist. Parameters
IPython/core/profiledir.py:210
↓ 1 callersMethodfinish_displayhook
Finish up all displayhook activities.
IPython/core/displayhook.py:247
↓ 1 callersFunctionfix_frame_records_filenames
Try to fix the filenames in each record from inspect.getinnerframes(). Particularly, modules loaded from within zip files have useless filenames
IPython/core/ultratb.py:324
↓ 1 callersFunctionflag_calls
Wrap a function to detect and flag when it gets called. This is a decorator which takes a function and wraps it in a function with a 'called'
IPython/utils/decorators.py:24
↓ 1 callersMethodflat_matches
Yield all 'value' targets, without priority
IPython/utils/strdispatch.py:63
↓ 1 callersFunctionflip
(window)
IPython/terminal/pt_inputhooks/pyglet.py:14
↓ 1 callersFunctionflip
(window)
IPython/lib/inputhookpyglet.py:55
↓ 1 callersFunctionfoo
A docstring.
IPython/core/tests/test_magic_arguments.py:70
↓ 1 callersFunctionfoo
(a, b, bar=1)
IPython/core/tests/test_ultratb.py:407
↓ 1 callersFunctionfoo
(m)
examples/Embedding/embed_class_long.py:111
↓ 1 callersMethodfoo
(self)
IPython/core/tests/test_oinspect.py:276
↓ 1 callersFunctionfor_type_by_name
Add a pretty printer for a type specified by the module and name of a type rather than the type object itself.
IPython/lib/pretty.py:801
↓ 1 callersMethodforbid
(self, module_name)
IPython/external/qt_loaders.py:43
↓ 1 callersFunctionformat_aliases
(aliases)
docs/autogen_config.py:26
↓ 1 callersFunctionformat_argspec
Format argspect, convenience wrapper around inspect's. This takes a dict instead of ordered arguments and calls inspect.format_argspec with t
IPython/core/oinspect.py:218
↓ 1 callersFunctionformat_docstring
(func)
docs/autogen_magics.py:18
↓ 1 callersMethodformat_exception
(self, etype, evalue)
IPython/core/ultratb.py:1118
↓ 1 callersMethodformat_exception_as_a_whole
Formats the header, traceback and exception message for a single exception. This may be called multiple times by Python 3 exception chaining
IPython/core/ultratb.py:1132
↓ 1 callersMethodformat_latex
Format a string for latex inclusion.
IPython/core/magic.py:548
↓ 1 callersMethodformat_mime
(self, bundle)
IPython/core/oinspect.py:553
↓ 1 callersMethodformat_record
Format a single stack frame
IPython/core/ultratb.py:919
↓ 1 callersMethodformat_records
Format the stack frames of the traceback
IPython/core/ultratb.py:884
↓ 1 callersFunctionformat_screen
Format a string for screen printing. This removes some latex-type format codes.
IPython/utils/text.py:349
↓ 1 callersMethodformat_stack_entry
(self, frame_lineno, lprefix=': ', context=None)
IPython/core/debugger.py:382
↓ 1 callersFunctiongenelatex
Generate LaTeX document for dvipng backend.
IPython/lib/latextools.py:179
↓ 1 callersMethodgenerate_api_doc
Make autodoc documentation template string for a module Parameters ---------- uri : string python location of mod
docs/sphinxext/apigen.py:240
↓ 1 callersFunctionget__all__entries
returns the strings in the __all__ attribute
IPython/core/completer.py:736
↓ 1 callersFunctionget_auth_token
()
tools/gh_api.py:40
↓ 1 callersFunctionget_authors
(pr)
tools/gh_api.py:195
↓ 1 callersMethodget_config_options
(self)
IPython/sphinxext/ipython_directive.py:899
↓ 1 callersFunctionget_current_branch
()
tools/backport_pr.py:54
↓ 1 callersFunctionget_default_editor
()
IPython/terminal/interactiveshell.py:64
↓ 1 callersFunctionget_encoding
Get encoding for python source file defining obj Returns None if obj is not defined in a sourcefile.
IPython/core/oinspect.py:91
↓ 1 callersFunctionget_input_encoding
Return the default standard input encoding. If sys.stdin has no encoding, 'ascii' is returned.
IPython/core/inputsplitter.py:264
↓ 1 callersFunctionget_inputhook_name_and_func
(gui)
IPython/terminal/pt_inputhooks/__init__.py:34
↓ 1 callersMethodget_instance
(cls, name)
IPython/core/tests/test_completer.py:137
↓ 1 callersFunctionget_ipython
()
IPython/conftest.py:12
↓ 1 callersFunctionget_ipython_cache_dir
Get the cache directory it is created if it does not exist.
IPython/paths.py:73
↓ 1 callersFunctionget_ipython_module_path
Find the path to an IPython module in this version of IPython. This will always find the version of the module that is in this importable IPy
IPython/paths.py:94
↓ 1 callersMethodget_local_scope
Get local scope at given stack depth. Parameters ---------- stack_depth : int Depth relative to calling frame
IPython/core/interactiveshell.py:2329
↓ 1 callersMethodget_mci
Parses the line and returns a 3-tuple: (mode, code, insertion). `mode` is the next mode (or state) of the lexer, and is always equal
IPython/lib/lexers.py:360
↓ 1 callersFunctionget_milestones
(project, auth=False, **params)
tools/gh_api.py:173
↓ 1 callersMethodget_module
(self)
IPython/extensions/tests/test_autoreload.py:87
↓ 1 callersFunctionget_options
Return a list of acceptable QT APIs, in decreasing order of preference
IPython/external/qt_for_kernel.py:68
↓ 1 callersFunctionget_parent
parent, name = get_parent(globals, level) Return the package that an import is being performed in. If globals comes from the module foo
IPython/lib/deepreload.py:49
↓ 1 callersFunctionget_pasted_lines
Yield pasted lines until the user enters the given sentinel value.
IPython/terminal/magics.py:17
↓ 1 callersFunctionget_pull_request_files
get list of files in a pull request
tools/gh_api.py:120
↓ 1 callersMethodget_range
Retrieve input by session. Parameters ---------- session : int Session number to retrieve. start : int
IPython/core/history.py:414
↓ 1 callersFunctionget_root_modules
Returns a list containing the names of all the modules available in the folders of the pythonpath. ip.db['rootmodules_cache'] maps sys.p
IPython/core/completerlib.py:107
↓ 1 callersMethodget_session_info
Get info about a session. Parameters ---------- session : int Session number to retrieve. The current session is
IPython/core/history.py:604
↓ 1 callersFunctionget_text_list
Return a string with a natural enumeration of items >>> get_text_list(['a', 'b', 'c', 'd']) 'a, b, c and d' >>> get_text_list(['a',
IPython/utils/text.py:742
↓ 1 callersMethodget_tokens_unprocessed
(self, text)
IPython/lib/lexers.py:523
↓ 1 callersFunctionget_xdg_cache_dir
Return the XDG_CACHE_HOME, if it is defined and exists, else None. This is only for non-OS X posix (Linux,Unix,etc.) systems.
IPython/utils/path.py:233
↓ 1 callersFunctionget_xdg_dir
Return the XDG_CONFIG_HOME, if it is defined and exists, else None. This is only for non-OS X posix (Linux,Unix,etc.) systems.
IPython/utils/path.py:214
↓ 1 callersFunctiongetargspec
Get the names and default values of a function's arguments. A tuple of four things is returned: (args, varargs, varkw, defaults). 'args' is a
IPython/testing/tests/test_decorators.py:20
↓ 1 callersFunctiongetdefaultencoding
Return IPython's guess for the default encoding for bytes as text. If prefer_stream is True (default), asks for stdin.encoding first, to
IPython/utils/encoding.py:38
↓ 1 callersFunctiongetoutputerror
Return (standard output, standard error) of executing cmd in a shell. Accepts the same arguments as os.system(). Parameters ----------
IPython/utils/_process_common.py:136
↓ 1 callersFunctiongilsleep
gil-holding sleep with cython.inline
tools/tests/heartbeat/hb_gil.py:20
↓ 1 callersFunctiongit_new_branch
Create a new branch with the given name and check it out.
tools/git-mpr.py:37
↓ 1 callersFunctiongit_prebuild
Return extended build or sdist command class for recording commit records git commit in IPython.utils._sysinfo.commit for use in IPy
setupbase.py:352
↓ 1 callersMethodgrep
Return all strings matching 'pattern' (a regex or callable) This is case-insensitive. If prune is true, return all items NOT matchin
IPython/utils/text.py:132
↓ 1 callersMethodhandler
(self, info=None)
IPython/core/ultratb.py:1271
↓ 1 callersFunctionhas_comment
Indicate whether an input line has (i.e. ends in, or is) a comment. This uses tokenize, so it can distinguish comments from # inside strings.
IPython/core/inputtransformer.py:307
↓ 1 callersFunctionhas_open_quotes
Return whether a string has open quotes. This simply counts whether the number of quote characters of either type in the string is odd.
IPython/core/completer.py:212
↓ 1 callersFunctionhelp_end
Translate lines with ?/?? at the end
IPython/core/inputtransformer.py:343
↓ 1 callersMethodhighlight
Method called on each block to highlight it content
IPython/lib/demo.py:519
↓ 1 callersFunctionimport_pylab
Populate the namespace with pylab-related values. Imports matplotlib, pylab, numpy, and everything from pylab and numpy. Also import
IPython/core/pylabtools.py:330
↓ 1 callersMethodindent
with statement support for indenting/dedenting.
IPython/lib/pretty.py:160
↓ 1 callersMethodinit_alias
(self)
IPython/core/interactiveshell.py:2562
↓ 1 callersMethodinit_banner
optionally display the banner
IPython/terminal/ipapp.py:336
↓ 1 callersMethodinit_builtins
(self)
IPython/core/interactiveshell.py:828
↓ 1 callersMethodinit_checkers
Create the default checkers.
IPython/core/prefilter.py:167
↓ 1 callersMethodinit_code
run the pre-flight code, specified via exec_lines
IPython/core/shellapp.py:288
↓ 1 callersMethodinit_completer
Initialize the completion machinery. This creates completion machinery that can be used by client code, either interactively in-proce
IPython/core/interactiveshell.py:2137
← previousnext →701–800 of 3,293, ranked by callers