MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

↓ 3 callersMethod_data_and_metadata
shortcut for returning metadata with shape information, if defined
IPython/core/display.py:1290
↓ 3 callersMethod_exec_file
(self, fname, shell_futures=False)
IPython/core/shellapp.py:326
↓ 3 callersFunction_find_assign_op
Get the index of the first assignment in the line ('=' not inside brackets) Note: We don't try to support multiple special assignment (a = b = %f
IPython/core/inputtransformer2.py:106
↓ 3 callersMethod_get_index
Get the current block index, validating and checking status. Returns None if the demo is finished
IPython/lib/demo.py:346
↓ 3 callersFunction_get_wrapped
Get the original object if wrapped in one or more @decorators Some objects automatically construct similar objects on any unrecognised attrib
IPython/core/oinspect.py:269
↓ 3 callersFunction_make_help_call
Prepares a pinfo(2)/psearch call from a target name and the escape (i.e. ? or ??)
IPython/core/inputtransformer2.py:302
↓ 3 callersMethod_object_find
Find an object and return a struct with info about it.
IPython/core/interactiveshell.py:1739
↓ 3 callersFunction_repr_pprint
A pprint that just redirects to the normal repr function.
IPython/lib/pretty.py:697
↓ 3 callersMethod_run_sql
Prepares and runs an SQL query for the history database. Parameters ---------- sql : str Any filtering expressions
IPython/core/history.py:278
↓ 3 callersFunction_should_be_async
Detect if a block of code need to be wrapped in an `async def` Attempt to parse the block of code, it it compile we're fine. Otherwise we wr
IPython/core/async_helpers.py:141
↓ 3 callersMethodactivate
Store ipython references in the __builtin__ namespace.
IPython/core/builtin_trap.py:72
↓ 3 callersFunctionask_yes_no
Asks a question and returns a boolean (y/n) answer. If default is given (one of 'y','n'), it is used if the user input is empty. If interrupt
IPython/utils/io.py:157
↓ 3 callersFunctionassemble_continued_line
r"""Assemble a single line from multiple continued line pieces Continued lines are lines ending in ``\``, and the line following the last ``\
IPython/core/inputtransformer2.py:134
↓ 3 callersMethodast_parse
Parse code to an AST with the current compiler flags active. Arguments are exactly the same as ast.parse (in the standard library), a
IPython/core/compilerop.py:96
↓ 3 callersFunctioncast_unicode
(s, encoding=None)
IPython/utils/py3compat.py:26
↓ 3 callersMethodcd
Change the current working directory. This command automatically maintains an internal list of directories you visit during your IPyt
IPython/core/magics/osm.py:301
↓ 3 callersMethodcheck
Check whether some modules need to be reloaded.
IPython/extensions/autoreload.py:209
↓ 3 callersFunctioncheck_version
check version string v >= check If dev/prerelease tags result in TypeError for string-number comparison, it is assumed that the dependency is
IPython/utils/version.py:25
↓ 3 callersMethodcleanup
(self)
IPython/utils/tempdir.py:28
↓ 3 callersMethodclear_aliases
(self)
IPython/core/alias.py:248
↓ 3 callersFunctioncreate_ipython_shortcuts
Set up the prompt_toolkit keyboard shortcuts for IPython
IPython/terminal/shortcuts.py:31
↓ 3 callersMethodcreate_profile_dir_by_name
Create a profile dir by profile name and path. Parameters ---------- path : unicode The path (directory) to put t
IPython/core/profiledir.py:165
↓ 3 callersMethoddebugger
Call up the pdb debugger if desired, always clean up the tb reference. Keywords: - force(False): by default, this routine
IPython/core/ultratb.py:1228
↓ 3 callersFunctiondecode
(s, encoding=None)
IPython/utils/py3compat.py:17
↓ 3 callersMethodenable
DEPRECATED since IPython 5.0 Enable event loop integration with wxPython. Parameters ---------- app : WX Application
IPython/lib/inputhook.py:338
↓ 3 callersFunctionencode
(u, encoding=None)
IPython/utils/py3compat.py:21
↓ 3 callersMethodend_session
Close the database session, filling in the end time and line count.
IPython/core/history.py:572
↓ 3 callersFunctioneval_formatter_check
(f)
IPython/utils/tests/test_text.py:96
↓ 3 callersFunctionexception_colors
Return a color table with fields for exception reporting. The table is an instance of ColorSchemeTable with schemes added for 'Neutral', 'Lin
IPython/core/excolors.py:18
↓ 3 callersFunctionfind_end_of_continued_line
Find the last line of a line explicitly extended using backslashes. Uses 0-indexed line numbers.
IPython/core/inputtransformer2.py:122
↓ 3 callersMethodfind_magic
Find and return a magic of the given type by name. Returns None if the magic isn't found.
IPython/core/interactiveshell.py:2396
↓ 3 callersMethodget_alias
Return an alias, or None if no alias by that name exists.
IPython/core/alias.py:233
↓ 3 callersMethodget_exception_only
Return as a string (ending with a newline) the exception that just occurred, without any traceback.
IPython/core/interactiveshell.py:1998
↓ 3 callersFunctionget_ipython_cmd
Return appropriate IPython command line name. By default, this will return a list that can be used with subprocess.Popen, for example, but pa
IPython/testing/tools.py:151
↓ 3 callersFunctionget_pull_request
get pull request info by number
tools/gh_api.py:107
↓ 3 callersFunctionget_terminal_size
(defaultx=80, defaulty=25)
IPython/utils/terminal.py:128
↓ 3 callersMethodglobal_matches
Compute matches when text is a simple name. Return a list of all keywords, built-in functions and names currently defined in self.nam
IPython/core/completer.py:653
↓ 3 callersMethodhidden_frames
Given an index in the stack return wether it should be skipped. This is used in up/down and where to skip frames.
IPython/core/debugger.py:291
↓ 3 callersMethodin_prompt_tokens
(self)
IPython/terminal/prompts.py:29
↓ 3 callersMethodinit
(self, startup_file, startup, test)
IPython/core/tests/test_profile.py:96
↓ 3 callersMethodinit_config_files
[optionally] copy default config files into profile dir.
IPython/core/application.py:407
↓ 3 callersFunctionipshell
()
examples/Embedding/embed_class_short.py:45
↓ 3 callersFunctionis_pull_request
Return True if the given issue is a pull request.
tools/gh_api.py:191
↓ 3 callersFunctionis_simple_callable
True if obj is a function ()
IPython/core/oinspect.py:194
↓ 3 callersMethodlog_write
Write data to the log file, if active
IPython/core/logger.py:187
↓ 3 callersMethodmainloop
Embeds IPython into a running python program. Parameters ---------- local_ns, module Working local namespace (a di
IPython/terminal/embed.py:240
↓ 3 callersFunctionmarquee
Return the input string centered in a 'marquee'. Examples -------- :: In [16]: marquee('A test',40) Out[16]: '**********
IPython/utils/text.py:312
↓ 3 callersFunctionmatch_pyfiles
(f1, f2)
IPython/core/tests/test_oinspect.py:58
↓ 3 callersMethodmerge
Merge two Structs with customizable conflict resolution. This is similar to :meth:`update`, but much more flexible. First, a dict is
IPython/utils/ipstruct.py:273
↓ 3 callersFunctionmodule_completion
Returns a list containing the completion possibilities for an import line. The line looks like this : 'import xml.d' 'from xml.dom i
IPython/core/completerlib.py:210
↓ 3 callersMethodnew_session
Get a new session number.
IPython/core/history.py:562
↓ 3 callersMethodobject_inspect
Get object info about oname
IPython/core/interactiveshell.py:1766
↓ 3 callersFunctionpasswd
Generate hashed password and salt for use in notebook configuration. In the notebook configuration, set `c.NotebookApp.password` to the gener
IPython/lib/security.py:28
↓ 3 callersFunctionpasswd_check
Verify that a given passphrase matches its hashed version. Parameters ---------- hashed_passphrase : str Hashed password, in the
IPython/lib/security.py:73
↓ 3 callersMethodreload_extension
Reload an IPython extension by calling reload. If the module has not been loaded before, :meth:`InteractiveShell.load_extension` is c
IPython/core/extensions.py:112
↓ 3 callersFunctionreplace_import_hook
(new_import)
IPython/lib/deepreload.py:41
↓ 3 callersMethodreset
Reset the input buffer and associated state.
IPython/core/inputsplitter.py:602
↓ 3 callersFunctionrun
Loop through a list of (pre, post) inputs, where pre is the string handed to ipython, and post is how that string looks after it's been transf
IPython/core/tests/test_handlers.py:37
↓ 3 callersMethodrun
(self)
setupbase.py:310
↓ 3 callersMethodsafe_execfile
A safe version of the builtin execfile(). This version will never throw an exception, but instead print helpful error messages to the
IPython/core/interactiveshell.py:2695
↓ 3 callersFunctionskipif
Make function raise SkipTest exception if skip_condition is true Parameters ---------- skip_condition : bool or callable Flag to
IPython/testing/decorators.py:160
↓ 3 callersMethodsoft_define_alias
Define an alias, but don't raise on an AliasError.
IPython/core/alias.py:216
↓ 3 callersMethodtransform
Transform a help command found by the ``find()`` classmethod.
IPython/core/inputtransformer2.py:442
↓ 3 callersMethodtransform_ast
Apply the AST transformations from self.ast_transformers Parameters ---------- node : ast.Node The root nod
IPython/core/interactiveshell.py:3194
↓ 3 callersFunctiontry_import
Try to import given module and return list of potential completions.
IPython/core/completerlib.py:158
↓ 3 callersMethodunload_extension
Unload an IPython extension by its module name. This function looks up the extension's name in ``sys.modules`` and simply calls ``mod
IPython/core/extensions.py:92
↓ 3 callersFunctionupdate_generic
(a, b)
IPython/extensions/autoreload.py:344
↓ 3 callersFunctionvalidate_type
Ensure that the given magic_kind is valid. Check that the given magic_kind is one of the accepted spec types (stored in the global `magic_spe
IPython/core/magic.py:135
↓ 3 callersMethodwriteout_cache
Write any entries in the cache to the database.
IPython/core/history.py:773
↓ 2 callersFunctionC
get an ObjC Class by name
IPython/terminal/pt_inputhooks/osx.py:33
↓ 2 callersFunction_NSApp
Return the global NSApplication instance (NSApp)
IPython/terminal/pt_inputhooks/osx.py:78
↓ 2 callersMethod__format_line
(self, tpl_line, filename, lineno, line, arrow = False)
IPython/core/debugger.py:456
↓ 2 callersMethod__head
Return a header string with proper colors.
IPython/core/oinspect.py:378
↓ 2 callersMethod__init__
Create a new history manager associated with a shell instance.
IPython/core/history.py:532
↓ 2 callersMethod__init__
(self, **options)
IPython/lib/lexers.py:511
↓ 2 callersMethod__init__
(self)
IPython/lib/pretty.py:863
↓ 2 callersMethod__init__
(self,obj)
IPython/testing/plugin/ipdoctest.py:75
↓ 2 callersMethod__repr__
(self)
IPython/core/tests/test_magic.py:543
↓ 2 callersFunction_adjust_completion_text_based_on_context
(text, body, offset)
IPython/terminal/ptutils.py:77
↓ 2 callersFunction_asyncify
wrap code in async def definition. And setup a bit of context to run it later.
IPython/core/async_helpers.py:78
↓ 2 callersMethod_break_one_group
(self, group)
IPython/lib/pretty.py:199
↓ 2 callersMethod_break_outer_groups
(self)
IPython/lib/pretty.py:209
↓ 2 callersMethod_call_load_ipython_extension
(self, mod)
IPython/core/extensions.py:132
↓ 2 callersMethod_check_smoketest
Functional test for the automatic reloader using either '%autoreload 1' or '%autoreload 2'
IPython/extensions/tests/test_autoreload.py:255
↓ 2 callersFunction_deduplicate_completions
Deduplicate a set of completions. .. warning:: Unstable This function is unstable, API may change without warning. Parameters
IPython/core/completer.py:410
↓ 2 callersMethod_default_arguments_from_docstring
Parse the first line of docstring for call signature. Docstring should be of the form 'min(iterable[, key=func])\n'. It can also pars
IPython/core/completer.py:1430
↓ 2 callersMethod_extra_prompt_options
Return the current layout option for the current Terminal InteractiveShell
IPython/terminal/interactiveshell.py:411
↓ 2 callersMethod_find_edit_target
Utility method used by magic_edit to find what to edit.
IPython/core/magics/code.py:380
↓ 2 callersFunction_format_time
Formats the timespan in a human readable form
IPython/core/magics/execution.py:1475
↓ 2 callersMethod_gc_bg_processes
(self)
IPython/core/magics/script.py:293
↓ 2 callersMethod_get_display_formatter
generate built-in formatter function this is used to define both the notebook and terminal built-in formatters as they only d
IPython/lib/display.py:490
↓ 2 callersMethod_get_info
Retrieve an info dict and format it. Parameters ========== obj: any Object to inspect and return info from
IPython/core/oinspect.py:569
↓ 2 callersFunction_get_inline_config
()
IPython/core/tests/test_display.py:137
↓ 2 callersMethod_get_lexer
(self)
IPython/lib/display.py:630
↓ 2 callersFunction_get_mro
Get a reasonable method resolution order of a class and its superclasses for both old-style and new-style classes.
IPython/lib/pretty.py:305
↓ 2 callersMethod_get_normalization_factor
(max_abs_value, normalize)
IPython/lib/display.py:197
↓ 2 callersMethod_get_ry_syntax_errors
(self)
IPython/core/tests/test_async_helpers.py:115
↓ 2 callersMethod_get_top_level_cases
(self)
IPython/core/tests/test_async_helpers.py:34
↓ 2 callersMethod_getdef
Return the call signature for any callable object. If any exception is generated, None is returned instead and the exception is suppr
IPython/core/oinspect.py:368
↓ 2 callersMethod_group_report
Report summary for a given job group. Return True if the group had any elements.
IPython/lib/backgroundjobs.py:244
← previousnext →201–300 of 3,293, ranked by callers