MCPcopy Create free account

hub / github.com/ipython/ipython / functions

Functions3,293 in github.com/ipython/ipython

↓ 2 callersFunctiongetsource
Wrapper around inspect.getsource. This can be modified by other projects to provide customized source extraction. Parameters -------
IPython/core/oinspect.py:135
↓ 2 callersMethodgetsourcelines
(self, obj)
IPython/core/debugger.py:563
↓ 2 callersMethodhalt
Safely stop the thread.
IPython/testing/iptest.py:320
↓ 2 callersMethodhandle
Handle lines which can be auto-executed, quoting if requested.
IPython/core/prefilter.py:605
↓ 2 callersFunctionhas_binding
Safely check for PyQt4/5, PySide or PySide2, without importing submodules Parameters ---------- api : str [ 'pyqtv1' | 'pyqt'
IPython/external/qt_loaders.py:109
↓ 2 callersMethodhas_undoc_decorator
(node)
docs/sphinxext/apigen.py:47
↓ 2 callersFunctionimport_submodule
m = import_submodule(mod, subname, fullname)
IPython/lib/deepreload.py:164
↓ 2 callersMethodin_tempdir
(cls)
IPython/utils/tests/test_path.py:353
↓ 2 callersMethodinit_aliases
(self)
IPython/core/alias.py:204
↓ 2 callersMethodinit_db
Connect to the database, and create tables if necessary.
IPython/core/history.py:245
↓ 2 callersMethodkill_bg_processes
Kill all BG processes which are still running.
IPython/core/magics/script.py:261
↓ 2 callersMethodlatex_matches
u"""Match Latex syntax for unicode characters. This does both ``\\alp`` -> ``\\alpha`` and ``\\alpha`` -> ``α``
IPython/core/completer.py:1698
↓ 2 callersMethodlaunch
(self, buffer_output=False, capture_output=False)
IPython/testing/iptestcontroller.py:60
↓ 2 callersFunctionlist_bundled_profiles
list profiles that are bundled with IPython.
IPython/core/profileapp.py:109
↓ 2 callersFunctionlist_profiles_in
list profiles in a given root directory
IPython/core/profileapp.py:97
↓ 2 callersMethodload_module
Import the mirrored module, and insert it into sys.modules
IPython/utils/shimmodule.py:45
↓ 2 callersFunctionlocate_profile
Find the path to the folder associated with a given profile. I.e. find $IPYTHONDIR/profile_whatever.
IPython/paths.py:108
↓ 2 callersMethodlsmagic
Return a dict of currently available magic functions. The return dict has the keys 'line' and 'cell', corresponding to the two types
IPython/core/magic.py:345
↓ 2 callersMethodmagic_aimport
(self, parameter, stream=None)
IPython/extensions/tests/test_autoreload.py:61
↓ 2 callersFunctionmain
()
IPython/testing/iptestcontroller.py:463
↓ 2 callersMethodmarquee
Return the input string centered in a 'marquee'.
IPython/lib/demo.py:507
↓ 2 callersFunctionmatch_dict_keys
Used by dict_key_matches, matching the prefix to a list of keys Parameters ========== keys: list of keys in dictionary currently
IPython/core/completer.py:746
↓ 2 callersFunctionmodule_list
Return the list containing the names of the modules available in the given folder.
IPython/core/completerlib.py:67
↓ 2 callersFunctionname
(c)
docs/autogen_shortcuts.py:5
↓ 2 callersMethodnew_main_mod
Return a new 'main' module object for user code execution. ``filename`` should be the path of the script which will be run in the
IPython/core/interactiveshell.py:1087
↓ 2 callersMethodofind
Do a full, attribute-walking lookup of the ifun in the various namespaces for the given IPython InteractiveShell instance. Return a d
IPython/core/splitinput.py:121
↓ 2 callersMethodoutput
(self, stream, output_width)
IPython/lib/pretty.py:432
↓ 2 callersMethodparse_command_line
(self, argv=None)
IPython/core/profileapp.py:125
↓ 2 callersMethodpost_execute_hook
Cache the modification times of any modules imported in this execution
IPython/extensions/autoreload.py:533
↓ 2 callersFunctionpprint
Like `pretty` but print to stdout.
IPython/lib/pretty.py:147
↓ 2 callersMethodprepare_chained_exception_message
(self, cause)
IPython/core/ultratb.py:544
↓ 2 callersFunctionprint_figure
Print a figure to an image, and return the resulting file data Returned data will be bytes unless ``fmt='svg'``, in which case it will be
IPython/core/pylabtools.py:97
↓ 2 callersMethodprint_list_lines
The printing (as opposed to the parsing part of a 'list' command.
IPython/core/debugger.py:487
↓ 2 callersMethodprocess_input_lines
process the input, capturing stdout
IPython/sphinxext/ipython_directive.py:396
↓ 2 callersMethodprompt
()
IPython/terminal/interactiveshell.py:288
↓ 2 callersFunctionpublish_display_data
Publish data and metadata to all frontends. See the ``display_data`` message in the messaging documentation for more details about this messa
IPython/core/display.py:81
↓ 2 callersFunctionread_no_interrupt
Read from a pipe ignoring EINTR errors. This is necessary because when reading from pipes with GUI event loops running in the background, oft
IPython/utils/_process_common.py:28
↓ 2 callersFunctionreal_name
Find the real name of the magic.
IPython/core/magic_arguments.py:167
↓ 2 callersFunctionreformat_text_before_cursor
(buffer, document, shell)
IPython/terminal/shortcuts.py:98
↓ 2 callersMethodregister_alias
Register an alias to a magic function. The alias is an instance of :class:`MagicAlias`, which holds the name and kind of the magic it
IPython/core/magic.py:447
↓ 2 callersMethodregister_function
Expose a standalone function as magic function for IPython. This will create an IPython magic (line, cell or both) from a standalone
IPython/core/magic.py:413
↓ 2 callersMethodrerun_pasted
Rerun a previously pasted command.
IPython/terminal/magics.py:65
↓ 2 callersMethodreset
(self)
IPython/lib/lexers.py:332
↓ 2 callersFunctionrestore_aliases
(ip, alias=None)
IPython/extensions/storemagic.py:23
↓ 2 callersFunctionrestore_data
(ip)
IPython/extensions/storemagic.py:53
↓ 2 callersMethodretrieve_alias
Retrieve the command to which an alias expands.
IPython/core/alias.py:252
↓ 2 callersFunctionround_hour
(dt)
tools/github_stats.py:35
↓ 2 callersMethodrun
(self)
IPython/core/history.py:822
↓ 2 callersMethodrun_cell_async
Run a complete IPython cell asynchronously. Parameters ---------- raw_cell : str The code (including IPython code s
IPython/core/interactiveshell.py:2974
↓ 2 callersFunctionrun_iptestall
Run the entire IPython test suite by calling nose and trial. This function constructs :class:`IPTester` instances for all IPython modules and
IPython/testing/iptestcontroller.py:286
↓ 2 callersMethodrun_tmpfile
(self)
IPython/core/tests/test_run.py:172
↓ 2 callersMethodsafe_execfile_ipy
Like safe_execfile, but for .ipy or .ipynb files with IPython syntax. Parameters ---------- fname : str The name
IPython/core/interactiveshell.py:2763
↓ 2 callersMethodsafe_run_module
A safe version of runpy.run_module(). This version will never throw an exception, but instead print helpful error messages to the scr
IPython/core/interactiveshell.py:2822
↓ 2 callersMethodsave
Save a set of lines or a macro to a given filename. Usage:\\ %save [options] filename n1-n2 n3-n4 ... n5 .. n6 ... Options
IPython/core/magics/code.py:182
↓ 2 callersFunctionselect_figure_formats
Select figure formats for the inline backend. Parameters ========== shell : InteractiveShell The main IPython instance. forma
IPython/core/pylabtools.py:209
↓ 2 callersMethodsetUp
(self)
IPython/core/tests/test_interactiveshell.py:567
↓ 2 callersMethodset_colors
Shorthand access to the color table scheme selector method.
IPython/core/debugger.py:285
↓ 2 callersMethodset_next_input
Sets the 'default' input string for the next command line. Example:: In [1]: _ip.set_next_input("Hello Word") In [2
IPython/core/interactiveshell.py:2119
↓ 2 callersFunctionset_term_title
Set terminal title using the necessary platform-dependent calls.
IPython/utils/terminal.py:108
↓ 2 callersFunctionsh
Run system command in shell, raise SystemExit if it returns an error.
tools/toollib.py:27
↓ 2 callersMethodshould_run_async
Return whether a cell should be run asynchronously via a coroutine runner Parameters ---------- raw_cell: str The
IPython/core/interactiveshell.py:2931
↓ 2 callersMethodshow_banner
(self, banner=None)
IPython/core/interactiveshell.py:987
↓ 2 callersFunctionskip
Decorator factory - mark a test function for skipping from test suite. Parameters ---------- msg : string Optional message to b
IPython/testing/decorators.py:234
↓ 2 callersMethodsort_checkers
Sort the checkers by priority. This must be called after the priority of a checker is changed. The :meth:`register_checker` method ca
IPython/core/prefilter.py:175
↓ 2 callersFunctionsource_to_unicode
Converts a bytes string with python source code to unicode. Unicode strings are passed through unchanged. Byte strings are checked for the py
IPython/utils/openpy.py:16
↓ 2 callersMethodsplit_line
Split a line of text with a cursor at the given position.
IPython/core/completer.py:559
↓ 2 callersMethodstore_output
If database output logging is enabled, this saves all the outputs from the indicated prompt number to the database. It's called by run
IPython/core/history.py:741
↓ 2 callersFunctionstrip_encoding_cookie
Generator to pull lines from a text-mode file, skipping the encoding cookie if it is found in the first two lines.
IPython/utils/openpy.py:42
↓ 2 callersMethodswitch_log
Switch logging on/off. val should be ONLY a boolean.
IPython/core/logger.py:129
↓ 2 callersMethodtest_exit_code_signal
(self)
IPython/core/tests/test_interactiveshell.py:545
↓ 2 callersFunctiontimings_out
timings_out(reps,func,*args,**kw) -> (t_total,t_per_call,output) Execute a function reps times, return a tuple with the elapsed total CPU tim
IPython/utils/timing.py:70
↓ 2 callersMethoduser_expressions
Evaluate a dict of expressions in the user's namespace. Parameters ---------- expressions : dict A dict with string
IPython/core/interactiveshell.py:2651
↓ 2 callersMethodvalidate
(self, output)
IPython/core/tests/test_profile.py:104
↓ 2 callersMethodwrite
(self,data)
IPython/utils/io.py:51
↓ 2 callersMethodwritelines
(self, lines)
IPython/utils/io.py:67
↓ 2 callersMethodwriteout_cache
Overridden by HistoryManager to dump the cache before certain database lookups.
IPython/core/history.py:270
↓ 1 callersMethodClose
(self)
IPython/utils/tests/test_path.py:176
↓ 1 callersMethodRun
(self, time, input_is_ready)
IPython/terminal/pt_inputhooks/wx.py:62
↓ 1 callersMethodRun
(self, time)
IPython/lib/inputhookwx.py:68
↓ 1 callersMethod__call__
(self, etype, value, elist)
IPython/core/ultratb.py:622
↓ 1 callersMethod__class__
(self)
IPython/lib/tests/test_pretty.py:169
↓ 1 callersMethod__dict_invert
Helper function for merge. Takes a dictionary whose values are lists and returns a dict with the elements of each list as keys and th
IPython/utils/ipstruct.py:217
↓ 1 callersMethod__enter__
(self)
IPython/core/tests/test_debugger.py:51
↓ 1 callersMethod__exit__
(self, *exc)
IPython/core/tests/test_debugger.py:55
↓ 1 callersMethod__init__
Create a new InputSplitter instance.
IPython/core/inputsplitter.py:330
↓ 1 callersMethod__init__
(self, shell, name, cmd)
IPython/core/alias.py:129
↓ 1 callersMethod__init__
(self, shell=None, **kwargs)
IPython/core/magic.py:509
↓ 1 callersMethod__init__
(self, raw_cell, store_history, silent, shell_futures)
IPython/core/interactiveshell.py:294
↓ 1 callersMethod__init__
(self, **kwds)
IPython/core/magic_arguments.py:268
↓ 1 callersMethod__init__
Create a new completer for the command line. Completer(namespace=ns, global_namespace=ns2) -> completer instance. If unspecified, th
IPython/core/completer.py:600
↓ 1 callersMethod__init__
(self, func)
IPython/core/inputtransformer.py:123
↓ 1 callersMethod__init__
(self, loops, repeat, best, worst, all_runs, compile_time, precision)
IPython/core/magics/execution.py:79
↓ 1 callersMethod__init__
Must be implemented in subclasses. Subclasses must call :meth:`_init` for standard initialisation.
IPython/lib/backgroundjobs.py:381
↓ 1 callersMethod__init__
(self, obj)
IPython/extensions/autoreload.py:353
↓ 1 callersMethod__init__
(self)
IPython/testing/iptestcontroller.py:47
↓ 1 callersMethod__init__
(self, **kwargs)
docs/sphinxext/apigen.py:31
↓ 1 callersMethod__repr__
(self)
IPython/core/display.py:809
↓ 1 callersMethod__setitem__
Set an item with check for allownew. Examples -------- >>> s = Struct() >>> s['a'] = 10 >>> s.allow_new_attr
IPython/utils/ipstruct.py:66
↓ 1 callersMethod__str__
(self)
IPython/core/magics/execution.py:98
↓ 1 callersFunction_access_check
(fn, mode)
IPython/utils/py3compat.py:93
← previousnext →401–500 of 3,293, ranked by callers