MCPcopy Create free account

hub / github.com/ipython/ipython / types & classes

Types & classes503 in github.com/ipython/ipython

↓ 29 callersClassUsageError
Error in magic function arguments, etc. Something that probably won't warrant a full traceback, but should nevertheless interrupt a macro / b
IPython/core/error.py:41
↓ 19 callersClasscapture_output
context manager for capturing stdout/err
IPython/utils/capture.py:124
↓ 18 callersClassPlainTextFormatter
The default pretty-printer. This uses :mod:`IPython.lib.pretty` to compute the format data of the object. If the object cannot be pretty prin
IPython/core/formatters.py:567
↓ 10 callersClassprepended_to_syspath
A context for prepending a directory to sys.path for a second.
IPython/utils/syspathcontext.py:42
↓ 9 callersClassShimModule
IPython/utils/shimmodule.py:53
↓ 8 callersClassAssertPrints
Context manager for testing that code prints certain text. Examples -------- >>> with AssertPrints("abc", suppress=False): ... pr
IPython/testing/tools.py:339
↓ 8 callersClassMockEvent
IPython/core/tests/test_completerlib.py:24
↓ 8 callersClassStruct
A dict subclass with attribute style access. This dict subclass has a a few extra features: * Attribute style access. * Protection of cl
IPython/utils/ipstruct.py:28
↓ 6 callersClassAssertNotPrints
Context manager for checking that certain output *isn't* produced. Counterpart of AssertPrints
IPython/testing/tools.py:387
↓ 6 callersClassCommandChainDispatcher
Dispatch calls to a chain of commands until some func can handle it Usage: instantiate, execute "add" to add commands (with optional priorit
IPython/core/hooks.py:89
↓ 6 callersClassCompletion
Completion object used and return by IPython completers. .. warning:: Unstable This function is unstable, API may change without wa
IPython/core/completer.py:347
↓ 6 callersClassHTMLFormatter
An HTML formatter. To define the callables that compute the HTML representation of your objects, define a :meth:`_repr_html_` method or use t
IPython/core/formatters.py:707
↓ 6 callersClassTryNext
Try next hook exception. Raise this in your hook function to indicate that the next hook handler should be used to handle the operation.
IPython/core/error.py:34
↓ 5 callersClassSList
List derivative with a special access attributes. These are normal lists, but with the special attributes: * .l (or .list) : value as list (
IPython/utils/text.py:87
↓ 5 callersClassTemporaryWorkingDirectory
Creates a temporary directory and sets the cwd to that directory. Automatically reverts to previous cwd upon cleanup. Usage example:
IPython/utils/tempdir.py:41
↓ 4 callersClassA
IPython/core/tests/test_interactiveshell.py:366
↓ 4 callersClassHistoryManager
A class to organize all history-related functionality in one place.
IPython/core/history.py:472
↓ 4 callersClassLineInfo
A single line of input and associated info. Includes the following as properties: line The original, raw line continue_prompt
IPython/core/splitinput.py:81
↓ 4 callersClassTk
IPython/core/tests/test_inputtransformer2.py:249
↓ 3 callersClassA
IPython/core/tests/test_completer.py:167
↓ 3 callersClassAvoidUNCPath
A context manager to protect command execution from UNC paths. In the Win32 API, commands can't be invoked with the cwd being a UNC path. Thi
IPython/utils/_process_win32.py:37
↓ 3 callersClassColorScheme
Generic color scheme class. Just a name and a Struct.
IPython/utils/coloransi.py:111
↓ 3 callersClassColorSchemeTable
General class to handle tables of color schemes. It's basically a dict of color schemes with a couple of shorthand attributes and some conven
IPython/utils/coloransi.py:126
↓ 3 callersClassDocTestFinder
IPython/testing/plugin/ipdoctest.py:86
↓ 3 callersClassDummyMagics
IPython/core/tests/test_magic.py:39
↓ 3 callersClassInteractiveShellEmbed
IPython/terminal/embed.py:110
↓ 3 callersClassLazyEvaluate
This is used for formatting strings with values that need to be updated at that time, such as the current time or working directory.
IPython/core/prompts.py:5
↓ 3 callersClassMacro
Simple class to store the value of macros as strings. Macro is just a callable that executes a string of IPython input when called.
IPython/core/macro.py:16
↓ 3 callersClassNamedFileInTemporaryDirectory
IPython/utils/tempdir.py:11
↓ 3 callersClassParser
Format colored Python source.
IPython/utils/PyColorize.py:176
↓ 3 callersClassProfileDirError
IPython/core/profiledir.py:20
↓ 3 callersClassTee
A class to duplicate an output stream to stdout/err. This works in a manner very similar to the Unix 'tee' command. When the object is close
IPython/utils/io.py:98
↓ 3 callersClasspreserve_keys
Preserve a set of keys in a dictionary. Upon entering the context manager the current values of the keys will be saved. Upon exiting, the dic
IPython/utils/contexts.py:10
↓ 2 callersClassA
IPython/core/tests/test_formatters.py:20
↓ 2 callersClassA
IPython/core/tests/test_magic.py:540
↓ 2 callersClassA
standard docstring
IPython/core/tests/test_oinspect.py:238
↓ 2 callersClassAutocallChecker
IPython/core/prefilter.py:493
↓ 2 callersClassAutoreloadMagics
IPython/extensions/autoreload.py:426
↓ 2 callersClassBadPretty
IPython/core/tests/test_formatters.py:35
↓ 2 callersClassBaseIPythonApplication
IPython/core/application.py:102
↓ 2 callersClassC
IPython/core/tests/test_formatters.py:28
↓ 2 callersClassCachingCompiler
A compiler that caches code compiled from interactive statements.
IPython/core/compilerop.py:69
↓ 2 callersClassCapturedIO
Simple object for containing captured stdout/err and rich display StringIO objects Each instance `c` has three attributes: - ``c.stdout`` :
IPython/utils/capture.py:62
↓ 2 callersClassCapturingDisplayHook
IPython/core/displayhook.py:314
↓ 2 callersClassDisplayTrap
Object to manage sys.displayhook. This came from IPython.core.kernel.display_hook, but is simplified (no callbacks or formatters) until more
IPython/core/display_trap.py:32
↓ 2 callersClassDocTestCase
Proxy for DocTestCase: provides an address() method that returns the correct address for the doctest case. Otherwise acts as a proxy to the te
IPython/testing/plugin/ipdoctest.py:196
↓ 2 callersClassDummyMod
A dummy module used for IPython's interactive module when a namespace must be assigned to the module's __dict__.
IPython/core/interactiveshell.py:278
↓ 2 callersClassEventManager
Manage a collection of events and a sequence of callbacks for each. This is attached to :class:`~IPython.core.interactiveshell.InteractiveShe
IPython/core/events.py:19
↓ 2 callersClassExecutionInfo
The arguments used for a call to :meth:`InteractiveShell.run_cell` Stores information about what is going to happen.
IPython/core/interactiveshell.py:284
↓ 2 callersClassExecutionResult
The result of a call to :meth:`InteractiveShell.run_cell` Stores information about what took place.
IPython/core/interactiveshell.py:308
↓ 2 callersClassFail
IPython/core/tests/test_hooks.py:27
↓ 2 callersClassGroup
IPython/lib/pretty.py:464
↓ 2 callersClassIOStream
IPython/utils/io.py:22
↓ 2 callersClassIPCompleter
Extension of the completer class with IPython-specific features
IPython/core/completer.py:993
↓ 2 callersClassIPDocTestRunner
Test runner that synchronizes the IPython namespace with test globals.
IPython/testing/plugin/ipdoctest.py:567
↓ 2 callersClassIPDoctestOutputChecker
Second-chance checker with support for random tests. If the default comparison doesn't pass, this checker looks in the expected output string
IPython/testing/plugin/ipdoctest.py:170
↓ 2 callersClassIPythonPTCompleter
Adaptor to provide IPython completions to prompt_toolkit
IPython/terminal/ptutils.py:84
↓ 2 callersClassInputRejected
Input rejected by ast transformer. Raise this in your NodeTransformer to indicate that InteractiveShell should not execute the supplied input
IPython/core/error.py:55
↓ 2 callersClassMyFrame
This is MyFrame. It just shows a few controls on a wxPanel, and has a simple menu.
examples/IPython Kernel/gui/gui-wx.py:17
↓ 2 callersClassObj
Namespace to hold arbitrary information.
docs/sphinxext/apigen.py:29
↓ 2 callersClassOkay
IPython/core/tests/test_hooks.py:19
↓ 2 callersClassPdb
Modified Pdb class, does not load readline. for a standalone version that uses prompt_toolkit, see `IPython.terminal.debugger.TerminalPdb` an
IPython/core/debugger.py:195
↓ 2 callersClassRepresentationPrinter
Special pretty printer that has a `pretty` method that calls the pretty printer for a python object. This class stores processing data o
IPython/lib/pretty.py:324
↓ 2 callersClassRichOutput
IPython/utils/capture.py:16
↓ 2 callersClassSerialLiar
Attribute accesses always get another copy of the same class. unittest.mock.call does something similar, but it's not ideal for testing as th
IPython/core/tests/test_oinspect.py:148
↓ 2 callersClassStrDispatch
Dispatch (lookup) a set of strings / regexps for match. Example: >>> dis = StrDispatch() >>> dis.add_s('hei',34, priority = 4) >>> d
IPython/utils/strdispatch.py:11
↓ 2 callersClassStreamCapturer
IPython/testing/iptest.py:281
↓ 2 callersClassSubClass
IPython/utils/tests/test_dir2.py:21
↓ 2 callersClassTerminalIPythonApp
IPython/terminal/ipapp.py:179
↓ 2 callersClassTestSection
IPython/testing/iptest.py:150
↓ 1 callersClassA
IPython/utils/tests/test_wildcard.py:131
↓ 1 callersClassAlias
Callable object storing the details of one alias. Instances are registered as magic functions to allow use of aliases.
IPython/core/alias.py:120
↓ 1 callersClassAliasManager
IPython/core/alias.py:192
↓ 1 callersClassApiDocWriter
Class for automatic detection and parsing of API docs to Sphinx-parsable reST format
docs/sphinxext/apigen.py:78
↓ 1 callersClassAutoFormattedTB
A traceback printer which can be called on the fly. It will find out about exceptions by itself. A brief example:: AutoTB = AutoFor
IPython/core/ultratb.py:1388
↓ 1 callersClassAutocallable
IPython/core/tests/test_handlers.py:32
↓ 1 callersClassAvoidUNCPath
A context manager to protect command execution from UNC paths. In the Win32 API, commands can't be invoked with the cwd being a UNC path. Thi
IPython/utils/_process_win32_controller.py:152
↓ 1 callersClassAwkward
IPython/core/tests/test_oinspect.py:130
↓ 1 callersClassB
IPython/core/tests/test_formatters.py:24
↓ 1 callersClassB
standard docstring
IPython/core/tests/test_oinspect.py:242
↓ 1 callersClassBackgroundJobExpr
Evaluate an expression as a background job (uses a separate thread).
IPython/lib/backgroundjobs.py:445
↓ 1 callersClassBackgroundJobFunc
Run a function call as a background job (uses a separate thread).
IPython/lib/backgroundjobs.py:468
↓ 1 callersClassBackgroundJobManager
Class to manage a pool of backgrounded threaded jobs. Below, we assume that 'jobs' is a BackgroundJobManager instance. Usage summary (se
IPython/lib/backgroundjobs.py:41
↓ 1 callersClassBadException
IPython/lib/tests/test_pretty.py:162
↓ 1 callersClassBadHTML
IPython/core/tests/test_formatters.py:243
↓ 1 callersClassBadRepr
IPython/core/tests/test_formatters.py:31
↓ 1 callersClassBadRepr
IPython/lib/tests/test_pretty.py:71
↓ 1 callersClassBadReprArgs
IPython/core/tests/test_formatters.py:353
↓ 1 callersClassBadReprMime
IPython/core/tests/test_formatters.py:526
↓ 1 callersClassBadStringIO
IPython/utils/tests/test_io.py:69
↓ 1 callersClassBase
IPython/utils/tests/test_dir2.py:5
↓ 1 callersClassBreakable
IPython/lib/pretty.py:442
↓ 1 callersClassBreaking
IPython/lib/tests/test_pretty.py:60
↓ 1 callersClassBreakingRepr
IPython/lib/tests/test_pretty.py:67
↓ 1 callersClassBuiltinTrap
IPython/core/builtin_trap.py:20
↓ 1 callersClassBunch
IPython/core/magic.py:50
↓ 1 callersClassC
IPython/core/tests/tclass.py:11
↓ 1 callersClassC
standard docstring
IPython/core/tests/test_oinspect.py:247
↓ 1 callersClassC
IPython/lib/tests/test_pretty.py:248
↓ 1 callersClassC
IPython/testing/plugin/show_refs.py:8
next →1–100 of 503, ranked by callers