__init__.py
40 lines
| 1.5 KiB
| text/x-python
|
PythonLexer
|
r6956 | """Implementation of all the magic functions built into IPython. | ||
""" | ||||
#----------------------------------------------------------------------------- | ||||
|
r6972 | # Copyright (c) 2012 The IPython Development Team. | ||
|
r6956 | # | ||
# Distributed under the terms of the Modified BSD License. | ||||
# | ||||
# The full license is in the file COPYING.txt, distributed with this software. | ||||
#----------------------------------------------------------------------------- | ||||
#----------------------------------------------------------------------------- | ||||
# Imports | ||||
#----------------------------------------------------------------------------- | ||||
|
r6957 | |||
|
r6973 | from ..magic import Magics, magics_class | ||
|
r6964 | from .auto import AutoMagics | ||
|
r6960 | from .basic import BasicMagics | ||
from .code import CodeMagics, MacroToEdit | ||||
|
r6961 | from .config import ConfigMagics | ||
|
r6969 | from .deprecated import DeprecatedMagics | ||
|
r6963 | from .execution import ExecutionMagics | ||
|
r6967 | from .extension import ExtensionMagics | ||
|
r6960 | from .history import HistoryMagics | ||
|
r6966 | from .logging import LoggingMagics | ||
|
r6962 | from .namespace import NamespaceMagics | ||
|
r6965 | from .osm import OSMagics | ||
|
r6968 | from .pylab import PylabMagics | ||
|
r6957 | |||
#----------------------------------------------------------------------------- | ||||
# Magic implementation classes | ||||
#----------------------------------------------------------------------------- | ||||
|
r6973 | @magics_class | ||
|
r6957 | class UserMagics(Magics): | ||
"""Placeholder for user-defined magics to be added at runtime. | ||||
All magics are eventually merged into a single namespace at runtime, but we | ||||
use this class to isolate the magics defined dynamically by the user into | ||||
their own class. | ||||
""" | ||||